Base64

Encode / decode text & files in Base64.

A free Base64 encoder / decoder for text and any file, with optional URL-safe output and Data URI mode. Everything runs locally in your browser — nothing is uploaded.

How to use

  1. Pick “Text” for strings, or “File” to turn an image or any file into a Data URI.
  2. In text mode, choose Encode or Decode.
  3. Toggle URL-safe (swaps +/ for -_ and drops =) or Data URI if you need them.
  4. Read the result on the right and copy it; use Swap to feed the output back and reverse it.

FAQ

Is Base64 encryption?
No. Base64 is just an encoding that maps binary data to printable characters — anyone can decode it, so it offers no secrecy. Use real encryption to protect data.
Does my data get uploaded?
No. Encoding, decoding and file reading all happen locally in the browser — your content never leaves your device.
Can I encode images or other files?
Yes. Switch to the File tab and drop any file to get a Base64 Data URI you can paste straight into HTML/CSS.

Related tools