Base64 Encoder / Decoder

Base64, both directions.

Encode text to Base64 or decode it back — emoji and non-Latin scripts included, correctly.

Last updated 23 August 2026

What Base64 is (and isn't)

Base64 re-represents data using only 64 safe ASCII characters, which makes it possible to carry binary-ish content through systems that only handle plain text — JSON fields, URLs, email attachments. It is not encryption: anyone can decode it back instantly, with no password or key involved, which this tool demonstrates directly.

Why Unicode needs care

The browser's plain btoa() function only understands single-byte characters, so it breaks on emoji, accented letters, or non-Latin scripts. This tool converts through proper UTF-8 bytes first, so anything you can type encodes and decodes correctly.

Common questions

What is Base64 actually for?

It converts arbitrary bytes into plain ASCII text using only letters, numbers, + and /. That makes it safe to embed binary-ish data — images, files, keys — inside formats that only expect plain text, like JSON, URLs or emails.

Is Base64 encryption?

No. It's an encoding, not a cipher — anyone can decode it instantly with no key required, exactly as this tool does. It provides no confidentiality at all, only a text-safe representation.

Why do some Base64 tools break on emoji or accented text?

The classic browser functions (btoa/atob) only understand single-byte Latin-1 characters. This tool converts through UTF-8 bytes first, so emoji, accented letters and non-Latin scripts encode and decode correctly.

The other tools