Base64 Encode/Decode

Encode and decode Base64 strings.

About the Base64 Encode/Decode

Converts text to Base64 and back, handling UTF-8 correctly so accented characters and emoji survive the round trip. Base64 is an encoding, not encryption: anyone can reverse it. That is exactly why decoding tokens and config values in a browser tab, rather than pasting them into someone else's server, matters.

How to use the Base64 Encode/Decode

  1. Paste your text or Base64 string into the input panel.
  2. Press Encode to convert text to Base64, or Decode to reverse it.
  3. Copy the result, or download it as a file.

Frequently asked questions

Is Base64 encryption?
No. It is a reversible encoding designed to move binary data through text-only channels. It provides no confidentiality at all, so never treat a Base64 string as a secret in transit.
Why does my decoded text show strange characters?
Usually the input was not valid Base64, or it encoded binary data such as an image rather than text. For images, use the Base64 to Image tool instead.
What are the = signs at the end?
Padding. Base64 works in three-byte groups, and = fills the final group when the input length is not a multiple of three.
Is my input uploaded?
No. Encoding and decoding happen in your browser, which matters when the string is a JWT, an API key, or a basic-auth header.

Related tools