Search Inside ZIP
Search file names and the text inside every file in a ZIP or TAR archive, with plain text, whole-word or regular-expression matching. Results show each matching line, and you can preview or download any file straight from the results.
Search Inside ZIP
Find text in file names and inside files, without extracting the archive.
Drop a ZIP or TAR archive to search
Also .tar.gz, .tar.xz, .tar.bz2 and .tar.zst
Files stay on your device. Nothing is uploaded.
How to use Search Inside ZIP
- 1
Open the archive
Drop a ZIP, a TAR (plain or
.gz,.bz2,.xz,.zstor.lzma) or a single compressed file, or choose it with the file picker. - 2
Type what to find
Enter text or a regular expression and choose whether to search file names, file contents or both. Turn on whole word or case sensitive matching if you need it.
- 3
Search
Files are decompressed in memory one at a time in a background worker and searched line by line. Nothing is extracted to disk.
- 4
Open the results
Each matching file is listed with line numbers and the matching lines. Preview a file or download it straight from the results.
Why use Aback ZIP's Search Inside ZIP?
Search without unzipping
Find a phrase in an archive of thousands of files without extracting it first. Nothing is written to your disk, and the archive is not uploaded.
Text, whole word or regex
Match plain text, whole words or JavaScript regular expressions, with optional case-sensitive matching, in file names, contents or both.
See the matching lines
Results show the line number and the line itself, shortened around the match when it is very long, so you can tell which hit matters before opening the file.
Encrypted ZIPs too
Enter the password to search entries protected with AES-256 or ZipCrypto. The password is used only inside this page.
Common use cases
Find code in a source release
Look for a function name, a config key or an API endpoint in a downloaded .tar.gz or ZIP of source code without unpacking it.
Search a log bundle
Find an error message or a request ID across every log file in a support bundle or a .tar.zst log export from a server.
Data exports
Check which CSV, JSON, XML or SQL file in an export mentions a customer ID or an order number.
Website and hosting backups
Before a migration, search a site backup for the old domain, a hard-coded URL or an email address that needs changing.
Check for secrets before sharing
Use a regular expression such as (api|secret)_?key to spot credentials left in config files before you send a project to someone else.
Find a file by name
Search names only to find invoice-2024-031 among thousands of files, then preview or download just that one.
About Search Inside ZIP
What gets searched
| File | What happens |
|---|---|
Text files: .txt, .csv, .json, .xml, .html, .md, source code, logs | Searched line by line. Text is read as UTF-8, or as UTF-16 when the file starts with a byte-order mark. |
| Binary files (a NUL byte in the first 8 KB): images, programs, audio, video | Skipped and listed. |
| Word, Excel and PowerPoint files, PDFs | Their text is stored compressed inside the file, so search sees them as binary. Their names can still be found. |
| Archives inside the archive | Not opened. Expand them first with Unzip Nested ZIPs. |
| Files larger than the size limit (64 MB by default) | Skipped and listed. Raise the limit to include them. |
| Encrypted ZIP entries | Searched when you enter the password; otherwise skipped and listed. |
Every skipped file appears in the results with the reason, so a search never silently misses part of the archive.
Search options
- Plain text finds the exact characters you type, anywhere in a line.
- Whole word only matches when the text is not part of a longer word, so
logdoesn't matchcatalog. - Regular expression uses JavaScript syntax:
error|warning,INV-\d{6}or^Subject:all work. - Case sensitive treats
Erroranderroras different; without it, they match each other. - Names, contents or both decides whether paths, the text inside files, or both are searched.
Limits that keep the page responsive
Results are capped at 200 matches per file and 20,000 in total. If you reach the cap, make the search more specific. Very long lines, such as minified JavaScript, are shortened around the match so the results stay readable.
Files are decompressed one at a time in a background worker, so the page stays usable while a large archive is searched. Compressed TARs have no index and must be read from start to end, so they take longer than a ZIP of the same size.
Limitations
- Archives inside the archive are not searched. Expand them first with Unzip Nested ZIPs, then search the result.
- The text inside Office documents and PDFs is stored compressed, so it can't be searched here. Their file names can.
- Binary files and files over the size limit (64 MB by default) are skipped and listed. Encrypted ZIP entries are skipped unless you enter the password.
- Results stop at 200 matches per file and 20,000 in total.
- Text is read as UTF-8, or UTF-16 with a byte-order mark. Files saved in other encodings, such as Shift_JIS or Windows-1251, may not match non-English search terms.
Processing happens locally in your browser. Your files are not uploaded, and closing the tab discards everything.
Related tools
Search Inside ZIP: frequently asked questions
No. Files are decompressed one at a time in a background worker in your browser and searched there. Nothing is sent to a server or extracted to disk, and no account is needed.
Yes. Drop the ZIP, type your search and the results list every file that matches, with line numbers and the matching lines. You can then preview or download only the files you need.
Yes, in JavaScript syntax. For example, error|warning finds either word and INV-\d{6} finds invoice numbers like INV-004211. Combine it with case sensitive matching if capitals matter. An invalid expression is reported before the search starts.
No. These formats store their text compressed, so the search sees them as binary files and skips them. Searching by file name still finds them.
Not directly; nested archives are not opened. Run the archive through Unzip Nested ZIPs first, which turns every nested archive into a folder, then search the new ZIP.
A file is skipped when it looks binary (it has a NUL byte in its first 8 KB), is larger than the size limit, is encrypted and no password was entered, or uses a compression method that can't be decoded here. Each skipped file is listed with its reason.
Yes. TAR archives work plain or compressed with GZIP, BZIP2, XZ, Zstandard or LZMA, and so does a single compressed file such as app.log.gz.
Yes. Enter the password and encrypted entries using AES-256 or ZipCrypto are searched like any other file. Without the password they are skipped and listed.