Developer & Web Tools

Base64 Encoder & Decoder

Encode text to Base64 or decode it back. Full Unicode support, plus URL-safe output.

Privacy

Everything on this page runs inside your browser. Nothing you paste, type or upload is transmitted, logged or stored.

Tips

  • Base64 is encoding, not encryption. Anyone can decode it — never use it to hide a password or key.
  • It inflates data by roughly 33%, which is why inlining large images as data URIs often makes pages slower.
  • The URL-safe variant swaps + and / for - and _ so the result survives being placed in a URL or filename.

Frequently asked questions

Why does my non-English text break in other Base64 tools?

Many tools call btoa() directly, which only handles Latin-1. This one converts to UTF-8 first, so accents, CJK characters and emoji round-trip correctly.

Related tools