DevBox

Base64 Encode / Decode

③ Data / Text

What it is: Base64 encodes arbitrary text/data into a string of letters and numbers — handy for moving data through text-only channels.

When to use: When you need to embed data in a URL, JSON, config, or email.

Everything runs locally in your browser — nothing is uploaded.

FAQ

Why does Base64 make the text longer?

Base64 uses 4 characters to represent every 3 bytes of data, roughly a 33% size increase. Its purpose is safe transport through plain-text channels, not compression.

Does non-ASCII text encode correctly?

Yes. This tool first converts text to UTF-8 bytes and then Base64-encodes them, reversing the process on decode, so there is no garbled output.

Related tools