Skip to main content

What is SVG?

SVG (Scalable Vector Graphics) is an XML-based vector image format that describes two-dimensional graphics using paths, shapes, text, and filters. Unlike raster formats such as PNG or JPG, SVG images scale to any size without losing quality, making them ideal for logos, icons, illustrations, and responsive web design.

SVG was developed by the W3C and became a recommendation in 2001. Because it is plain XML, SVG files are text-based: you can edit them in any text editor, compress them well, and even animate them with CSS or JavaScript. Browsers render SVG natively, so no plugin is required.

SVG is the default choice for logos, icons, charts, and any graphic that must look sharp at every resolution, from favicon to billboard. For photographic images with millions of colors, raster formats such as JPG or WebP remain better.

Common SVG operations include editing paths, optimizing file size by removing unused definitions, and converting SVG to PNG for compatibility with software that does not support vectors.

Related tool

Try our free online SVG Editor — runs in your browser, no upload needed.

Open SVG Editor

Related terms

Frequently asked questions

Is SVG a vector format?

Yes. SVG stores shapes as mathematical paths rather than pixels, so it scales without any quality loss. This makes it perfect for logos and icons.

Can SVG be animated?

Yes. SVG supports animation through SMIL, CSS, and JavaScript. Many interactive charts and illustrations on the web are animated SVG.

How do I edit an SVG file?

Open it in a text editor for direct XML editing, or use an SVG editor for visual path manipulation. An online SVG editor lets you edit paths and shapes without installing software.