Base64 encoder and decoder

Encode text or files to Base64 and decode Base64 back to text or a downloadable file. UTF-8 safe, private, free.

🔒 Your files stay on this device. Nothing is uploaded.

Input

Your files stay on this device. Nothing is uploaded.

Handles Unicode text correctly and files of any type (drop an image to get a data URL). Nothing is uploaded.

How it works

  1. Paste text or drop a file.
  2. Encode or decode.
  3. Copy or download.

This tool runs entirely in your browser. Your files are never uploaded, so there is no size limit and it works offline once loaded.

Frequently asked questions

Why does my decoded text look wrong?

The Base64 was probably produced from a non-UTF-8 encoding. This tool decodes as UTF-8, which is what web and JSON use.

Related tools