What does Base64 decoding do?
Base64 represents binary data with printable ASCII characters. Its alphabet uses letters, digits, plus, and slash, and a value may end with equals-sign padding. It is common in email, data URLs, tokens, and API payloads. Decoding restores a representation; it does not decrypt the content or prove that it is trustworthy. This tool accepts standard and URL-safe Base64, ignores whitespace, and displays decoded bytes as UTF-8. It reports an error when the bytes are not valid UTF-8 text.
Common uses
- Inspect a text field or configuration value wrapped in Base64.
- Read a text snippet from an email, log, or data URL.
- Learn how Base64 strings map back to plain text.
How to decode Base64
- 1
Paste the encoded value
Enter a Base64 string. Line breaks and spaces are allowed.
- 2
Review the decoded text
Valid UTF-8 appears immediately; malformed input or non-text bytes show an error.
- 3
Copy or download
Copy the result or save it as a text file.
Decoding example
Input
SGVsbG8sIOS4lueVjCE=Result
Hello, 世界!This example shows Base64 carrying UTF-8 text with English, Chinese, and punctuation. Decoding restores the original text.
Frequently asked questions
Is Base64 encryption?
No. Base64 is reversible encoding and provides no confidentiality. Anyone with the string can decode it. Do not use it to protect passwords or tokens.
Why do I get a UTF-8 error?
The input may be incomplete, or it may decode to an image, compressed data, or other binary content. This page displays results as UTF-8 text.
Does it support URL-safe Base64?
Yes. The decoder accepts hyphens and underscores in place of plus and slash, and it allows omitted trailing padding.