Base64 Encoder and Decoder
Turn text into Base64 and back, including URL-safe Base64.
Loading the tool on your device…
Base64 writes any text using only letters, digits and a few signs, so it survives email, URLs and config files. This tool encodes and decodes UTF-8 text, so accents and emoji come back intact, and reads the URL-safe variant too.
Updated 7 December 2026 · runs in your browser
How to use it
- Choose Encode or Decode.
- Type or paste your text.
- Copy the result, or swap it back to check.
Details
| Text encoding | UTF-8, so accents and emoji round-trip |
|---|---|
| Variants read | Standard and URL-safe, with or without = padding |
| Also accepted | Line breaks and a data: prefix |
Questions
Do my files leave my computer?
No. This tool runs inside your browser tab. The page makes no network request with your data, and you can check that yourself in your browser's developer tools.
Is Base64 a way to hide or protect data?
No. Anyone can decode it in a second. It only changes how data is written, so never use it to protect a password or a secret.
Related tools
- URL Encoder and Decoder
Encode text for a web address, or make an encoded link readable.
- Hash Generator
Get the MD5, SHA-1 and SHA-256 of text or a file, and check a download.
- JWT Decoder
Read a JSON Web Token's header, claims and expiry.