SVGZ to SVG
Nothing you choose here leaves your browser, and nothing is downloaded to make it work. Your browser already gzips and unzips; this page is the rest.
Unwrapping, which is all it is.
An .svgz is an SVG that has been gzipped. Unzip it and you have the identical file back — not a similar one, the same bytes, which is checked against Python's own gzip every time these pages are tested. Do this when something will not take an .svgz, which is most things that are not a web browser: editors, word processors, and anywhere you need to look at the file itself.
A .svgz needs a line of server configuration
This is the thing that catches everybody, and it is worth
reading before you upload one. A .svgz is not a format a
browser sniffs — it is a gzipped SVG, and
the server has to say so by sending
Content-Encoding: gzip. Put one on a host that does not, and
every visitor downloads a file of binary rubbish instead of seeing the
picture.
That is not a fault in the file and no converter can fix it. On Netlify or
Cloudflare Pages it is a _headers file; on Apache it is
AddEncoding gzip .svgz; on nginx it is an
add_header line. All three are given with the result.
And the honest alternative: most servers already gzip
a plain .svg on the way out, which gets you the same
saving over the wire with none of this. The reasons to keep an .svgz are
that it is small at rest — in a repository, on a file share,
inside another archive — or that your host does not compress on the
fly.
Where to go next
- SVG to SVGZ — the other way round
- HTMLZ to HTML — another wrapper
- EPUB to HTMLZ — another wrapper