SVG converters

SVG (Scalable Vector Graphics) is the W3C's XML format for vector drawings, a recommendation since 2001. Instead of pixels it stores shapes, paths, text and gradients as instructions, so an SVG stays sharp at any size. Logos, icons, charts and illustrations exported from Figma, Illustrator or Inkscape are often SVG.

Convert SVG

What to know about SVG

File extensions: .svg

Where you meet SVG files

SVG is the usual format for website icons and logos, for icon sets such as Material Symbols, Bootstrap Icons and Font Awesome, and for charts drawn by D3 or saved from matplotlib. Wikimedia Commons stores many maps, flags and diagrams as SVG. Cutting machines and laser cutters use it as well: Cricut Design Space and LightBurn import SVG files as cut paths.

SVG compared with other formats

SVG or PNG
SVG is the master for logos, icons and drawings. PNG is the pixel copy for places that do not accept SVG. Photos and textures do not belong in SVG; they are embedded as pixel images inside it and gain nothing.
SVG or PDF
Both store vectors and text. PDF is made for pages, printing and fonts that travel with the file, and is what print shops ask for. SVG is made for the web: one drawing, styled and scripted in a browser, but with fonts usually linked rather than embedded.
SVG or DXF
For laser cutting and CNC work, DXF stores real-world units and is read by CAD programs. SVG measures in CSS pixels and units can be misread: Inkscape used 90 pixels per inch before version 0.92 and 96 since, so older files can come out about 7 % off. Check the size after import.

Common problems with SVG files

The text looks different in the PNG or on another computer

SVG text refers to a font by name. If that font is not installed or embedded, another one is used. Convert text to paths before sharing: in Inkscape Path › Object to Path, in Illustrator Type › Create Outlines. The text is then no longer editable, so keep the original.

WordPress or another site refuses the upload

An SVG can contain JavaScript and links to other files, so WordPress and many other platforms block SVG uploads by default. Upload a PNG instead, or use a plugin that cleans SVG files before accepting them. Only allow SVG uploads from people you trust. Tool: Convert SVG to PNG.

Word or PowerPoint will not insert it

Word and PowerPoint in Microsoft 365 insert SVG as an editable graphic, but older Office versions, Google Docs and many email programs do not. Export a PNG at twice the size it will be shown at so it stays sharp. Tool: Convert SVG to PNG.

The drawing is tiny or huge after opening

Without a width and height, programs pick their own size. Sizes without a unit count as pixels, which browsers convert at 96 per inch, but not every design or cutting program uses the same value. Set width, height and viewBox explicitly, with units such as mm, before sending the file to a cutter or printer.

Questions about SVG

Can I turn a PNG or JPG into an SVG?

Only by tracing, which draws new vector shapes along the edges of the picture. Inkscape does this under Path › Trace Bitmap. It works for logos and simple drawings with clear edges, not for photos. Wrapping a PNG in an SVG file does not make it a vector.

What is an .svgz file?

The same SVG compressed with gzip, usually much smaller. Inkscape opens and saves it. Web servers usually compress plain SVG on the fly instead, so .svgz is rare on websites.

Is it safe to open an SVG from an unknown sender?

Treat it like a web page. Opened in a browser, an SVG can run scripts and link to other sites, and SVG email attachments have been used for phishing. Shown as an image in a page or converted to PNG, scripts do not run.