Homepage

Base64 Encode / Decode

Native btoa / atob plus FileReader for binary files. Everything stays local in your browser.

Drop a file for Base64

or click to browse · binary-safe read

Tool guide

Encode and decode Base64 text or files

Convert payloads for APIs, data URIs, or debugging without a CLI.

  • EncodeTurn text or small files into Base64 strings.
  • DecodeRestore Base64 back to readable text or binary output.
  • Native APIsUses browser btoa/atob and FileReader locally.

Data never leaves your device during encode or decode.

How it works

  1. Choose direction Switch between encode and decode.
  2. Paste or upload Add text or a small file to transform.
  3. Copy output Grab the result for APIs, data URIs, or debugging.

FAQ

Is data sent to your servers?

No. Encode and decode use native browser APIs on your device.

Can I encode a file?

Yes. Select a small file and encode to a Base64 string for APIs or data URIs.

Can I decode back to a file?

Decode outputs text or binary depending on input. Download or copy from the result area.

Is there a size limit?

Very large files may hit browser memory limits. Use smaller chunks for huge binaries.

Why does decode fail?

Check for invalid characters, missing padding, and whether the string is standard Base64 versus Base64url.

Account

Sign-in is not available on this site. All core tools work without an account.

WARNING! Unsaved work

If you navigate away without saving, you will lose progress since your last save.