Base64 Encoder & Decoder
Encode text to Base64 or decode it back, with full Unicode support.
Runs in your browser using TextEncoder + btoa — nothing is uploaded
How to use it
- Paste text to encode, or Base64 to decode.
- Switch direction with the buttons. Use URL-safe if the result goes in a URL.
Questions
Is Base64 encryption?
No. It is an encoding, fully reversible by anyone. It makes binary data safe to put in text, and provides no secrecy whatsoever.
Why do other tools mangle accented characters?
The browser’s btoa only accepts single-byte values, so naive tools corrupt anything outside Latin-1. This tool converts to UTF-8 bytes first, so emoji and every alphabet round-trip correctly.
What is URL-safe Base64?
It replaces + with - and / with _, and drops the = padding, so the result can be used in a URL or filename without escaping.