🔡Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text — live, bidirectional, full Unicode.

Plain text
Base64

Base64 encode decode online — free, accurate, private

Working with Base64? Our free Base64 Encoder / Decoder converts both ways instantly. Paste plain text to encode it to Base64, or paste Base64 to decode it back to readable text — change either side and the result updates live, with no buttons to hunt for. It handles full Unicode correctly using the TextEncoder and TextDecoder APIs, so emoji, accented characters, and non-Latin scripts encode and decode without getting mangled — unlike bare btoa/atob, which only handle Latin-1.

It covers the cases developers actually hit: switch on the URL-safe variant for Base64 that replaces + and / with - and _, making it safe to drop into URLs and tokens without percent-encoding. Toggle No padding to strip the trailing = characters. Optionally encode a file to a Base64 data URI right in your browser — handy for embedding small images or assets. Decoding invalid input gives you a clear error instead of garbled output. Everything runs locally and never touches a server, so you can safely work with sensitive strings like API keys or tokens.