Archive ToolsCompress and extract archives straight from the VS Code Explorer — zip, 7z, RAR, tar, gzip and 40+ other formats — with no external tools to install. The extension bundles a full build of 7-Zip 24.09 compiled to WebAssembly, so it behaves identically on Windows, macOS and Linux from a single install. FeaturesPreview contentsClick any archive and it opens in a preview showing what is inside — instead of the usual "binary file not displayed". Nothing is extracted; the listing is read straight from the archive. The preview shows each file with its size, packed size, how much it saved, and when it was modified, plus a header summarising the format, file count and overall compression. You can filter by name, sort by any column, and act on the archive from the toolbar — Extract Selected, Extract Here, Extract to…, or Open as Folder. Encrypted entries are marked with a lock, and encrypted archives prompt for a password before the listing is shown. To go back to the raw file, use Reopen Editor With… from the editor title menu. Extract single filesTick the files you want in the preview and choose Extract Selected — only those files are unpacked, and the rest of the archive is never touched. Click a row to tick it, shift-click to take a run of files, or use the header checkbox to take everything the filter is showing. Ticking a file and filtering for the next one is fine: the selection is remembered as you filter and sort. The files land in the folder you pick, with the directory they all share removed — pulling one file
out of Drag files out of an archiveYou can also drag a row straight from the preview into the Explorer — or onto the editor area to open it — and only that file is unpacked. Dragging a ticked row takes the whole ticked set; dragging an unticked one takes just that row. The file has to exist on disk before a drag can carry it, so the preview starts unpacking the moment you hover or press a row, into a scratch folder that is deleted when the editor closes. Entries above 64 MB are left alone until you actually drag them: the first drag is refused with "Preparing …" and works as soon as the line says it is ready. ExtractRight-click any archive in the Explorer:
Extraction is smart about layout. An archive with one top-level folder is unpacked in place; one
that would scatter loose files across your directory gets its own folder instead, so you never have
to clean up a "tarbomb". Compound formats like CompressSelect one or more files or folders, then Add to Archive…. Choose the format, a compression level from Store to Ultra, and optionally a password. Browse without extractingOpen Archive (Browse) mounts an archive as a read-only folder in the Explorer. Expand it, open files inside it, and read them in the editor — nothing is written to disk except the individual files you actually open. PasswordsEncrypted archives prompt for a password when one is needed, and re-prompt if it is wrong. New
Passwords are held in memory for the session. Enable Supported formats
Multi-volume archives (
Settings
Notes and limitations
Development
To cut a release, run Press F5 to launch an Extension Development Host. LicenceThe extension is MIT licensed. It redistributes 7-Zip, which is LGPL with the additional unRAR restriction — see NOTICE for the full terms. |