# What Is an SVG File? Scalable Vector Graphics, Explained

> SVG stands for Scalable Vector Graphics: a picture stored as drawing instructions instead of pixels. Where the format came from, what is inside a real file, what it is good and bad at, and how to open, edit or make one.

Published 20 October 2026 by VKTR · 10 min read · https://www.vktrstudio.com/insights/what-is-an-svg-file

## Key takeaways

- **SVG stands for Scalable Vector Graphics.** An SVG file describes a picture as text, in XML: shapes, curves, colours and text that a browser or design app redraws sharply at any size.
- It is an open W3C standard. SVG 1.0 became a W3C Recommendation on 4 September 2001, after six competing proposals in 1998 that included Adobe’s PGML and Microsoft’s VML. SVG 2 became a Candidate Recommendation on 6 October 2026.
- In our test, a logo was 1,162 bytes as SVG at every size. The same logo was 19.8 KB as a 500-pixel PNG and 228.6 KB at 4,000 pixels.
- Use SVG for logos, icons, illustrations and cutting machines, and JPG or WebP for photos. Most printers still prefer a PDF, and renaming a PNG to .svg doesn’t make it a vector.

**An SVG file is an image saved as text.** A JPG or PNG stores a grid of coloured pixels. An SVG stores instructions instead: draw this curve, fill it with this colour, cut this shape out of that one. SVG stands for Scalable Vector Graphics, and because the instructions are redrawn every time the image is shown, an SVG stays sharp at any size, from a favicon to a building wrap.

SVG is an open standard published by the World Wide Web Consortium (W3C), the body behind HTML and CSS. Every major browser displays it, and Adobe Illustrator, Inkscape, Figma and Affinity open it for editing. It is also the main format [VKTR Studio](https://www.vktrstudio.com/studio) produces when it turns a PNG or JPG into vector artwork, so we work with its insides every day.

## What is inside an SVG file

An SVG is a plain-text file written in XML, the same family of markup as HTML, so you can open one in a text editor and read it. Here is a complete logo from VKTR’s test set, Tidewell, a made-up brand:

![The full SVG code of the Tidewell test logo on the left, nine lines of text with two path elements, and the teal water-drop logo it draws on the right](https://www.vktrstudio.com/insights/what-is-an-svg-file/svg-anatomy-1600.webp)

*The whole Tidewell test logo: 1,162 bytes of text. Left, the file as written; right, what a browser draws from it.*

Three parts of the file do most of the work:

- **The svg element and its viewBox.** viewBox=“0 0 600 600” sets up a drawing area 600 units wide and 600 high. The units have no fixed physical size, which is what lets the image scale: show it 60 pixels wide or 6 metres wide and every coordinate scales with it.
- **Shapes.** Elements such as path, circle, rect and text each describe one shape. Tidewell is just two path elements: the disc, with the drop and two waves cut out of it, and the wave inside the drop.
- **Paint.** Attributes such as fill=“#006D77” set the colour. fill-rule=“evenodd” is what turns the inner shapes into holes, so the background shows through the drop and the waves.

### Paths: the curves inside every logo

Most of an SVG’s detail lives in the d attribute of its path elements: a compact language of one-letter commands followed by numbers. In the SVG specification, M moves the pen to a point, L draws a straight line, H and V draw horizontal and vertical lines, C draws a cubic Bézier curve, Q a quadratic one, A an elliptical arc, and Z closes the shape. An uppercase letter means absolute coordinates; a lowercase one means relative to the current point.

A cubic Bézier curve is set by four points: where it starts, where it ends, and two control points that pull the curve towards them. They are the handles you drag with the Pen tool in Illustrator; [what is a Bézier curve](https://www.vktrstudio.com/insights/what-is-a-bezier-curve) explains them in depth. Tidewell’s drop is two of these curves and one arc: M300,96 C300,96 188,220 188,300 A112,112 0 0 0 412,300 C412,220 300,96 300,96 Z.

The terse syntax was a deliberate choice. W3C’s account of how SVG was designed records that the working group tested XML files, plain and gzip-compressed, and found the compact path syntax made a big difference to file size even after compression.

## Where SVG came from

According to W3C’s own history of the format, Chris Lilley of W3C wrote up requirements for vector graphics on the web in 1996, and by 1998 there were six competing submissions. Two came from rival camps. PGML, from Adobe, IBM, Netscape and Sun, used the same imaging model as Adobe’s PostScript and PDF. VML, from Autodesk, Hewlett-Packard, Macromedia and Microsoft, began in Microsoft’s Office group as a PowerPoint add-on and already shipped in Internet Explorer.

Rather than pick a winner, the SVG working group designed a new language informed by all of them. PGML most strongly shaped its coordinate system, transformations and colour; VML influenced its element types and its compact path syntax. SVG 1.0 became a W3C Recommendation on 4 September 2001, edited by Jon Ferraiolo of Adobe. SVG 1.1 followed in January 2003, with a second edition in August 2011.

For years most people saw SVG through a plug-in: W3C credits Adobe with a popular SVG viewer, and with adding SVG support to products such as Illustrator. Opera, Firefox and the WebKit browsers (Safari and Chrome) then built SVG in natively, and in 2009 Microsoft announced native support in Internet Explorer 9, which completed the set of major browsers.

The next version is close. SVG 2 was published as a W3C Candidate Recommendation Snapshot on 6 October 2026, with editors from Apple, Microsoft and Adobe, and W3C expects it to become a Recommendation no earlier than 1 December 2026.

One correction while we are here. Some explainers, including Adobe’s own SVG page, say the format was first proposed in 1994 by Martijn Koster. W3C’s records start with Chris Lilley’s requirements of 1996 and the submissions of 1998, and we found nothing to support the 1994 date.

## SVG vs PNG: what we measured

Pixels and paths grow differently. A PNG stores every pixel, so a bigger picture means a bigger file. An SVG stores the same instructions whatever size it is shown at. To put numbers on it, we exported four pieces from VKTR’s test set as PNG at four widths in Chromium, re-saved each PNG with Pillow’s optimiser, and compared them with the SVG files they came from.

**File size of the same artwork as SVG and as PNG (KB = 1,000 bytes)**

| Artwork | SVG, any size | PNG 500 px | PNG 1,000 px | PNG 2,000 px | PNG 4,000 px |
| --- | --- | --- | --- | --- | --- |
| Tidewell logo, one colour | 1.2 KB | 19.8 KB | 43.4 KB | 97.5 KB | 228.6 KB |
| Harrow shield crest, one colour on white | 1.0 KB | 18.7 KB | 40.0 KB | 84.0 KB | 199.2 KB |
| House icon, one colour | 0.7 KB | 14.1 KB | 31.8 KB | 73.2 KB | 179.3 KB |
| Potted plant illustration, nine colours | 1.9 KB | 24.5 KB | 53.8 KB | 120.5 KB | 285.8 KB |

Each time the width doubled, every PNG grew between 2.1 and 2.5 times, while the SVG stayed exactly the same. A 4,000-pixel PNG prints only about 34 cm wide at 300 pixels per inch, so a sign or a wall would need far more pixels still; the SVG needs none.

SVG also compresses well, because it is text. Gzip, which web servers already apply to text files, shrank the Tidewell file from 1,162 to 503 bytes. A gzip-compressed SVG saved as a file uses the .svgz extension.

The comparison flips for photographs. A photo has no clean shapes to describe, so an SVG version of one is either a stylised illustration made of thousands of shapes or a pixel image wrapped in SVG code. For photos, JPG, WebP or AVIF are the right formats.

**SVG, PNG and JPG at a glance**

|  | SVG | PNG | JPG |
| --- | --- | --- | --- |
| Stores | Shapes, as text | Pixels, without loss | Pixels, with lossy compression |
| Enlarged | Stays sharp at any size | Blurs or turns blocky | Blurs, and compression blocks show |
| Transparency | Yes | Yes | No |
| Editable in a vector app | Yes, shape by shape | No, it must be traced first | No, it must be traced first |
| Best for | Logos, icons, illustrations, cut files | Screenshots and graphics on the web | Photographs |

## What is an SVG file used for?

- **Websites and apps:** logos, icons, illustrations, charts and maps that stay crisp on every screen. Google Search supports SVG images in img elements, alongside BMP, GIF, JPEG, PNG, WebP and AVIF.
- **Brand files:** one master logo that works from a business card to a sign, and that a designer can recolour or edit.
- **Cutting machines:** Cricut Design Space and laser software such as LightBurn read SVG outlines as cut paths.
- **Office documents:** Microsoft lists SVG as supported in Word and PowerPoint in Office 2019 and later and in Microsoft 365.
- **Printing, with a caveat:** an SVG can carry print artwork, but most print shops ask for a PDF. Our [EPS vs SVG vs PDF guide](https://www.vktrstudio.com/insights/eps-vs-svg-vs-pdf) explains why.

## What SVG is not good at

- **Photographs.** Millions of slightly different pixels don’t reduce to clean shapes.
- **Print colour.** SVG colours are written for screens, as values like #006D77, so print shops that work in CMYK or spot colours usually ask for a PDF.
- **Untrusted uploads.** An SVG can contain scripts and links, which is why some websites and upload forms refuse SVG files or clean them before accepting them.
- **Fakes.** Renaming logo.png to logo.svg changes nothing, and an SVG can also wrap a pixel image inside an image element, so it looks like a vector file but blurs like a PNG. [What is a vector file](https://www.vktrstudio.com/insights/what-is-a-vector-file) shows how to check.

## How to open an SVG file

- **To view it:** drag it into Chrome, Edge, Safari or Firefox.
- **To edit it:** open it in Adobe Illustrator, Inkscape (whose native format is SVG), Affinity or Figma, then select and change the shapes.
- **To read or fix the code:** open it in a text editor such as Notepad, TextEdit or VS Code.
- **To get a PNG or JPG:** export it from the editor at the pixel size you need. Export at the final size, because the PNG won’t scale.
- **If you have SVG code but no file:** paste the code into a plain-text editor and save it with the .svg extension, in UTF-8.

## How to make an SVG file

There are three routes, depending on what you start with.

1. **Draw it in a vector app.** For Illustrator, Adobe’s advice is to convert text to outlines first (Type > Create Outlines) so fonts can’t be substituted, then choose File > Save As or File > Export > Export As and pick SVG. Inkscape saves SVG by default.
2. **Export it from a design tool or code.** Figma, Affinity and most charting libraries write SVG directly.
3. **Trace a PNG or JPG.** If all you have is a pixel image of a logo or drawing, a tracer redraws it as paths. Illustrator’s Image Trace and Inkscape’s Trace Bitmap do this, and so does [VKTR Studio](https://www.vktrstudio.com/studio), in the browser, with each part of the artwork as its own layer. [How image tracing works](https://www.vktrstudio.com/insights/how-image-tracing-works) explains what happens inside a tracer and where it goes wrong.

Photoshop can export SVG too, but its pixel layers stay pixels inside the file. Adobe itself notes that many people prefer Illustrator for creating and editing SVG. Our [Photoshop guide](https://www.vktrstudio.com/insights/how-to-vectorize-an-image-in-photoshop) explains the limits.

## SVG questions

### What does SVG stand for?

Scalable Vector Graphics. It is an open image format published by the W3C, in which the picture is described as shapes written in XML text rather than stored as pixels.

### What is an SVG file used for?

Logos, icons, illustrations, charts and maps on websites and in apps; master logo files; cut files for Cricut and laser cutters; and graphics in Word and PowerPoint. Photos are better as JPG, WebP or AVIF.

### Is an SVG file the same as a PNG?

No. A PNG stores pixels at a fixed size; an SVG stores shapes that are redrawn at any size. In our test, a logo was 1,162 bytes as SVG and 228.6 KB as a 4,000-pixel PNG.

### What will open an SVG file?

Any modern browser displays it. To edit it, use Adobe Illustrator, Inkscape, Affinity or Figma. A text editor shows the code.

### Is SVG a vector file?

Yes, when it contains paths and shapes. An SVG can also wrap a pixel image inside it, which blurs when enlarged like any PNG, so check the contents rather than the file extension.

### Can I print an SVG?

Yes, but most print shops prefer a PDF, which handles print colour and fonts more predictably. Send the SVG if the printer asks for it, or save it as PDF from a vector editor.

### Are SVG files for Cricut?

SVG is the usual format for Cricut cut files: Cricut Design Space imports an SVG’s outlines as shapes it can cut.

### How do I turn an image into an SVG?

Trace it. A tracer such as Illustrator’s Image Trace, Inkscape’s Trace Bitmap or VKTR Studio redraws the pixels as vector paths. Renaming a PNG to .svg, or wrapping it in SVG code, does not make it a vector.

### Who created SVG?

The W3C’s SVG working group, formed after six competing proposals in 1998, including Adobe’s PGML and Microsoft’s VML. SVG 1.0 became a W3C Recommendation on 4 September 2001, edited by Jon Ferraiolo of Adobe.

### Is SVG better than PNG for a logo?

For the master file, yes: it stays sharp at any size and every part can be edited. Keep PNG exports at the sizes you need for places that don’t accept SVG.

## Only have a PNG or JPG logo? Get the SVG.

VKTR Studio traces it into editable vector paths in your browser. Converting, previewing and editing are free, with no account.

[Convert to SVG](https://www.vktrstudio.com/studio)

## References

- [W3C: Scalable Vector Graphics (SVG) 2, Candidate Recommendation Snapshot, 6 October 2026](https://www.w3.org/TR/SVG2/)
- [W3C: Scalable Vector Graphics (SVG) 1.0 Specification, Recommendation, 4 September 2001](https://www.w3.org/TR/SVG10/)
- [W3C: SVG 1.1 (Second Edition), Paths](https://www.w3.org/TR/SVG11/paths.html)
- [W3C: SVG 1.1 (Second Edition), media type registration for image/svg+xml](https://www.w3.org/TR/SVG11/mimereg.html)
- [W3C SVG Working Group: The Secret Origin of SVG](https://www.w3.org/Graphics/SVG/WG/wiki/Secret_Origin_of_SVG)
- [Adobe: SVG files, how to create, edit and open them](https://www.adobe.com/creativecloud/file-types/image/vector/svg-file.html)
- [Google Search Central: Image SEO best practices](https://developers.google.com/search/docs/appearance/google-images)
