GZ to SQL Converter
Nothing is uploaded or stored on our servers—your files stay on your device. Decompress .sql.gz or CSV.gz in the browser with optional INSERT statements.
Nothing is stored on this website — full privacy
Your .gz files and any decompressed SQL never leave your browser. We do not upload them to our servers, log them, or save them in a database. When you close or refresh the page, the data is gone from this site — so there is no security or privacy risk from us retaining your data.
Decompress & export
Upload a .gz file. Processing stays on your device only — typical use: .sql.gz dumps, or .csv.gz with optional INSERT generation.
Drop a .gz file here or click to browse
Gzip only · max ~80 MB
No file loaded yet.
Why use this converter
Work with compressed SQL dumps locally: we never store your files or output on the website, so there is no data retention risk from our side.
Nothing stored on our servers
Your files and SQL are not uploaded, logged, or saved in any database on this site. All work happens in your browser tab for maximum privacy and security.
Standard gzip
Uses the browser’s built-in gzip decoder (DecompressionStream), so you do not need extra plugins.
SQL dumps & CSV.gz
Open plain SQL dumps from .sql.gz, or turn gzipped CSV into INSERT batches with a table name.
Fast preview
Large outputs preview safely; use Download to get the full file without pasting huge text.
How to Use
Simple 4-step process
Step 1
Choose or drop a .gz file (for example a mysqldump .sql.gz or a compressed CSV).
Step 2
The tool decompresses gzip entirely in your browser using the Web Platform APIs.
Step 3
If the content looks like CSV with a header row, you can switch to SQL INSERT output and set a table name.
Step 4
Download or copy the result as a .sql file for editors, clients, or review.
Frequently Asked Questions
Everything you need to know about this tool and how it works.
See Full FAQIt decompresses the gzip layer and shows the plain SQL text. You can download it as a .sql file for use in MySQL, PostgreSQL clients, or editors.
Modern browsers expose DecompressionStream('gzip'). The file bytes are piped through that stream and decoded as UTF-8 text.
After decompression, if the text parses as CSV with a header row, you can switch to SQL INSERT statements and set a table name. Raw SQL dumps stay in “Raw text” mode.
No. We do not store your files, decompressed text, or SQL output on our servers. Nothing is written to our databases or logs for this tool. Processing happens entirely in your browser; closing or refreshing the tab clears what was in memory here.
Update to a current version of Chrome, Firefox, Edge, or Safari (16.4+). Older browsers may lack DecompressionStream.
Very large files can exhaust browser memory. This tool warns above roughly 80 MB; for huge dumps, prefer command-line gunzip on your machine.
Still have questions?
Can't find what you're looking for? We're here to help you get the answers you need.