Gzip file
Gzip a single file.
Add files to pack
Any files go into ZIP, TAR or GZ — or drop an archive to extract and repack.
Choose an output
Gzip a single file.
About Gzip file
Compress a single file with gzip, producing a .gz file named after the original (for example, data.csv becomes data.csv.gz). Gzip uses Deflate compression and is the standard way to compress individual files on Unix systems, web servers and data pipelines. Unlike ZIP or TAR, a .gz file holds exactly one file.
When it helps
- Shrinking a large CSV, JSON or log file before uploading it to a data tool or cloud storage that reads .gz directly.
- Compressing a .tar archive into a .tar.gz.
- Preparing pre-compressed static files (such as .js or .svg) for a web server configured to serve gzip.
- Making a SQL dump or text export smaller to send or store.
Tips
- Gzip works best on text: logs, CSV, JSON, XML and source code often shrink substantially. Already-compressed files such as JPG, MP4 or ZIP will barely change.
- To gzip several files, pack them into a TAR first and then gzip the TAR.
- The whole file is compressed in browser memory, so extremely large files may fail. Very large logs are best compressed on the command line.
Good to know
Quick answers about gzip file in your browser.
Both use Deflate compression, but a .gz holds a single file and has no folder structure, while a ZIP can hold many files and folders. Gzip is common on Linux and the web; ZIP is more familiar on Windows.
On macOS and Linux, double-click it or run gunzip file.gz. On Windows, 7-Zip and recent versions of File Explorer can extract it. The result is the original file with the .gz removed.
Yes. There is no sign-up, no watermark and no limit on how many files you process.
No. Files are read and processed locally in your browser, so they never leave your device.