Sample .tar.gz archive (double extension)
A gzip-compressed tar archive holding a README, a CSV file and a JSON file in a sub-folder.
Download
sample-archive.tar.gz
1.02 KB1,041 bytes
Download GZ sampleCreated in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.
- Type
- application/gzip
- SHA-256
3cf5d6735caea3aebfa6b006119da6fadf6f28ce5792dc8242d4a91437ac15b4- Delivery
- Created in your browser from static generator assets (how it works).
Why test with this file
Tests double-extension handling and archive extraction with nested paths.
| Entries | 3 files in 1 folder |
|---|---|
| Outer format | gzip |
| Inner format | tar (ustar) |
| Extension handling | Double extension .tar.gz |
What to check
After your application has processed sample-archive.tar.gz, confirm that:
- The upload is recognised as .tar.gz, not as .gz alone.
- Extraction recreates the data sub-folder and all three files.
- Extraction refuses to write outside the target folder.
First bytes of the file
The first 64 bytes of sample-archive.tar.gz as a hex dump: offset, bytes, then the same bytes as text. The GZ signature is 1F 8B 08.
00000000 1f 8b 08 08 00 b9 55 69 00 ff 73 61 6d 70 6c 65 |......Ui..sample|
00000010 2d 61 72 63 68 69 76 65 2e 74 61 72 00 ed 57 5d |-archive.tar..W]|
00000020 6f db 36 14 cd b3 7e 85 91 e7 2b 96 97 1f fa e8 |o.6...~...+.....|
00000030 d3 dc cc 6d d3 36 69 d6 ac 19 b6 97 82 56 68 9b |...m.6i......Vh.|Preview
GZ files cannot be shown in a browser. Download the file and open it in an application that reads GZ, such as gzip and gunzip.
Technical details
| File name | sample-archive.tar.gz |
|---|---|
| Format | GZ (Gzip compressed file) |
| Extension | .gz |
| MIME type | application/gzip |
| Size | 1,041 bytes (1.02 KB) |
| Kind | Binary |
| Signature | 1F 8B 08 |
| SHA-256 | 3cf5d6735caea3aebfa6b006119da6fadf6f28ce5792dc8242d4a91437ac15b4 |
| Created | 2026-10-10 |
| Validation | See the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility. |
| Preview | Not available for this file; details only |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Archives |
Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.
sha256sum sample-archive.tar.gz # Linux
shasum -a 256 sample-archive.tar.gz # macOSOn Windows, run Get-FileHash sample-archive.tar.gz -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.
About GZ
A single compressed file. The compression used for web responses and Unix tools.
Where it fits
- File upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.
Related files
How to integrate sample .tar.gz archive (double extension) into automated QA suites
Curated fixtures like Sample .tar.gz archive (double extension) are built to exercise specific parser branches that generic byte-padded files cannot reach—such as multi-row delimiter escaping, header-vs-trailer structural validation, filename normalization, or media decoder initialization.
- Assert both HTTP status and parsed domain attributes: When uploading or parsing this fixture in Playwright, Cypress, Selenium, or pytest, do not stop at asserting
status === 200. Query your application's API or database afterward to confirm that the exact byte length, SHA-256 digest, filename characters, and internal record/page counts were recorded without silent truncation. - Compare against companion edge cases: Pair this curated sample with its counterpart in our Broken-File QA Test Set or Media Edge Cases collection so your test suite verifies both the valid path and the corresponding error handler.
- Inspect raw bytes locally: You can drop this file directly into our in-browser Magic-Byte File Inspector to view its leading 64-byte hexadecimal dump and verify its SHA-256 checksum without leaving your browser.