Base64 Decoder
Decode Base64 strings back to plain text or binary; paste a value and see the result instantly.
File Upload
About Base64 Decoding
What is Base64?
Base64 is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format.
Common Uses
- • Embedding images in HTML/CSS
- • Storing binary data in JSON
- • Email attachments
- • API data transmission
Decode Base64-encoded data back to its original text or binary format. Convert Base64 strings to readable text, restore binary files, and extract original content from encoded data. Supports text decoding and file downloads, making it easy to work with Base64-encoded data from APIs, data URIs, and storage systems.
What is Base64 Decoder?
Base64 decoding is the reverse process of Base64 encoding. It converts Base64-encoded strings (which use 64 ASCII characters) back to their original binary or text format. This is necessary when you receive Base64-encoded data and need to access the original content, such as images embedded in HTML, API responses, or stored binary data.
Common Use Cases
- Decoding Base64-encoded images from data URIs
- Extracting original data from API responses
- Decoding Base64-encoded file attachments
- Converting Base64 strings back to text for reading
- Restoring binary files from Base64 storage
- Decoding credentials or tokens from Base64 format
- Extracting data from Base64-encoded database fields
How It Works
The Base64 decoder takes the Base64 string and processes it in reverse: it maps each Base64 character back to its 6-bit value, groups four characters into 24-bit chunks, and converts them back to the original 8-bit bytes. The decoder handles padding characters (=) correctly and can output either text (if the original was text) or binary data (for files). UTF-8 decoding is applied for text output to handle international characters properly.
Examples
Decoding simple text
SGVsbG8sIFdvcmxkIQ==Hello, World!Decoding a Base64-encoded email
dXNlckBleGFtcGxlLmNvbQ==user@example.comRelated tools
Try these tools that work well with this one
Base64 Encoder
Convert text and files to Base64 format
JWT Decoder
Decode and inspect JSON Web Tokens
URL Decoder
Free online URL decoder tool for decoding percent-encoded URLs
API Tester
Send HTTP requests and view responses
CSV to JSON Converter
Convert CSV data to JSON
CSV to XML Converter
Convert CSV text to XML
Related guides
Tutorials and guides to get more from this tool
Base64 Encoding: What It Is and How It Works
Master Base64 encoding in 5 minutes! Learn when to use it, how it works, and avoid common mistakes. Essential for API developers in 2025.
JSON Web Tokens (JWT): A Complete Guide
Learn how JWTs work, how to decode them, and why they are the standard for modern authentication.
CSV ↔ XML: Converting Data Between Table and Tree
Convert CSV to XML and XML to CSV reliably. Understand headers, quoting, and escaping to preserve data integrity across formats.
ThenCatch is a free developer toolkit. Learn more about us.