Base64 Encoder & Decoder

Encode and decode Base64 online for free, with full Unicode support and file-to-Base64 conversion. No sign-up, no uploads — everything runs in your browser.


File → Base64

Turn any file into a Base64 string (handy for embedding small files in code or data URLs). Note: Base64 encoding always makes a file ~33% bigger — that is how the encoding works, not a bug.

📎

Drop a file here or click to browse

Up to 10 MB · processed in your browser

How to use the Base64 Encoder & Decoder

  1. Paste text into the box.
  2. Hit Encode to Base64 or Decode from Base64.
  3. Copy the result — or drop a file below to turn it into Base64.

Frequently Asked Questions

What is Base64?

Base64 is a way to represent binary data — or any text — using only 64 safe characters (A–Z, a–z, 0–9, + and /). It is commonly used to embed small files in code, emails and data URLs.

Why do special characters break some Base64 tools?

Because basic Base64 functions only handle ASCII text. This tool encodes through UTF-8 first, so emoji, accented letters and non-English scripts survive the round trip.

Is my data uploaded anywhere?

No. Encoding and decoding happen entirely in your browser. Nothing you paste or drop leaves your device.

Why is my Base64 output bigger than my file?

That is how Base64 works, not a bug. It stores every 3 bytes of data as 4 text characters, so encoded output is always about 33% bigger than the input. The tool shows both sizes so the growth is never a surprise.

More tools