To view the contents of a ZIP file without extracting it on Windows, double-click the ZIP in File Explorer: it opens like a folder and lists every file inside. You can open individual files from there and drag out just the ones you need. For RAR, 7Z and other formats, or for features such as previews, searching by name and handling encrypted archives, use an archive program, which shows any archive as a browsable folder.
This guide covers both methods, explains what "opening without extracting" really does behind the scenes, and shows a couple of command line options for listing contents.
Method 1: Browse a ZIP in File Explorer
- Double-click the ZIP file. File Explorer opens it as if it were a folder. The title bar and address bar show the ZIP name, and a Compressed Folder Tools or Extract all button appears in the toolbar.
- Switch to View → Details to see sizes, types and the compressed size of each file.
- Double-click into sub-folders to explore the structure.
- To pull out a single file or folder, drag it to the desktop or another folder. Only that item is extracted.
On Windows 11 version 23H2 and later, the same works for many RAR, 7Z and TAR files. On Windows 10, only ZIP files open this way.
What really happens when you open a file inside a ZIP
When you double-click a document inside a ZIP, Windows quietly extracts that single file to a temporary folder and opens the copy. This has two consequences people often trip over:
- Edits may not save back into the ZIP. If you edit a Word document opened from inside a ZIP and click Save, you are saving the temporary copy. Close it and the changes may be lost. Programs such as Word often open these files read-only for this reason.
- Programs and linked files can fail. An installer, or a web page that needs its images and scripts, will not work properly from inside a ZIP, because only the one file was extracted. Extract the whole folder first.
Rule of thumb: browsing and reading inside a ZIP is fine. Editing or running anything from inside a ZIP is not. Extract first.
Method 2: Use an archive program for any format
An archive program shows ZIP, RAR, 7Z, ISO, TAR and other archives in the same way, on any version of Windows. In Universal Zip, double-click an archive to open it in a window, then:
- Browse folders inside the archive just like normal folders.
- Preview images and text files without extracting them, which is handy for checking you have the right version of a photo or reading a README.
- Search by name to find one file in an archive that contains thousands.
- Drag and drop just the files you need to any folder.
This is also the only way to look inside encrypted archives. If the file names are visible, you can browse them; when you open or extract a file, you are asked for the password. If the creator encrypted the names too, as 7Z allows, you are asked for the password before anything is shown.
Method 3: List contents from the command line
If you want a text list of what is inside, for example to paste into an email or check against a manifest, Windows has two built-in options.
PowerShell (ZIP files)
Open PowerShell in the folder and run:
Add-Type -AssemblyName System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::OpenRead("$PWD\archive.zip").Entries | Select-Object FullName, Length
This prints every file path and its uncompressed size without extracting anything.
tar (ZIP, TAR and TAR.GZ files)
Windows 10 version 1803 and later include tar, which can list many archive types:
tar -tf archive.zip
Replace the name with a .tar.gz or .tgz file and it works the same way.
Why look before you extract?
- Save time and space. A 20 GB archive might contain the one 2 MB document you need. Dragging out one file takes seconds; extracting everything can take minutes and fill a drive.
- Check you have the right archive. Confirm the version, date or contents before you unpack it on top of existing work.
- Spot anything suspicious. An archive that should contain invoices but actually holds a single EXE or a
.jsor.lnkfile is a warning sign. Browsing first lets you catch that before anything runs. - See whether it extracts into a folder. Some archives contain hundreds of loose files at the top level. If you can see that in advance, use Extract to folder rather than Extract Here to avoid scattering them across your desktop.
Checking an archive's size before extracting
The Details view in File Explorer shows both the compressed size and the original size of each file inside a ZIP. Archive programs show the same information for every format. This matters when space is tight: a 2 GB archive of text or database files can expand to many times that size. Check the total before you extract to a small SSD or USB stick, and pick a roomier destination if needed.
Comparing the options
| Feature | File Explorer | Archive program | Command line |
|---|---|---|---|
| Browse ZIP | Yes | Yes | List only |
| Browse RAR and 7Z | Windows 11 23H2+ only | Yes | Limited |
| Browse encrypted archives | No | Yes | No |
| Preview images and text | Opens a temporary copy | Built-in preview | No |
| Search by name | Basic | Yes | With filtering |
| Extract a single file | Drag and drop | Drag and drop | Yes, with the right command |
Common problems
- The ZIP opens as an empty folder. The file may be incomplete or damaged, or it may use a compression method File Explorer does not support. Try an archive program. See the compressed zipped folder is invalid for the full list of causes.
- Double-clicking opens a different program. The
.zipfile type is associated elsewhere. Our guide to changing the default program for ZIP files shows how to fix it. - File names look garbled. Archives created on systems using a different character encoding can show odd names in File Explorer. An archive program often displays them correctly.
For everyday use, browsing first and extracting only what you need is the quickest way to work with archives. Universal Zip adds previews, search and encrypted archive support to that workflow for every format it opens.
Frequently asked questions
Can I open a file inside a zip without extracting?
Yes. Double-clicking a file inside a ZIP in File Explorer opens it, but Windows quietly copies it to a temporary folder first, so changes may not save back.
How do I extract just one file from a zip?
Open the archive, select the file you want and drag it to a folder or the desktop. Only that file is extracted.
Can I see what is in a RAR without extracting?
Yes. Archive programs show RAR, 7Z and other archives like folders, and recent Windows 11 builds can browse many RAR files too.
