Free · No signup · Runs entirely in your browser

Base64 Encoder & Decoder

Encode text or files to Base64, or decode Base64 back to text. Everything is computed locally in your browser — nothing you type or upload is sent anywhere.

How it works

  1. Type or paste text into the input box, or choose a file below.
  2. Click Encode to convert text to Base64, or Decode to convert Base64 back to text.
  3. Check "URL-safe" if you need a version safe to use directly in a URL.
  4. Copy the result when you're happy with it.

Frequently asked questions

What is Base64?

Base64 is a way of representing binary data as plain text, using 64 printable characters. It's commonly used to embed images or files inside JSON, HTML, CSS or URLs where only text is allowed.

Is Base64 encryption?

No. Base64 is an encoding, not encryption — anyone can decode it back to the original data instantly, with no key required. Don't use it to protect secrets.

Does my data get uploaded anywhere?

No. Encoding and decoding both happen locally in your browser using JavaScript — nothing you type or upload is sent to a server.

What is URL-safe Base64?

Standard Base64 uses + and / characters and = padding, which have special meaning in URLs. URL-safe Base64 replaces + with -, / with _, and drops the padding, so the result can be used directly in a URL or filename.

Can I encode files?

Yes. Choose a file with the file picker and its Base64 representation appears in the output, ready to copy — this also happens entirely in your browser, so the file itself never leaves your device.