Free online tool

Base64 Encoder and Decoder

Convert text to Base64 and back, or encode a small file. Works with accented characters and emoji. Everything runs in your browser. Your files and text are not uploaded to our servers.

Use the tool

Loading the tool...

How to use it

  1. Choose Encode or Decode.
  2. Paste your text. Results update as you type.
  3. Tick URL-safe if the value will go inside a URL or token.
  4. Select Copy result, or encode a file below the tool.

Tips for best results

  • Base64 is an encoding, not encryption. Anyone can decode it, so never use it to protect secrets.
  • Files are limited to 5 MB to keep your browser responsive.

Frequently asked questions

Is Base64 secure?

No. It only changes how data is written so it can travel through text-only systems. It offers no protection.

Why does decoding fail?

The input probably contains characters that are not valid Base64, or it was cut off. Check for missing characters.

← Back to Developer Tools