TAR Extractor
Extract files from .tar archives in the browser — pure JavaScript TAR parser (USTAR format), no WASM. File tree view, search, filter by type, preview text files, download individual files or all as ZIP. Shows file permissions and modification times. 100% client-side.
About TAR Extractor
Extract files from .tar archives in the browser — pure JavaScript TAR parser (USTAR format), no WASM. File tree view, search, filter by type, preview text files, download individual files or all as ZIP. Shows file permissions and modification times. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.
FAQ
What does this tool do?
It extracts files from TAR archives in your browser using a pure-JavaScript parser (no WASM, no native dependencies). Supports the USTAR format (POSIX IEEE P1003.2) including the magic field, prefix field for long paths, type flags for regular files / directories / symlinks / hard links, and octal-encoded size/mode/mtime/uid/gid fields. You can preview text files, download individual files, or download everything as a ZIP.
Does it support .tar.gz or .tar.bz2?
For .tar.gz files, use our GZIP Decompressor tool which auto-extracts TAR archives after GZIP decompression. This tool accepts plain .tar files only — no compression layer. If you upload a .tar.gz here, you'll see a 'not a TAR archive' error. Run it through GZIP Decompressor first, or use the .tar.gz auto-extract mode there.
What TAR formats are supported?
USTAR (the standard POSIX format with the 'ustar\0' or 'ustar \0' magic at offset 257). This covers >99% of TAR files in the wild. GNU TAR (with L/K long-name records) and PAX TAR (with x/g extended headers) are partially supported — we read the long name records and use them, but ignore PAX key/value attributes.
Can I preview file contents?
Yes. Click the eye icon next to any regular file to preview its first 8KB. Text files (UTF-8, UTF-16, ASCII) are shown as decoded text. Binary files are shown as a hex dump with ASCII gutter. The preview is read-only — extraction gives you the raw bytes.
How do I download all files at once?
Click 'Download all as ZIP' to get a single .zip containing every regular file from the TAR archive. The ZIP uses STORE method (no compression) since the TAR is already extracted. Directories and symlinks are skipped (only regular files go into the ZIP).
What extra features does this tool have compared to others?
10 extras: (1) Drag-drop input. (2) File tree view — group files by directory. (3) Stats — file count, total extracted size, archive size, ratio. (4) Search files by name (case-insensitive). (5) Filter by file type (regular, directory, symlink, etc.). (6) Preview text files inline. (7) File permissions display (octal mode). (8) Batch download as ZIP. (9) History (localStorage — last 10 extracted archives). (10) Shareable URL with options.
Is my TAR file uploaded anywhere?
No. All TAR parsing runs in your browser using pure JavaScript. File contents never leave your device. Only archive summaries (filename + entry count) are saved to local history.
What's the maximum TAR size?
There's no hard limit, but very large archives (> 1GB) will use lots of memory because we parse the whole archive at once. For multi-GB files, consider splitting first. The browser's per-tab memory cap (~2-4GB) is the practical limit.
Related tools
7Z Extractor
Inspect and extract files from 7z archives. Detects the 7z signature (0x37 0x7A 0xBC 0xAF 0x27 0x1C), parses the SignatureHeader and StartHeader, lists files from the archive metadata, and extracts STORE-method files when possible. Honest about LZMA compression limitations. 100% client-side.
APK Extractor
Extract and inspect Android APK files in the browser — pure JavaScript APK (ZIP) parser. View AndroidManifest.xml (binary XML detection), list DEX files, resources, and assets, extract individual files, detect app info (package name, version) from manifest. 100% client-side.
ARJ Extractor
Inspect ARJ archives. Detects the ARJ magic (0x60 0xEA), parses header structures, lists file entries with sizes and CRCs, and extracts STORE-method files when possible. Honest about ARJ compression limitations. 100% client-side.