Skip to main content

Home Tools Base64 Encoder / Decoder

Base64 Encoder / Decoder

Encode Unicode text as UTF-8 Base64 or decode Base64 back to text. Copy the result for development and test workflows.

Base64 encoder / decoder
Enter text above

Base64 Encoder: What It Does

How to use this tool

Enter text and encode it, or paste Base64 text and decode it. Base64 represents bytes using printable characters and is commonly used in data interchange.

Limits and safe use

Base64 is an encoding, not encryption, so anyone can decode it. Do not use it to hide passwords, tokens, or other secrets. Use the appropriate URL or file APIs when handling data beyond plain text.

Example: encode and decode text

Encode Hello to get SGVsbG8=; decoding that value returns Hello. Text is converted to UTF-8 bytes before encoding, so accented characters and emoji are supported.

The input limit is 5 million characters. Decode expects standard Base64 containing valid UTF-8 text; arbitrary binary files or URL-safe Base64 may fail. See MDN's Base64 and Unicode explanation for the distinction between text and bytes.

Tool notes by DummyDetails. Reviewed . Report a correction.

More Free Tools

Most tool inputs are processed in this page. The site also uses analytics and third-party assets; see the Privacy Policy.