Base64 Decode

Convert a Base64 string back to original text or file. The tool automatically detects data type and suggests the appropriate way to save it.

Encode to Base64

Base64 decoding use cases

API debugging and development

When working with REST APIs, you often need to decode Base64 responses: images, PDF documents, binary data. This tool helps you quickly check what the server returned without writing code.

Analyzing email and MIME attachments

Email attachments are encoded in Base64 per the MIME standard. If you need to extract a file from raw email or analyze an attachment — just paste the Base64 block and download the original file.

Extracting Data URIs

Images embedded in HTML via data:image/... can be extracted back. Copy the part after "base64," — get the original file. Useful when analyzing others' code or saving embedded graphics.

JWT token analysis

JSON Web Token consists of three Base64-encoded parts. Decode the header and payload to see token contents: signing algorithm, expiration time, user identifier, and other claims.

Recovering files from logs

Logging systems often save binary data as Base64. If you see a long Base64 string in logs — decode it to get the original file or data for troubleshooting.

How to decode Base64

1

Paste the Base64 string

Copy the encoded string and paste it into the text field. Or upload a text file containing Base64 content via the "File" tab.

2

Start decoding

Click "Decode". Processing happens instantly in your browser. The tool will automatically detect what was encoded — text, image, or other file.

3

Get your result

If it's text — copy it. If it's a file (image, PDF, archive) — download it. The original file format is fully preserved.

Frequently Asked Questions