Base64Doc

Decode Base64 to ZIP & Browse Contents

100% Browser Local · 0 File Uploads · 100MB+ Ready

Inspect every file inside a Base64-encoded ZIP archive right in your browser, extract single files individually, or download the verified .zip package.

Try 1-Click Synthetic Samples (Zero-Trademark):

Drop any file, paste Base64, or press Ctrl/Cmd+V with clipboard files or raw API JSON

Runs inside a local Web Worker. Network tab stays at 0 file POST requests.

0 chars
Decoded Result & Document Actions Appear Here

Paste any Base64 string, Data URI, Postman JSON, SOAP XML, HAR, or EML payload on the left.

Interactive Synthetic Showcase Gallery

Load real client-side verified payloads straight into the workbench above. Zero third-party trademarks.

Free · InstantCASE-1

Shipping API JSON -> 2 Auto-Named PDFs + 180 deg Label Fix

Input Payload
Raw Shipping API JSON (4.8 KB)
Verified Output
waybill_label.pdf (4x6 in, 180 deg -> 0 deg) + commercial_invoice.pdf (A4, 2 pages)
Real browser-decoded output preview (client-side only)
Free · InstantCASE-2

ERP Payload -> PK\x03\x04 Verified 3-Sheet Excel Preview

Input Payload
ERP Base64 Payload (122.8 KB)
Verified Output
Summary (128 rows x 11 cols), LineItems (48 rows), Tax (24 rows) -> .xlsx / .csv / .json
Real browser-decoded output preview (client-side only)
Free · InstantCASE-3

Broken Data URI + MIME Fix + White Transparent Logo

Input Payload
Broken data:image/jpeg;base64 + \/ + newlines (4.9 KB)
Verified Output
Auto-fixed to image/png (512x512 px) + Checkerboard reveals white emblem
Real browser-decoded output preview (client-side only)
Free · InstantCASE-4

Gzip + Base64 Unpack & Korean EUC-KR Mojibake Self-Heal

Input Payload
Gzipped Base64 (212 chars) + EUC-KR Receipt
Verified Output
Gunzipped JSON + EUC-KR Hangul receipt recovered from UTF-8 replacement chars
Real browser-decoded output preview (client-side only)
Free · InstantCASE-5

40-Page Contract Slimming + Gateway Green-Light Check

Input Payload
40-Page Synthetic Contract PDF (33.7 KB)
Verified Output
Extract Page 1 -> +33.3% Base64 fits comfortably under 4.5 MB Vercel limit
Real browser-decoded output preview (client-side only)

Inspect & Extract Single Files From Base64 ZIPs Without Desktop Unzipping

Browse every path inside a Base64-encoded ZIP in browser memory and extract just the one XML receipt or log file you need.

Read full technical details

Batch reporting webhooks, tax portals, and CI artifact APIs commonly return multiple XML invoices or diagnostic logs zipped together and Base64-encoded. Normally you must decode to disk, open an archive utility, extract a temporary folder, find the single file you care about, and clean up temp clutter afterward.

Base64Doc loads fflate dynamically in your browser the moment a PK\x03\x04 payload decodes, rendering the full archive directory tree with entry names and uncompressed byte counts. Clicking Download beside a single entry decompresses and saves only that file straight from RAM.

Separating Real ZIP Bundles From Disguised Office Documents

Automatically spot when a PK\x03\x04 Base64 string is actually an Excel .xlsx workbook, Word .docx contract, or EPUB e-book.

Read full technical details

Because Microsoft Office OOXML and EPUB containers are built atop ZIP compression, generic Base64 tools misclassify them constantly. Base64Doc scans internal manifest entries automatically—directing you to multi-sheet table preview when xl/workbook.xml is present rather than treating a spreadsheet as a generic archive.

Safe Entry Name Sanitization & Zero-Upload Security

Protect workstations from Zip Slip path-traversal entry names while keeping encrypted or sensitive archives strictly off external servers.

Read full technical details

Untrusted archives occasionally embed ../ traversal prefixes inside ZIP central directory filenames. Single-file extraction strips directory traversal segments before naming downloads, and zero archive bytes ever cross the network.

Step-by-Step Local Workflow

STEP 1

Paste ZIP Base64 or API Bundle Payload

Insert Base64 strings beginning with UEsDB (50 4B 03 04) or full JSON/XML logs containing compressed export bundles.

STEP 2

Verify True ZIP vs OOXML Office Package

Base64Doc invokes fflate locally to inspect whether the PK\x03\x04 package is a general archive or an Office .xlsx/.docx document.

STEP 3

Browse File Tree & Byte Compression Ratios

Review every folder path, compressed size, and original uncompressed byte count inside the archive table directly in your browser.

STEP 4

Extract One File or Save Complete .zip

Click Download on any single embedded XML, log, or PDF entry—or export the entire verified .zip package.

Technical Specification Summary

CapabilityBase64Doc BehaviorEngineering Notes
ZIP Signature Variants50 4B 03 04 / 05 06 (Empty) / 07 08Recognizes normal, empty, and data-descriptor ZIP headers.
Decompression Enginefflate (Lazy Async Chunk)High-speed browser Deflate/Store unpacking with zero server uploads.
Single-Entry ExtractionPer-entry Blob downloadPull one manifest XML or error log out of a multi-file ZIP immediately.
Office Format GuardChecks [Content_Types].xmlNotifies if an archive is actually an .xlsx spreadsheet or .docx file.
Path NormalizationStrips ../ traversal segmentsSanitizes individual entry names before triggering browser file saves.

Frequently Asked Questions

Can I extract just one file from inside a Base64 ZIP payload without unzipping locally?

Yes, Base64Doc renders the full internal directory tree via fflate with byte counts and gives each entry an individual Download button.

What if the PK\x03\x04 archive is actually an Excel .xlsx or Word .docx file?

Base64Doc inspects [Content_Types].xml inside the 50 4B 03 04 container automatically via fflate. It notifies you of the exact Office OOXML type so you can preview sheets or save with the right extension.

Why do Base64-encoded ZIP archives almost always start with UEsDB?

The standard ZIP local file header signature 50 4B 03 04 ("PK\x03\x04") encodes directly to UEsDB in RFC 4648 Base64.

Does this extractor support Gzip (.gz) single-stream payloads too?

No, Gzip uses 1F 8B 08 headers rather than PK\x03\x04; Base64Doc detects 1F 8B automatically and recommends or switches to the Gzip + Base64 pipeline.

Are password-protected AES-encrypted ZIP entries supported for inline extraction?

No, AES-encrypted or ZipCrypto entries cannot be decrypted without your password inside the inline tree viewer. You can still inspect entry filenames and download the complete verified .zip archive locally.

Explore All 34 Base64 Converters & Developer Tools