Base64 encode & decode
Convert text to Base64 and back instantly, with full Unicode support — private to your browser.
Convert Base64 in 3 simple steps
Paste your text or Base64
Drop in plain text to encode, or a Base64 string to decode — emoji and accents are fine.
Encode or decode
Click Encode → Base64 to convert text, or Decode ← Base64 to recover the original.
Copy the result
Grab the output with one click and paste it into your config, header or data URI.
Why use this Base64 converter
Unicode-safe
Encodes through UTF-8, so emoji, Hindi, Arabic and accented characters round-trip correctly.
100% private
Encoding and decoding run locally in your browser — nothing you paste is ever uploaded.
Both directions
Encode text to Base64 or decode Base64 back to text in a single click.
Clear errors
Invalid Base64 is flagged rather than silently mangled, so you always know if a string is genuine.
Data-URI ready
Perfect for building data URIs, JWT payloads, API keys and HTML embeds.
Free & unlimited
No sign-up, no limits, no watermark — works offline once the page has loaded.
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.