How to use Base64 Decode
Read text represented in Base64, including UTF-8 characters. Use it to inspect a data field you control or verify that a generated string carries the expected contents.
- Paste the Base64 string and click the action.
- Compare the output with the original text when possible, and copy or save the decoded result.
Example input
SGVsbG8sIHdvcmxkIQ==
Example use
Decode a sample configuration setting in a test fixture to confirm it contains the intended Unicode string before updating the fixture.
Output and compatibility
The decoder interprets the decoded bytes as text. A sequence representing a PNG, PDF or other binary file can be valid Base64 and still look unreadable here. Base64 protects neither confidentiality nor integrity on its own.
Check if the decoded bytes are really UTF-8
A string can pass Base64 parsing and still use a different text encoding. An accented letter in Windows-1252 does not have the same bytes as the same letter in UTF-8. Check the producer’s encoding before treating a replacement character as file corruption. For encoded file content, save the bytes and inspect them as a binary file.
Troubleshooting
If decoding fails, check for incomplete input, copy errors or a prefix surrounding the Base64 data. If the result shows replacement characters, the bytes may be binary or use a text encoding other than UTF-8.
For the readable parts of a JWT, use JWT Decoder instead of manually working with its dot-separated segments.
Frequently asked questions
Can it read URL-safe Base64?
Yes. The decoder accepts the URL-safe alphabet as well as standard Base64.
Why does a decoded image show unreadable characters?
This path opens decoded bytes as text. Use Base64 to File to materialize the bytes in a downloaded file.
Can I recover a damaged string with missing text?
Decoding requires the encoded content. Restore missing portions from the source.
Does this decrypt a password?
Base64 is an encoding with no key. Real encrypted data needs its matching decryption workflow.
Can I encode the output again?
Use Base64 Encode and choose the target alphabet.
Does the padding carry text?
Padding describes the final group of bytes. Use the complete value the producer supplied and check whether its protocol allows omitted padding.