From Base64 back to the original
Paste a Base64 string and the decoder turns it back into its original bytes. If those bytes are text, you see it as UTF-8 text. If they're a file, the decoder recognizes common formats from their signature — PNG, JPEG, GIF, WebP, PDF, ZIP and more — shows a preview for images and lets you download the file with the right extension.
It accepts standard Base64, URL-safe base64url (used in JWTs), strings with missing = padding, line breaks from emails, and complete data URLs such as data:image/png;base64,….
How to decode Base64
- 1
Paste the Base64 string
Or a full data URL.
- 2
See the decoded result
Text appears instantly; files are detected.
- 3
Copy or download
Save text, images or other files.
Key features
File type detection
Recognizes images, PDFs and archives.
Image preview
See decoded images right away.
Forgiving input
Handles base64url, missing padding and line breaks.
Private
Decoding happens in your browser.
Common uses
- Inspecting API data: Decode fields that arrive Base64-encoded.
- Recovering attachments: Turn an encoded email attachment back into a file.
- Debugging tokens: Read the parts of a token or cookie.
Tips and good to know
- For JSON Web Tokens, the JWT Decoder splits and decodes all three parts at once.
- Getting gibberish? The data may be encrypted or compressed rather than plain Base64-encoded text.
