SVGZ to SVG Converter
Decompress a gzipped .svgz file back into plain, readable .svg markup — entirely in your browser, nothing uploaded.
Input
The file is decompressed locally — it is never uploaded.
Output
Guides
An .svgz file is just an SVG document that's been run through gzip to shrink its file size — some design and vector-graphics tools export it that way by default. The catch is that browsers, code editors, and most SVG tools expect plain, readable .svg markup, not a compressed blob. This tool reverses that compression: upload an .svgz file and get back its original SVG source, ready to view, edit, or paste into your code.
How to use it
- Upload your
.svgzfile. - The decompressed SVG markup appears instantly.
- Copy it or download it as a
.svgfile.
How it works
.svgz is gzip-compressed SVG — the same compression format used by .gz files generally, just applied to a vector image instead of a text file. This tool decompresses the file locally in your browser using standard gzip decoding, then decodes the result as UTF-8 text to recover the original SVG markup. Nothing is uploaded to a server.
Why would an SVG be gzipped in the first place?
Some export pipelines (older versions of Adobe Illustrator, Inkscape, and various icon/vector libraries) offer .svgz as a smaller alternative to .svg, since SVG's XML markup compresses well. It trades a slightly smaller file for the need to decompress before you can read or edit the source.
What if the file won't decompress?
Make sure the file is actually gzip-compressed — a plain .svg file renamed to .svgz isn't valid gzip data and will fail. If your file came from an unusual export tool, double-check it wasn't corrupted in transfer.
What if I need to clean up or shrink the resulting SVG?
Once you have the plain markup, run it through the SVG Optimizer to strip unnecessary metadata and reduce its size further. To convert the SVG into a raster image (PNG/JPG), use the SVG Converter.
Use it from code
From 3 credits per callREST API
curl -X POST https://api.iotools.cloud/v1/tool/svgz-to-svg \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file": "data:application/gzip;base64,H4sIAAAAAAAAAyXMSw7…"
}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `svgz-to-svg` tool (SVGZ to SVG Converter) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.