Base64 Encoder / Decoder
Encode and decode Base64 (plain and URL-safe) right in your browser.
Paste, drop a file, or .
How to use base64 encoder / decoder
- 1Paste
Text to encode, or a Base64 string to decode.
- 2Pick direction
Encode or Decode. Toggle URL-safe if your token uses -_.
Frequently asked questions
- Why Base64?
- Safely transport binary data over text-only channels like HTTP headers and JSON.
- Does this handle Unicode?
- Yes — we encode via UTF-8 bytes, not the broken btoa/atob shortcut.