Base64 encode & decode
Convert text to Base64 and back instantly, with full Unicode support — private to your browser.
Encode and decode Base64 the easy way
Base64 turns any text or binary data into a safe set of ASCII characters, which is why it shows up everywhere — data URIs, JSON Web Tokens, email attachments, API keys and HTML embeds. Paste your text to encode it, or paste a Base64 string to decode it back to the original.
Unlike many converters, this one is fully Unicode-safe: it encodes through UTF-8, so emoji, Hindi, Arabic and accented characters survive the round trip. It all runs in your browser, so nothing you paste is uploaded.
How to encode and decode
To encode, paste your text on the left and click Encode → Base64; to go the other way, drop a Base64 string in and click Decode ← Base64. Invalid input is flagged rather than silently mangled, so you always know whether a string is genuine Base64. Copy the result with one click and paste it into your config, header or data URI.
Encoding vs encryption
It is worth remembering that Base64 hides nothing — it is reversible by anyone, so never treat it as security. When you need a one-way fingerprint or an integrity check, use the hash generator instead, and for escaping values in links reach for the URL encoder. More utilities live on the developer tools page.
Frequently asked questions
How do I encode text to Base64?
How do I decode Base64?
Does it support Unicode and emoji?
Is my data private?
Is Base64 a form of encryption?
Why is Base64 about a third larger than the original?
What is a data URI and how does Base64 fit in?
How do I decode a JWT with this?
More free developer tools
Fast, private utilities that run entirely in your browser.