Advertisement
Advertisement

Free online Base64 encoder and decoder — encode text to Base64 or decode Base64 back to readable text in your browser.

Advertisement

      
    
Advertisement

About Base64 encoding

Paste text on the left and click Encode to turn it into a Base64 string, or paste Base64 and click Decode to get the original text back. Encoding and decoding are UTF-8 safe, so emoji and non-Latin characters round-trip correctly, and everything runs locally in your browser.

Is my data uploaded anywhere?

No. Encoding and decoding happen entirely in your browser with JavaScript — your text is never sent to a server, so it works offline and is safe for sensitive data.

What is Base64?

Base64 is an encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, + and /, with = for padding). It is widely used to embed images, files, and tokens inside text-based formats like JSON, HTML, and email.

Does it handle Unicode and emoji?

Yes. Text is encoded as UTF-8 before being converted to Base64, so accented letters, non-Latin scripts, and emoji all encode and decode correctly rather than being corrupted.

Does it support Base64URL?

Decoding is tolerant of the URL-safe variant — - and _ are accepted in place of + and /, and missing padding is handled automatically. Encoding produces standard Base64 with +, /, and = padding.

Is Base64 encryption?

No. Base64 is encoding, not encryption — anyone can decode it without a key. It makes binary data safe to transport as text, but provides no confidentiality, so never treat Base64 as a way to protect secrets.