Skip to tools

Encoders / Decoders

Base64 Decode

Found a long string ending in = in a header, log file or config? The Base64 Decoder converts it back into readable text so you can see what it contains.

It decodes standard Base64 and handles UTF-8 text correctly, so international characters come back intact.

How to use the Base64 Decode

  1. 1Use the Base64 Decode right on this page, or open the full workspace for history, sharing and every other tool.
  2. 2Paste your input, upload a file, or drag and drop a file onto the input box (up to 25 MB).
  3. 3The result appears in the output panel automatically and updates when you change the input or an option.
  4. 4Use Copy Output or Download to save the result. Nothing is uploaded to a server.

Example

A Base64 string is decoded back into the original sentence.

Input
SGVsbG8sIENvZGVGb3JtYXR0ZXIh
Output
Hello, CodeFormatter!

When to use it

  • Inspecting a Basic authentication header captured during debugging
  • Reading Base64 values stored in Kubernetes secrets or CI variables
  • Checking the content of encoded email or API fields

Tips and common mistakes

  • Remove surrounding quotes or a data: prefix before decoding.
  • If you see unreadable characters, the original data was probably binary, not text.
  • JWTs use a URL-safe variant — use the JWT Decoder for tokens.

Frequently asked questions

Why does decoding fail?

The input may contain invalid characters or be truncated. Base64 length is normally a multiple of 4.

Is the decoded text stored?

No. Decoding happens locally in your browser.

TutorialBase64 in 3 minutes: what it is (and is not)

Related tools

Ready to try it?

Free, no sign-up, and your data never leaves your browser.