.SVGZ

SVGZ File

Compressed Scalable Vector Graphics
Ask a question
QUICK ANSWER

An SVGZ file is an SVG vector image run through gzip compression, typically 50-80% smaller than the plain .svg. The content inside is identical XML. Open it in Inkscape (free) or any modern browser by dragging it into the window. To get the editable .svg back, rename it to .svg.gz and extract with 7-Zip.

Developer: W3C (World Wide Web Consortium) - SVG standard; gzip wrapping is part of the SVG spec Category: Vector Image Files Open standard MIME: image/svg+xml-compressed
OPENS ON Windows macOS Linux
Related: .EMZ · .CDR · .ODG · .VSDX

On this page

19k+ extensions indexed
Last reviewed Jul 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SVGZ file format?

.svgz files are supported by most modern web browsers and graphics editing tools natively or via dedicated plugins.

What kind of data can .svgz files store?

Files with the .svgz extension contain compressed SVG images. The .svgz format uses gzip compression, capable of reducing file size by 50-80% compared to the original .svg. SVG stores its data as XML and can be edited in any text editor; .svgz wraps that same XML in a standard gzip stream (identifiable by the 1F 8B magic bytes at the start of the file), making it a binary file despite the readable XML content inside. .svgz files can contain the same 2D vector graphics elements as plain .svg, such as:

  • shapes,
  • color gradients,
  • masks (transparency settings),
  • special image filters.

Can .svgz files be edited?

Original .svg files can be easily edited in even the most basic text editor. .svgz files are compressed and saved in binary format, so the XML cannot be read or edited directly without first decompressing. Dedicated vector editors such as Inkscape and Adobe Illustrator handle .svgz natively. To access the raw XML, decompress using gunzip on the command line or a tool like 7-Zip, which produces an editable .svg file. On modern web servers that apply gzip or Brotli transfer compression automatically, serving plain .svg is often preferred over .svgz to avoid double-compression issues.

Security & safety

RISK: MEDIUM

Once decompressed, an .svgz is SVG XML, which can EMBED CSS and JavaScript - so a malicious .svgz opened in a browser can run scripts (a cross-site-scripting, redirect and phishing vector). The gzip wrapper can also briefly hide malicious markup from naive scanners. Treat unsolicited .svgz files like web pages, not pictures: don't open them from unknown senders, and websites should decompress and sanitize uploaded SVGZ (strip scripts/event handlers) before serving. Inspecting the decompressed XML in a code editor is safe. Avoid sketchy "free SVGZ opener/converter" sites that bundle adware - a browser, Inkscape and 7-Zip cover every real need.

Format details

in a nutshell
FULL NAMECompressed Scalable Vector Graphicsaka Compressed SVG, gzipped SVG
DEVELOPERW3C (World Wide Web Consortium) - SVG standard; gzip wrapping is part of the SVG specsince 2001 (defined alongside SVG 1.0; gzip compression of SVG is part of the W3C SVG spec)
MIME TYPEimage/svg+xml-compressed
TYPEgzip-compressed SVG - XML vector graphics wrapped in a single gzip stream (binary container around text)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001
HEX
1F8B
ASCII
··
An .svgz is a standard gzip stream (magic 1F 8B 08 at offset 0). Decompress it and you get ordinary SVG XML text ("<?xml ..." or "<svg ..."). Identical gzip signature to .gz files and .emz/.wmz - distinguish by the SVG XML inside. NOT to be confused with the uncompressed .svg (plain XML text, no signature).

Programs that open SVGZ files

Windows4 apps
Adobe Illustrator Paid File -> Open the .svgz to edit; Save As offers SVG Compressed (.svgz) or plain SVG. The industry-standard vector editor.
7-Zip Open-source Rename .svgz to .svg.gz, then right-click -> 7-Zip -> Extract to recover the plain .svg text.
Inkscape Open-source File -> Open the .svgz directly (Inkscape reads/writes Compressed SVG); edit and re-save as .svg or .svgz.
Web browser (Chrome, Edge, Firefox) Free Drag the .svgz into the browser window - it decompresses and renders the vector image at full quality.
macOS3 apps
Adobe Illustrator Paid Open and edit the .svgz; Save As SVG (compressed or plain) or export raster formats.
Inkscape Open-source Open the .svgz to edit; free, full vector editor that reads/writes Compressed SVG.
Web browser / Safari Built-in Open the .svgz in Safari/Chrome to view it instantly (decompressed on the fly).
Linux3 apps
Inkscape Open-source The go-to free editor - opens .svgz directly (Compressed SVG is a native save format).
gunzip / gzip (command line) Open-source Run 'gunzip -c file.svgz > file.svg' to decompress, or 'gzip -c file.svg > file.svgz' to compress.
Web browser (Firefox / Chrome) Free Open the .svgz in the browser to view it; it decompresses and renders automatically.

Technical details

deep spec
Containergzip (RFC 1952), single-member stream
Inner formatSVG XML (UTF-8 text), identical in content to a plain .svg file
Magic bytes1F 8B 08 at offset 0 - standard gzip header; same signature as .gz files
CompressionDEFLATE algorithm via gzip; typically reduces .svg file size by 50-80%
EncodingBinary outer container wrapping UTF-8 XML text
Byte orderLittle-endian (gzip header and trailer integer fields)
Integrity checkCRC-32 of the uncompressed SVG data plus a 4-byte ISIZE field in the gzip trailer
MIME typeimage/svg+xml served with Content-Encoding: gzip, or image/svg+xml-compressed
Web servingServer must not re-compress .svgz; send without Content-Encoding or with Content-Encoding: identity
File membersSingle gzip member only - not a multi-file archive like ZIP
Internal SVG versionDetermined by the version attribute inside the decompressed <svg> element
ScalabilityResolution-independent vector coordinate space; no pixel grid or fixed dimension limit
DecompressionAny gzip-compatible tool (gunzip, 7-Zip) yields the editable .svg XML
Typical file size1 KB - 1 MB compressed; commonly 20-50% of the source .svg file size
Released2001 (defined alongside SVG 1.0; gzip compression of SVG is part of the W3C SVG spec)
Latest versionTracks the SVG standard (SVG 1.1, 2011; SVG 2 in development)
Open standardYes · royalty-free
Specificationwww.w3.org

SVGZ conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SVGZ files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SVGZ files.

Frequently asked questions

What is an SVGZ file and how is it different from SVG?
It's the same Scalable Vector Graphics image, just gzip-compressed to be 50-80% smaller. The content is identical XML; .svgz simply has a gzip wrapper around it.
How do I open an SVGZ file?
Open it in the free Inkscape or Adobe Illustrator, which read .svgz directly, or drag it into a web browser (Chrome, Edge, Firefox, Safari), which decompresses and displays it.
How do I convert SVGZ to SVG?
It's just gzip: rename the file to name.svg.gz and extract it with 7-Zip, run 'gunzip name.svgz' on Linux/macOS, or open it in Inkscape and Save As plain 'Inkscape SVG'. The result is lossless.
How do I convert SVGZ to PNG or JPG?
Open it in Inkscape or Illustrator and Export as PNG (keeps transparency) or JPG (flattened), choosing your pixel size. The vector won't rescale losslessly once rasterized, so pick the resolution you need.
Why won't my SVGZ open in a basic image viewer?
Many simple viewers don't understand the gzip wrapper. Use a web browser, Inkscape or Illustrator - they all handle .svgz - or decompress it to .svg first with 7-Zip/gunzip.
Is it safe to open an SVGZ file?
Mostly, but the decompressed SVG can contain JavaScript, so a malicious .svgz opened in a browser can run scripts (a known phishing/XSS trick). Don't open .svgz files from unknown senders, and sanitize user-uploaded ones on websites.

References

1W3C - SVG 2 specification (compressed SVG)www.w3.org
2RFC 1952 - GZIP file format specificationwww.rfc-editor.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.PARTPartial Download File
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.BINCD/DVD Disc Image (BIN/CUE)
8.DLLDynamic Link Library
9.JPGJPEG Image
10.M4AMPEG-4 Audio File

Related extensions

.EMZWindows Compressed Enhanced Metafile
.CDRCorelDRAW image / drawing
.ODGOpenDocument Graphics (Drawing)
.VSDXMicrosoft Visio Drawing (2013+)
.AIAdobe Illustrator Artwork
.EPSEncapsulated PostScript

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z