About the Base64 Encoder / Decoder
Base64 turns any data into plain ASCII text so it can travel safely in URLs, JSON, emails and HTTP headers. Encode text to Base64 or decode a Base64 string back to readable text instantly — with full UTF-8 support for any language and emoji.
Frequently Asked Questions
How do I encode text to Base64?
Type or paste your text and choose Encode. The Base64 result appears instantly.
How do I decode a Base64 string?
Paste the Base64 string and choose Decode.
What is Base64 used for?
Embedding images in HTML/CSS (data URIs), email attachments (MIME), HTTP Basic auth headers, JWTs and storing binary data in JSON.
Is Base64 encryption?
No. It’s an encoding anyone can reverse — never use it to protect secrets.
Why does Base64 end with = or ==?
The equals signs are padding to make the length a multiple of 4.
Why is Base64 output larger?
Base64 adds about 33% because every 3 bytes become 4 characters.
Does it support Unicode and emoji?
Yes, text is encoded as UTF-8 first.
What is Base64URL?
A variant using - and _ instead of + and / so it’s safe in URLs (used by JWTs).
Is my data sent to a server?
No, encoding and decoding happen in your browser.
Is the Base64 Encoder / Decoder free to use?
Yes.