Best for Base64 text conversion
Use Base64 Encode / Decode for text snippets, tokens, small payloads, data samples, and URL-safe Base64 strings.
Encode text to Base64 and decode it back - nothing leaves your browser
Paste in the text you want to encode, or the Base64 string you want to decode, and the result appears instantly. A few things this tool gets right that others don't: full UTF-8 support, so accented characters, emoji, Arabic, Japanese, and every other script round-trips perfectly. URL-safe mode swaps the + and / for - and _ so the output drops cleanly into query strings and path segments without URL-encoding. And whitespace is tolerated when decoding - handy for pasting Base64 from emails or certificate files that have line breaks in them. Nothing you type is ever uploaded; everything runs locally in your browser.
Use Base64 Encode / Decode for text snippets, tokens, small payloads, data samples, and URL-safe Base64 strings.
Encode converts plain text into Base64. Decode converts valid Base64 back into readable UTF-8 text.
Unicode text, accents, emoji, Arabic, Japanese, and other scripts are handled as UTF-8 so they round-trip correctly.
URL-safe Base64 replaces plus and slash with hyphen and underscore so the value can be used in URLs or filenames more safely.
Encoding and decoding run entirely in the browser. Input text is not uploaded to the server.
Decoding fails when the input is truncated, contains invalid characters, has the wrong URL-safe setting, or is not actually Base64 text.
Enter the text to encode, or the Base64 string to decode.
Hit Encode or Decode - the result appears instantly.
One click copies the output. Enable URL-safe mode if you need it in a URL.
No - encoding and decoding run entirely in your browser. The input never leaves your device.
Yes - input is treated as UTF-8, so emoji, accents, and scripts like Arabic or Japanese encode and decode exactly.
A variant that replaces + and / with - and _ so the string works in URLs and filenames without needing percent-encoding.
Common causes: extra whitespace inside the string, truncated data, or input that isn't valid Base64. Try removing all line breaks and spaces first.