Base64 Encoder / Decoder

Encode plain text or strings to Base64, or decode Base64 back to its original form. Base64 is commonly found in HTTP Authorization headers, data URIs, email attachments, and JWT tokens. The conversion happens entirely in your browser — no data is sent to a server.

All processing happens in your browser. No data is sent to any server.

Frequently Asked Questions

What is Base64 encoding?
Base64 converts binary or text data into a set of 64 printable ASCII characters. It is widely used to embed binary data inside JSON, HTML, emails, and data URLs.
Can I use it to encode binary files like images?
This tool handles text input only. For encoding image files to Base64, use the dedicated Image to Base64 tool.
Does encoding increase the size of my data?
Yes — Base64-encoded output is approximately 33% larger than the original, because every 3 bytes of input become 4 ASCII characters.

Related Tools