Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text, right in your browser. Full Unicode (UTF-8) support, instant results, and nothing ever uploaded.
How to use it
- 1Choose encode or decode
Pick whether you’re turning text into Base64 or Base64 back into text.
- 2Enter your data
Type or paste into the input; the output updates as you go.
- 3Copy the result
Copy the encoded or decoded value with one click.
What Base64 is for
Base64 represents binary or text data using only safe ASCII characters, which makes it handy for embedding data in JSON, data URIs, config files and email. It isn’t encryption — anyone can decode it — just a transport-safe encoding.
Unicode done right
The built-in btoa/atob functions only handle Latin-1, so multi-byte characters break. This tool encodes through UTF-8 bytes, so emoji and non-Latin scripts round-trip perfectly.
Frequently asked questions
Is my data uploaded anywhere?
No. Encoding and decoding happen entirely in your browser; nothing leaves your device.
Does it support emoji and non-English text?
Yes. Text is encoded through UTF-8, so emoji and any language round-trip correctly.
Is Base64 secure?
No — Base64 is an encoding, not encryption. Anyone can decode it, so use it for transport, not secrecy.
Why does decoding sometimes fail?
The input must be valid Base64. Stray characters or truncated data will cause an error — paste the complete, unmodified string.
Related tools
URL Encoder
Encode or decode URLs and query parameters in your browser. Percent-encode a single component or a whole URL and copy the result — nothing is sent to a server.
Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text in your browser with the Web Crypto API. Copy the hex digest — nothing is sent to a server.
JSON Formatter
Format, minify and validate JSON in your browser with precise error locations. Fast, private and free — your data never leaves your device.