Got My Tools

Base64 Encode / Decode

Encode text to Base64, or decode a Base64 string back to readable text.

Result

Handles full UTF-8 text (emoji, accents, non-Latin scripts) — everything runs in your browser.

Frequently asked questions

Does this handle emoji and non-English text?+

Yes — text is encoded as UTF-8 first, so accented letters, emoji, and non-Latin scripts round-trip correctly (plain btoa()/atob() alone can't do this).

What is the URL-safe alphabet option for?+

Standard Base64 uses + and / and pads with =, which aren't safe to put directly in a URL or filename. The URL-safe variant swaps those for - and _ and drops padding.

Is this the same as encryption?+

No — Base64 is just a reversible encoding, not encryption. Anyone can decode it; don't use it to hide secrets.