Base64 Encoder and Decoder

Encode text to Base64 or decode Base64 back to readable text instantly.

How to use this tool

  1. 1Choose whether you are encoding or decoding.
  2. 2Paste your text or your Base64 string.
  3. 3The converted result appears immediately.
  4. 4Copy the output.

About this tool

Base64 rewrites arbitrary data using 64 safe characters so it can travel through systems that only reliably handle text. That is why it shows up in HTTP basic auth headers, in JSON Web Token payloads, in email attachments, in data URIs that embed a small image directly in CSS or HTML, and in config files that need to carry a certificate. Being able to decode it quickly is genuinely useful when debugging: pasting the middle segment of a JWT here shows you the claims immediately without any tooling. One important caveat — Base64 is an encoding, not encryption. Anyone can decode it in seconds, so it hides nothing. Never treat a Base64 string as a way of protecting a secret.

Frequently Asked Questions

Is Base64 secure?

+

No. It is an encoding, trivially reversible by anyone. Use real encryption for anything that must stay secret.

Why does Base64 output look longer?

+

It expands data by roughly a third, because every three bytes become four characters.

Can I decode a JWT with this?

+

You can decode the header and payload segments to read the claims. Verifying the signature requires the signing key.

Related Tools