About the Base64 Encoder
Base64 represents binary data using 64 plain ASCII characters, so it can travel safely through systems that only handle text, such as email, JSON, data URLs and HTTP headers. The Base64 Encoder converts your text to UTF-8 bytes first, so accented letters and emoji encode correctly.
How to use the Base64 Encoder
- Type or paste the text.
- Copy the Base64 output.
Example
Unicode
โHello, World! ๐โ encodes to SGVsbG8sIFdvcmxkISDwn5GL.
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode it. Never use Base64 to hide passwords or secrets.
Why is the output longer?
Every 3 bytes become 4 characters, so Base64 is about a third larger than the original.
Can I encode files?
This tool encodes text. To encode an image, use the Image to Base64 converter.