All tools

Base64 Encoder / Decoder

Encode and decode text or files to and from Base64.

Everything here runs entirely in your browser. Nothing you type, paste, or upload is ever sent to a server, logged, or stored.

About the Base64 Encoder / Decoder

Converts text or a file to Base64 and back. Base64 rewrites arbitrary bytes using 64 printable characters so they survive being carried through systems that only handle text, such as email bodies, JSON fields and data URLs.

When you would use it

  • Reading a Base64 blob you found in a config file, a token or an email.
  • Embedding a small image or file inline as a data URL.
  • Preparing binary data for a field that only accepts text.

What it does not tell you

Base64 is an encoding, not encryption. Anyone can decode it instantly, and putting a secret in Base64 hides it from nobody. It also makes data about a third larger. Everything is converted in your browser.