Base64 encoder
Paste any text — including emoji and non-Latin characters — to encode it to a Base64 string. Runs locally, so nothing you paste is uploaded.
Loading tool…
What Base64 encoding is
Base64 represents arbitrary bytes using 64 printable characters. It lets binary or Unicode text travel safely through systems that expect plain ASCII.
Why encode to Base64
It is used to embed data in URLs, JSON, HTML data attributes, and email, and to carry credentials in headers where raw bytes would be unsafe.
Correct Unicode handling
This encoder converts text to UTF-8 bytes first, so emoji and accented or non-Latin characters encode correctly rather than being corrupted.
How to base64 encode
- Paste the text you want to encode.
- Click Convert to produce the Base64 string.
- Copy the result wherever you need it.