Base64 Encode & Decode

Everything runs on your device. Nothing is sent anywhere.

How to encode and decode Base64

  1. 1Choose Encode text, Decode, or Encode a file.
  2. 2Type, paste or open what you want to convert.
  3. 3Copy or download the result.
Your text
Base64

Turn text or a file into Base64, or turn Base64 back into text or a file.

How to encode and decode Base64

  1. 1Choose Encode text, Decode, or Encode a file.
  2. 2Type, paste or open what you want to convert.
  3. 3Copy or download the result.

Questions

Is my data private?

Yes. Everything runs inside your browser. Nothing you type or open is sent to a server or saved anywhere.

What is Base64?

A way to write any data, like an image, using only letters, numbers, + and /. It lets files travel inside text, such as JSON, email or a web page.

What is URL-safe Base64?

The same thing with - and _ in place of + and /, and no = at the end. It is safe to put in links and file names. Decoding reads both kinds.

What if the Base64 holds a file?

The tool spots it, tells you the file type, shows images, and lets you download the file.

Does text with accents or emoji work?

Yes. Text is encoded as UTF-8, so every language and emoji works.

Is it free?

Yes. It is free with no signup and no limits.

More Developer tools

See all