Base64 Encode and Decode

Convert text to Base64 for APIs, emails and data URLs, or decode a Base64 string to see what is inside, all without your data leaving the browser.

How to use the Base64 Encode and Decode

  1. Type or paste your text into the box on the left.
  2. Adjust the options above if you need to. The result updates as you type.
  3. Click Copy result or Download to use your result.

What you can use it for

  • Decode API tokens and payloads
  • Embed small images as data URLs
  • Encode credentials for HTTP Basic auth

Private by design

The Base64 Encode and Decode runs entirely in your browser. Your text and files are never uploaded or stored on a server, so it is safe for work documents and personal information. It is free, with no sign-up and no limits on how often you use it.

Frequently asked questions

Is Base64 encryption?

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

What is URL-safe Base64?

It replaces + and / with - and _ and drops the = padding so the string is safe in URLs and file names.