A VS Code extension that shows zip files in the workspace and their contents for quick review.
https://github.com/timheuer/zipview.git
Peek inside zip files without ever extracting them!
Zip Viewer brings seamless zip file browsing directly into VS Code's Explorer. Browse, preview, and inspect archived files as if they were part of your workspaceβno extraction required.
Or search for "Zip Viewer" in the VS Code Extensions view (Ctrl+Shift+X).
| Feature | Description |
|---|---|
| ποΈ Explorer Integration | Zip files appear in a dedicated "Zip Files" panel in your Explorer sidebar |
| π Browse Without Extracting | Expand archives to navigate their full directory structure |
| π Syntax-Highlighted Preview | Open any text file with full language supportβJS, TS, JSON, CSS, Markdown, and more |
| πΌοΈ Image Preview | View PNG, JPG, GIF, WebP, SVG, and other images using VS Code's native viewer |
| π¨ Theme-Aware Icons | Files and folders display icons from your current file icon theme |
| β‘ Live Updates | Tree automatically refreshes when zip files are added, removed, or changed |
| π Quick Navigation | Right-click any zip to reveal it in the workspace Explorer |
.zip files.js, .ts, .py, .css, .json, .xml, .md, .html, .yaml, and hundreds more.
Fine-tune the extension's behavior in your VS Code settings:
| Setting | Default | Description |
|---|---|---|
zipView.maxFileSize | 10 | Max file size (MB) that can be previewed |
zipView.maxCompressionRatio | 100 | Max compression ratio before blocking (zip bomb protection) |
zipView.maxCacheSize | 50 | Number of file contents to cache for faster access |
zipView.logLevel | info | Logging verbosity: off, error, warn, info, debug, trace |
π‘ Tip: Defaults are optimized for security and performance. Increase with caution.
Zip Viewer includes built-in protections:
../../../etc/passwd