What is SVG?
DefinitionSVG (Scalable Vector Graphics) is an XML-based image format and W3C standard for two-dimensional vector graphics that scale to any size without losing quality and can be styled, scripted and animated on web pages.
Also known as Scalable Vector Graphics
Unlike raster images such as JPEG or PNG, which store a grid of pixels, an SVG file describes shapes, paths and text with code. That makes it ideal for logos, icons, illustrations and charts, which stay sharp on any screen and are often smaller than equivalent bitmaps. Every modern browser supports SVG, and it can be used as an image file, a CSS background, or inline in HTML, where CSS and JavaScript can style and animate it.
Because SVG files are text, they can be compressed, searched, edited by hand, and optimized by removing unneeded metadata. They can also contain scripts, so a site that accepts SVG uploads from users should sanitize them to prevent cross-site scripting attacks. The W3C has developed the SVG specification since 1999.
SVG resources
Topic: Web development
Cite this definition
- APA
What is SVG? (2026, November 22). Glossary. https://glossary.io/svg/
- MLA
“What Is SVG?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/svg/.
- Chicago
“What Is SVG?” Glossary. Coywolf. November 22, 2026. https://glossary.io/svg/.
- HTML link
<a href="https://glossary.io/svg/">What is SVG?</a>
Published