Gzip Compressor
Compress text or a file with gzip, or decompress gzip data from Base64, hex or a .gz file. See the space saved. Nothing is uploaded.
Input
Stays in your browserShortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to Zlib Deflate / Inflate or Brotli Sandbox.
Free Online Gzip Compressor
Compress text or a file to gzip, or open gzip data to read what is inside. The size before and after is shown so you can see the saving. It gives developers a quick browser-based way to solve a focused gzip compressor task before moving the result into a project.
How to use Gzip Compressor
Choose Compress or Decompress. Paste text, or open a file. Decompress accepts Base64, hex or a .gz file and shows the original file name when the header has one.
Common mistakes
- Decompressing data that was Base64 encoded twice: decode the outer layer first.
- Expecting images or videos to shrink: they are already compressed.
Frequently asked questions
What is gzip?
gzip is a common file compression format used for web pages, logs and archives. A gzip file starts with the bytes 1F 8B.
Why is my result larger than the input?
Very short or already compressed data (images, zip files) does not shrink and gzip adds a small header.
How large a file can I open?
Up to 20 MB. Everything is processed in your browser.
Is my data uploaded?
No. Compression runs in your browser and nothing you paste or open is sent to a server.
How do I use this gzip compressor tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.
More Code & Conversion
Unix Timestamp ConverterTurn computer time into a real dateTimezone ConverterFind the time in other citiesNumber / Byte FormatterTurn bytes into KB, MB and GBCron ParserUnderstand a cron schedule in plain EnglishBase ConverterConvert binary, decimal and hex numbersCase ConverterChange text to UPPER, lower, Title caseSlug GeneratorMake clean web addresses from titlesSubnet CIDR CalculatorWork out IP ranges for networks