Base64 encoder

Base64 encoder

Encode and decode Base64 text or files in your browser. Nothing is uploaded.

About this tool

Base64 turns bytes into a safe line of letters, digits and two symbols so data can travel through text channels. It is an encoding, not encryption: anyone can reverse it.

Encode or decode text here, or pick a file to encode it and turn the bytes back into a downloadable file. Everything runs in your browser, so the text and the file are never uploaded.

Worked example

The word hello is five bytes. In Base64 it is aGVsbG8=, and the two equals signs mark the padding at the end.

Common searches