Base64 represents data using 64 safe ASCII characters so it can travel through channels that only accept text — data URIs, email, JSON fields, JWT parts. This tool encodes text to Base64 and decodes it back, with full UTF-8 support, entirely in your browser.
How to use it
- Type or paste your text.
- Choose Encode or Decode.
- The result appears instantly.
- Click Copy to copy it.
About Base64 Encode / Decode
Base64 is not encryption — it provides no security, only text-safe transport. A common need is encoding a small file as a data URI to embed in HTML or CSS, or decoding a Base64 string from a config, an API response, or a JWT segment. Because Base64 inflates size by about a third, it is used for convenience rather than efficiency. This converter handles Unicode through UTF-8 so emoji and non-Latin scripts round-trip cleanly, all locally.
FAQ
Is Base64 encryption?
No. It is encoding, not encryption. Anyone can decode it. Never use it to hide secrets.
Why does encoded text get longer?
Base64 turns every 3 bytes into 4 characters, so output is about 33% larger. That is the cost of text-safe transport.
Does it support emoji?
Yes. It encodes through UTF-8, so Unicode including emoji encodes and decodes correctly.