ASCII text
Before
Hello
After
SGVsbG8=
Encode plain text—including Unicode emoji—into Base64 for data URLs, JWT payloads, and API fields that require ASCII-safe strings.
Base64 Encode
Text is encoded to Base64 instantly.
Your text stays in your browser — nothing is uploaded.
Plain text
Hello, 世界!
Base64
SGVsbG8sIOS4lueVjCE=
Before
Hello
After
SGVsbG8=
Before
café
After
Y2Fmw6k=
Before
admin:secret
After
YWRtaW46c2VjcmV0
Before
{"ok":true}
After
eyJvaSI6dHJ1ZX0=
Base64 Encode represents binary UTF-8 bytes as ASCII characters using the Base64 alphabet plus optional padding equals signs. It is the standard way to embed small text blobs in JSON, XML, email MIME parts, and configuration files that only accept printable ASCII. Decode results with Base64 Decode or chain to URL Encode for transport-safe strings.
Creating data URI snippets for inline SVG or small images
Encoding credentials or tokens for HTTP Basic auth examples
Preparing text fields in API test collections
Embedding Unicode in systems limited to ASCII transport
Paste UTF-8 text into the input area.
Copy the Base64 output from the panel.
Use the encoded string in JSON, headers, or dat…
Switch to Base64 Decode to verify round-trip ac…
Creating data URI snippets for inline SVG or sm…
Encoding credentials or tokens for HTTP Basic a…
Preparing text fields in API test collections
Embedding Unicode in systems limited to ASCII t…
All processing runs locally in your browser. Results may vary with edge-case characters or very large inputs.
No. Base64 is encoding—anyone can decode it. Do not treat it as secrecy.
Encoding runs in your browser; source text never leaves your device.
Padding aligns bit groups; some outputs omit padding but decode the same.
Yes. UTF-8 bytes encode fully, including multi-byte emoji characters.