Tar Archive Explorer
Browse a tar or tar.gz file tree, preview text entries and extract a single file — entirely in your browser.
Archive
Header-only indexing: every entry keeps its byte offset, so extraction slices just that file.
Entries
Open a .tar or .tar.gz file
Or load the sample archive to explore the tree.
Tar Archive Explorer reads ustar and GNU tar headers directly in your browser. It walks 512-byte blocks, resolves long names and pax path overrides, and records the byte offset and size of every entry. The result is a searchable file tree with permissions, sizes and a text preview for the selected entry. Extraction slices just that entry's bytes instead of unpacking the whole archive; gzip input is decompressed locally with the browser's native DecompressionStream.
artifact.tar.gz → etc/app.conf, bin/server, README.md
The header walk shows every path and size without unpacking; select app.conf to see its text.
Filter by name: server.log
Type a substring into the filter to narrow a large entry list, then click the row to preview it.
logs/server.log → download
The Extract action slices only the selected entry from the archive bytes and downloads it.
Examples
Extract one log
logs/server.log in a 300 MB archiveDownload containing only that file's bytesEntry data is a lazy slice addressed by header offset; the rest of the archive is never copied.
Pax path override
x header with path=etc/app.confEntry listed as etc/app.confExtended-header records override the literal 100-byte name field.
Bad checksum
Header with byte 0 modifiedWarning: invalid checksum at byte 0Checksum problems are surfaced but do not stop the walk of later headers.
About this tool
Tar Archive Explorer opens a .tar, .tar.gz or .tgz archive and indexes its headers in the browser. Each 512-byte header yields a path, type, mode, mtime, size and the byte offset of the entry data, so browsing a large archive never unpacks it to disk.
The entry table supports substring search, type filters and a text preview for the selected file. Extract downloads just the selected byte range as a Blob; GNU long names and pax path/size records are applied while walking headers, and bad checksums are reported as warnings.
Gzip decompression uses the browser's native DecompressionStream. Nothing is uploaded: archives, previews and downloads stay inside the tab, and parsing stops with a precise byte-offset error when an entry is truncated.
What this tool does not do
- Gzip support requires a browser with DecompressionStream; older Safari and Firefox versions cannot open .tar.gz input.
- Sparse-file reconstruction (GNU typeflag S) and bzip2/xz compression are not implemented.
- Text previews are limited to the first 64 KB and UTF-8 decoding; binary entries can only be extracted.
- Very large archives must fit in browser memory because the byte array is held in the tab.
- Nothing is uploaded or cached; closing the tab discards the index and the archive.
How to use this tool
Open an archive
Pick a .tar, .tar.gz or .tgz file, or load the sample archive from the example chips.
Filter entries
Type a substring into Filter by name or choose a type such as files, directories or symlinks.
Preview a file
Click a row to select it. Text-like entries below 1 MB show a UTF-8 preview with a truncation indicator.
Extract one entry
Press Extract to download just the selected file using its recorded byte range.
Check integrity
Invalid header checksums appear as warnings while the rest of the archive remains browsable.
Use cases
Artifact inspection
Check what went into a build tarball before publishing it.
Incident triage
Pull a single config or log file from a large backup without unpacking everything.
Layer auditing
Browse container image layer tars and their permission bits.
Dataset peeking
Search a dataset archive for a filename and preview a README before downloading.
Supported tar header fields
| Field | Offset / meaning |
|---|---|
| name / prefix | Bytes 0-99 and ustar prefix at 345-499, combined with a slash |
| mode / uid / gid | Octal permission and ownership fields |
| size / mtime | Octal byte count and POSIX timestamp |
| chksum | Header checksum with the checksum field treated as spaces |
| typeflag | 0 file, 5 directory, 2 symlink, 1 hardlink, others reported as other |
| L / x / g | GNU long name and pax extended/global records applied to following entries |
The walker stops at two zero blocks and reports truncated entries with their header offset.
Common mistakes
Mistake:Assuming extraction unpacks the whole archive.
Fix:Extraction slices only the selected entry's byte range.
Mistake:Expecting symlinks to be followed.
Fix:Symlinks are listed with their link target; their contents are never read or dereferenced.
Mistake:Uploading a .gz file with a .tar extension.
Fix:Gzip detection is based on the filename suffix; rename the file to .tar.gz or .tgz.
Mistake:Worrying about header checksum warnings on old archives.
Fix:A checksum mismatch is informational; the parser still derives paths and offsets from the fields.
Mistake:Expecting 100% of tar variants to parse.
Fix:ustar, GNU long names and common pax records are supported; exotic sparse formats may produce warnings.
Frequently asked questions
Does it extract everything?
No. The tool indexes header fields and their byte offsets, then slices only the entry you choose to extract. Browsing, previewing and downloading a single file never unpacks the rest of the archive.
How large an archive is supported?
There is no fixed entry-count cap, but the archive bytes are held in your browser tab and the table shows at most 500 filtered rows at once. Multi-gigabyte archives may exhaust tab memory; split them if the browser becomes slow.
Are symlinks followed?
No. Symlinks and hard links are listed with their link targets and type flags, but their targets are never dereferenced or read. This keeps browsing purely structural and safe.
Is my archive uploaded?
No. Header walking, previews and extraction all happen locally with JavaScript. There is no upload endpoint, no analytics on filenames and no persistence after you close the tab.
Which tar variants are supported?
The walker reads standard ustar headers, GNU long-name records (typeflag L) and common pax records that override path or size. Checksum mismatches are reported as warnings; sparse files, bzip2 and xz streams are outside the current scope.
Why can't I open my .tar.gz file?
Gzip decompression uses the browser's DecompressionStream API. If your browser does not provide it, the tool shows a clear message; renaming the file does not help. Use a modern browser or decompress the file first and open the resulting .tar.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.