In short
- SVG is a vector image. It is drawn with shapes, so it stays sharp at any size.
- Drag it into a web browser to see it, or use a free editor to change it.
- Send logos and icons as SVG with a free link, they stay exactly as they were drawn.
SVG stands for Scalable Vector Graphics. It is an open standard for drawings, and the W3C has developed it since 1999.
A photo is made of tiny dots. An SVG is made of instructions, like draw a line here and a circle there. That is why you can make it as big as a wall and it does not get blurry.
What an SVG file is
SVG is a text based format written in XML. The file holds a description of shapes, lines, colors and filters, not a grid of pixels.
Because it is text, you can even open it in a plain text editor and read it. It can also work with CSS and JavaScript on a web page.
Why it stays sharp
An SVG scales smoothly to whatever size it is shown at. A small icon and a large poster can use the same file with no loss of quality.
Pixel formats like JPG and PNG do not work this way. If you stretch them, they get soft and blocky.
When to use SVG, and when not
MDN recommends SVG for diagrams, charts and icons, where the image must be drawn accurately at any size. It is also popular for parts of a user interface.
It is not a good choice for photos. For photos, use JPG. For screenshots, PNG is a safe choice.
How to open an SVG
The quickest way is a web browser. Drag the file into a browser window and it shows. Modern browsers all support SVG.
Windows does not preview SVG files in File Explorer by default, so you may see no thumbnail. That is normal, the file is not broken.
How to edit an SVG
Free Inkscape and paid tools like Adobe Illustrator can edit SVG. Some office programs, like LibreOffice, can also work with it.
GIMP can import SVG too, but it turns it into pixels at a size you pick. If you need to keep it as a vector, use a vector editor.
Sending an SVG file
Some email and chat apps treat an SVG like a picture and show it small, or turn it into another format. A designer needs the original file, not a preview.
Put the SVG in a Room. The other person opens one link in the browser, with no account, and downloads the file exactly as you made it. It is never compressed or converted.
Never compressed or converted, one link, no account needed. Free up to 10 GB.
Send the SVG exactly as it is →Questions
Is SVG better than PNG?
For logos and icons, yes, because it stays sharp at any size. For photos, no.
Why does my SVG show no thumbnail on Windows?
Windows does not preview SVG by default. The file is fine.
What is an SVGZ file?
It is an SVG compressed with gzip.
Can I open an SVG in a text editor?
Yes. It is plain XML text, so you can read it.
