DevToolCase
Sign in Sign in

Decode Base64

Decode Base64 or Base64URL back to text, accents and emoji included, with the position of an invalid character.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

Runs entirely in your browser: nothing you type is sent or stored.

Decoding Base64

Paste a Base64 or Base64URL string to read the text it holds. Both alphabets are accepted, the final = may be missing, and spaces and line breaks are ignored, as in e-mails where Base64 is cut into lines.

Why is my Base64 invalid?

  • A character outside the alphabet, such as a quote or an accent copied with the string: the decoder shows its exact position.
  • A length that does not fit: Base64 goes by groups of 4 characters, so one was probably lost when copying.
  • Binary content: the Base64 holds an image, a PDF or a compressed file, not text.

Where you meet Base64

  • JSON Web Tokens: their header and payload are Base64URL; the JWT decoder reads them, dates included.
  • HTTP Basic authentication: Authorization: Basic dXNlcjpwYXNz decodes to user:pass, in clear text.
  • data: URLs, e-mail attachments, Kubernetes secrets.

To go the other way, encode to Base64.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.