Base64 Decode
Base64 back into text or an image.
FREE · NO SIGN-UP · RUNS ON YOUR DEVICE
Your data stays on your device
- 2ALPHABETS
- 5IMAGE TYPES
- 0SIGN-UP
- 1TAP TO COPY
Base64 Decode at a glance
- Opens on
- Decode by default
- Text handling
- UTF-8 correct
- Alphabets
- Standard or URL-safe
- Images
- Five image types
- Other bytes
- Shown as hex
- Price
- Free
- Account required
- None
- Where it runs
- On your device
How to use Base64 Decode
- 1
Paste the Base64
Paste the Base64.
- 2
Read the result
Read the result.
- 3
Copy or download
Copy or download.
Frequently asked questions
Why does my decoded text look wrong?
It was probably encoded from characters rather than UTF-8 bytes. Decoding here is UTF-8 correct, so the fault lies in how it was encoded.
Can I decode a Base64 image?
Yes. If the bytes are a PNG, JPEG, GIF, WebP or BMP, a preview appears with a download button.
What if the padding is missing?
It is filled in automatically, so URL-safe Base64 with the equals signs stripped decodes without any editing.
Is Base64 secure?
No. It is an encoding rather than encryption, and anyone can reverse it. Never use it to protect anything.
What decoded bytes can be
The panel opens on decode. Paste Base64 and the text appears underneath. If the bytes turn out to be an image, a preview and a download appear instead.
- Base64 carries arbitrary bytes, so a decode can produce text, an image or something that is neither.
- A data URL contains Base64 after the comma, which is the part worth pasting here.
- Text that decodes into more Base64 was encoded twice and needs decoding again.
- A decode that fails usually means a character was lost in copying, most often from a line break.
Full specification
| Opens on | Decode, with a switch to encoding on the same panel. |
|---|---|
| Text handling | UTF-8, so Chinese, accents and emoji come back exactly as they went in. |
| Alphabets | Standard and URL-safe, with missing padding filled in automatically. |
| Images | PNG, JPEG, GIF, WebP and BMP are recognised, previewed and downloadable. |
| Other bytes | Data that is neither text nor an image is shown as hexadecimal. |
| Price | Free. Supported by clearly labelled ads placed outside the working area. |
| Account required | No. |
| Where it runs | In your browser tab. Nothing is sent anywhere. |
Keep going with the same files
All developer tools: Developer tools on SPOTTOOLS