Free Base64 Encoder & Decoder

Encode text to Base64 and decode it back — nothing leaves your browser

About Base64 Encode / Decode

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.

How it works

1

Paste your input

Enter the text to encode, or the Base64 string to decode.

2

Pick encode or decode

Hit Encode or Decode — the result appears instantly.

3

Copy the result

One click copies the output. Enable URL-safe mode if you need it in a URL.

Frequently asked questions

Is my data sent to a server?

No — encoding and decoding run entirely in your browser. The input never leaves your device.

Does it handle emoji and non-Latin characters?

Yes — input is treated as UTF-8, so emoji, accents, and scripts like Arabic or Japanese encode and decode exactly.

What is URL-safe Base64?

A variant that replaces + and / with - and _ so the string works in URLs and filenames without needing percent-encoding.

Why does my decode fail?

Common causes: extra whitespace inside the string, truncated data, or input that isn't valid Base64. Try removing all line breaks and spaces first.