Paste any Base64 string and decode it back to its original file. Auto-detects file type from content, shows a preview when possible, and lets you download the result instantly.
This tool reverses the Base64 encoding process. Paste a Base64 string — with or without the data URI prefix — and the decoder will reconstruct the original binary data. The file type is detected automatically from the content using magic number signatures, not from the declared MIME type.
Supported file types include images (PNG, JPEG, GIF, WebP, AVIF), documents (PDF, Word, Excel), audio (MP3, WAV, OGG), video (MP4, WebM), archives (ZIP, RAR, 7z), and more. If the content is previewable, you will see an inline preview before downloading.
Any file that was Base64-encoded can be decoded. The tool auto-detects over 25 file formats including images, PDFs, Office documents, audio, video, and archives using binary signatures.
No. The tool accepts both raw Base64 strings and full data URIs (e.g. data:image/png;base64,...). If a prefix is present, it will be stripped automatically before decoding.
No. All decoding happens entirely in your browser using JavaScript. Your Base64 data never leaves your device.
Encode or decode Base64 strings directly in your browser
Convert text to Base64 or decode Base64 to plain text
Convert images to Base64 encoded strings
Decode Base64 strings back to viewable images
Encode any file to a Base64 string
Decode Base64 strings to PDF documents
Decode and inspect JWT tokens
Encode or decode URLs with percent-encoding
Convert special characters to HTML entities and back
Convert between hex and Base64 formats