Base64 Encode/Decode

Encode text or files to Base64 and decode Base64 back to text. Full UTF-8 and URL-safe Base64 support.

Loading tool…

How to use the Base64 Encode/Decode

Base64 represents binary data using 64 printable characters, making it safe to send through systems that only handle text such as email, JSON and URLs. Encode text or files, decode strings back to readable text, and switch to URL-safe Base64 when needed.

  1. 1Choose "Encode" or "Decode".
  2. 2Type text or upload a file to encode.
  3. 3Toggle URL-safe mode if the result will be used in a URL.
  4. 4Copy the output or download the decoded file.

Frequently asked questions

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode it, so never use it to protect secrets.

What is URL-safe Base64?

It replaces "+" and "/" with "-" and "_" and removes "=" padding so the value can be used in URLs.