Free Tool

Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to text, with a copy button for the result. Invalid Base64 is flagged with a clear error. Nothing you type leaves your device.

Illustration for the Base64 Encoder and Decoder

Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to text, with a copy button for the result. Nothing you type leaves your device.

How Base64 encoding works

Base64 turns binary data into plain text using 64 characters: capital letters A to Z, small letters a to z, digits 0 to 9, plus and slash. Equals signs are added as padding at the end when needed. For example, the word Hello encodes to SGVsbG8=.

Things to keep in mind

Base64 output is about one third larger than the input, so it is not efficient for large files. Base64 is encoding, not encryption, so anyone can decode it. Never use Base64 to hide sensitive data.

Try these free tools too

URL Encoder and Decoder · JSON Formatter · All free tools

Need a custom version of this tool?

We build custom tools, calculators and systems for businesses. Tell us what you need and we will get back to you with a plan.

Send Inquiry → All Tools