Financial CalculatorsDate & Time CalculatorsHealth CalculatorsMath CalculatorsLength ConvertersWeight ConvertersTemperature ConvertersArea ConvertersVolume ConvertersSpeed ConvertersData & File Size ConvertersDigital & Data ToolsText ToolsGeneratorsImage & Video Tools About Practical guides Contact
Processed locally in your browser

Base64 Decoder

Read standard Base64 as UTF-8 text and get a clear error when the bytes are not text.

Result

  

What this decoder accepts

Paste a standard Base64 string containing UTF-8 text. Whitespace around or within the encoded string is ignored, making wrapped text easy to paste. Complete unpadded groups are accepted where the browser decoder permits them; malformed padding and non-alphabet symbols are rejected.

Encoded input and decoded output

SGVsbG8= → Hello
Y2Fmw6k= → café
8J+Riw== → 👋
SGVs bG8= → Hello because whitespace in the encoded input is ignored.
/w== decodes to a byte that is not valid UTF-8, so this text tool shows an error instead of replacing it with a misleading character.

How to Use This Tool

  1. Paste only the standard Base64 value.
  2. Click Decode Base64.
  3. Review the decoded text, or use the error guidance to check the alphabet and expected file type.
  4. Copy Result copies the decoded text, including its whitespace.

Common Use Cases

Inspecting a Base64 text field in an API response
Checking encoded configuration values
Verifying UTF-8 handling in a data pipeline

Troubleshoot a failed decode

Copy only the encoded value: remove a data:…;base64, prefix, surrounding quotes, or a Basic authorization prefix. Base64url characters - and _ are not accepted here. Do not paste an entire dotted JWT as one Base64 string.

A valid Base64 value can represent an image, compressed file, or bytes in another character encoding. Those bytes may fail UTF-8 decoding; this does not prove that the original Base64 is corrupt. Use a binary-aware tool for files.

Verify what you received

Whitespace and line breaks in the decoded text are preserved. To check a round trip, copy the result into the encoder. Its output is padded standard Base64, so its spelling can differ from an unpadded input while representing the same bytes. Decoding takes place in your browser.

Related Tools

Practical walkthroughs

Frequently Asked Questions

Can this decode Base64 images or PDF files?

It is a UTF-8 text decoder. Binary bytes are not a reliable text representation and can trigger an error.

Does this verify that a token is authentic?

No. Decoding reveals content; it does not verify signatures, permissions, or trustworthiness.

Sources & References

See how we test and maintain our tools. Found a problem? Report the inputs and expected result.