🔐 Base64 Encode / Decode
Base64 turns any text into a safe ASCII string for embedding in URLs, JSON, emails and data URIs. Pick Encode to convert your text, or Decode to turn a Base64 string back into readable text.
Everything runs locally in your browser with proper Unicode handling, so accented characters and emoji survive the round trip — and your text never leaves your device.
How to use this calculator
Paste text into the box, choose Encode or Decode, and the result appears instantly. Encoding is Unicode-safe, and everything runs in your browser.
- Paste or type your text into the Text box.
- Choose Encode to Base64 or Decode from Base64.
- Copy the result from the output area.
- For decoding, make sure the input is valid Base64 or you will get an error message.
Frequently asked questions
What does this Base64 tool do?
In Encode mode it converts any text into a Base64 string safe for URLs, JSON, emails and data URIs. In Decode mode it turns a Base64 string back into readable text.
Does it handle emoji and accented characters?
Yes. The encoder first converts text to UTF-8 bytes and the decoder reverses that, so characters like cafe with an accent or emoji survive the round trip intact.
Can you give a worked example?
Encoding the text Hello, World! produces SGVsbG8sIFdvcmxkIQ==. Decoding that string returns Hello, World! exactly.
Is my text uploaded anywhere?
No. The conversion runs entirely in your browser with built-in browser functions, so nothing you paste ever leaves your device.