Free tool

Base64 Encoder / Decoder

Encode or decode Base64 for text or files — nothing leaves your browser.

Base64 turns arbitrary binary data into plain ASCII text, which is why it shows up everywhere text-only formats need to carry binary content — embedding images in CSS or HTML, encoding attachments in email, or passing binary data through APIs and config files that only accept text.

This tool encodes and decodes entirely client-side, for both plain text and files.

How to use it

  1. 01Choose Encode or Decode, and File or Text.
  2. 02Paste text or drop a file.
  3. 03Copy the result, or download it if you decoded a file.

Frequently asked questions

Does Base64 encoding encrypt or compress my data?

No — it's neither encryption nor compression. Base64 is a reversible encoding: anyone can decode it back to the original instantly. It also makes data about 33% larger, not smaller. If you need actual privacy, use the file encryption tool instead.

Why did decoding fail?

The input isn't valid Base64 — it may contain characters outside the Base64 alphabet, or be missing padding. Make sure you copied the entire string with nothing added or cut off.

Is there a file size limit?

No hard limit, but Base64-encoding a large file produces a much larger text string (roughly 4/3 the original size) held in memory, which can get slow for very large files.

Related tools

This is what Purgify automates.

Connect your cloud accounts and Purgify finds duplicates and reclaimable space like this — across all of them, on a schedule.

Available very soon

Want early access? Write to us at [email protected]