Base64 Decode
Decode Base64 strings into plain text
What is Base64 Decode?
Base64 Decode is a tool for turning Base64 strings back into readable text so you can inspect the original content. It is useful when you want to check values from API responses, read encoded text in emails or logs, or quickly inspect configuration values that were stored in Base64 format.
The result updates as you type, which makes it easy to tweak the input and verify the decoded output right away.
How to Use
- Paste a Base64 string into the input field.
- Turn on "Decode by line" if needed.
- Check the decoded result in the output field.
Use the normal mode when the input is one continuous Base64 string. Use line-by-line mode when each line should be treated as a separate value.
Main Setting
Decode by Line
This option is useful when you want to inspect multiple Base64 strings at once.
- On: Split the input by line breaks and decode each line separately
- Off: Decode the entire input as one Base64 string
For example, if your logs or exported data contain one Base64 value per line, turning this option on makes the result much easier to inspect. If the input should be treated as one continuous value, leave it off.
Input Example
eyJuYW1lIjoiSm9obiBEb2UiLCJlbWFpbCI6ImpvaG5AZXhhbXBsZS5jb20iLCJyb2xlIjoiYWRtaW4ifQ==
When you paste a string like this, you can inspect the original content as JSON or plain text.
Use Cases
- Checking the contents of Base64 strings returned by an API
- Reading encoded text from emails, headers, or configuration values
- Inspecting multiple Base64 strings from logs in one pass
- Verifying the reverse conversion of a value created with
base64-encode
Things to Keep in Mind
- Invalid Base64 strings cannot be decoded correctly
- In line-by-line mode, each line must be a valid Base64 string on its own
- If the decoded value originally came from binary data or an image, the result may look garbled as text
This tool is great for checking text content, but it is not designed for reconstructing and handling binary files directly.
Base64 Basics
Base64 is an encoding format used to make data easier to handle as text. It is widely used in email, Data URIs, JSON payloads, and various token or certificate related formats.
It is an encoding method, not encryption, so it should not be used as a way to hide sensitive content.