99digest is in early access — tools are free while we grow.

Base64 Encode/Decode

Encode text to Base64 or decode it back, with correct handling of accents, emoji, and other multi-byte UTF-8 text — instantly, in your browser.

Runs in your browser Private & secure Updated August 10, 2026

Base64 is a way of representing binary or text data using only letters, numbers, and a few symbols — commonly used in data URLs, email attachments, and API payloads. Paste text into 99digest’s Base64 tool to encode or decode it instantly, entirely in your browser.

Runs in your browser

How it works

Encoding converts your text to UTF-8 bytes first, then to Base64 — this matters because plain Base64 (via the browser’s raw btoa) only handles single-byte Latin-1 text correctly and mangles accents, emoji, and non-Latin scripts. Decoding reverses the process and reports a clear error if the input isn’t valid Base64, or doesn’t decode to valid UTF-8 text.

FAQs

Is my text uploaded anywhere?

No. Encoding and decoding both happen entirely in your browser — your text is never sent to a server, uploaded, or stored anywhere.

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it back to the original text with no key or password required. Don’t use it to protect sensitive data; use it only to represent data in a text-safe format.

Why does decoding sometimes fail?

Decoding fails if the input contains characters outside the Base64 alphabet, or if the decoded bytes don’t form valid UTF-8 text — for example, if you paste in Base64 that actually represents an image or other binary file rather than text.