Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text instantly. Free online Base64 encoder and decoder — runs entirely in your browser.
Type in either box — the other updates live. UTF-8 safe, so emoji and non-Latin text encode correctly.
About the Base64 Encoder / Decoder
Base64 turns bytes into a text-safe format you can drop into URLs, JSON, cookies, and email. This tool encodes and decodes in real time, using UTF-8 so accented characters and emoji round-trip correctly. Everything runs in your browser — nothing is uploaded.
Common use cases
- Data URIs: inline small images or fonts as base64.
- Tokens & headers: read or build base64-encoded values.
- Debugging: decode a base64 blob to see what’s inside.
How it works
- Type plain text on the left to see its base64 on the right.
- Or paste base64 on the right to decode it on the left.
- Copy whichever side you need.
Frequently asked questions
Why does base64 look longer than my text?
Base64 represents every 3 bytes as 4 characters, so encoded output is about 33% larger than the input.
Is my text uploaded?
No. Encoding and decoding happen locally in your browser — your text never leaves your device.