Base64 Decoder
Turn Base64 back into readable text, or into the file it contains.
Runs in your browser · No uploads
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to decode Base64
- Paste the Base64 text or a data: URL.
- Text appears straight away. If the data is a file, its type is recognised and shown.
- Copy the text, or download the file.
What it accepts
- Standard and URL-safe Base64, with or without = padding.
- Line breaks and spaces anywhere (as in emails and PEM files).
- data: URLs such as data:image/png;base64,…
- Mistakes are pointed out: a character that isn't Base64, or a length that can't be right.
Frequently asked questions
How do I know if it is text or a file?
The decoder checks whether the bytes are valid UTF-8 text. If not, it looks at the first bytes to recognise the file type (PNG, PDF, ZIP and many more) and offers a download.
Is my data uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.
Related tools
-
Encode Base64
Encode text or any file to Base64, URL-safe Base64 or a data: URL. -
Base64 to image
Turn a Base64 string or data URL back into an image file. -
Decode a JWT
Read a JSON Web Token: header, claims, expiry, and check its signature. -
Decode a URL
Decode percent-encoded URLs back into readable text.