Base64 encode / decode
Encode and decode UTF-8 text with Base64.
About this tool
Encode text to Base64 or decode it back, instantly and locally. Base64 is how binary-unsafe channels like email headers and data URLs carry arbitrary data.
Why use it
- Two-way conversion without a round trip to any server.
- Handles full Unicode text correctly, not just ASCII.
- Copy the result with a single click.
Common use cases
- Decode a Base64 token to read what it contains.
- Encode a small payload to embed in a URL or config.
- Inspect the encoded part of a data URI.
Tips
- Base64 is encoding, not encryption — it hides nothing on its own.
- Encoded output is about a third larger than the original text.
How to use
- Paste text.
- Choose Encode or Decode.
- Copy the output.
FAQ
- What does Base64 encoding do?
- It turns binary or text data into a safe ASCII string that can travel through systems that only handle text.
- Can I both encode and decode?
- Yes, paste plain text to encode it, or paste a Base64 string to decode it back.
- Is my data sent to a server?
- No. Encoding and decoding run in your browser, so your text stays private.
- Is Base64 a form of encryption?
- No. It only changes the representation; anyone can decode it, so never use it to protect secrets.
- Why is the encoded text longer?
- Base64 represents every 3 bytes as 4 characters, adding about a third to the size.
- Does it handle Unicode text?
- Yes, text is treated as UTF-8 so emoji and non-Latin characters encode correctly.