---
title: "What is SVG?"
term: "SVG"
description: "SVG (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."
url: "https://glossary.io/svg/"
published: "2026-11-22T20:54:28.028Z"
updated: "2026-11-22T20:54:28.028Z"
aliases:
  - "Scalable Vector Graphics"
topics:
  - "Web development"
wikidata: "https://www.wikidata.org/wiki/Q2078"
---

# What is SVG?

**Definition:** SVG (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](https://glossary.io/raster-graphics/) 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](https://glossary.io/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](https://glossary.io/cross-site-scripting/) attacks. The W3C has developed the SVG specification since 1999.

## SVG resources

- [Official website](https://www.w3.org/Graphics/SVG/)
- [SVG on Wikipedia](https://en.wikipedia.org/wiki/SVG)
- [Image optimization](https://coywolf.com/guides/method-seo/performance/images/)

## Related terms

- [raster graphics](https://glossary.io/raster-graphics/)
- [Affinity](https://glossary.io/affinity/)
- [Boxy SVG](https://glossary.io/boxy-svg/)
- [cross-site scripting](https://glossary.io/cross-site-scripting/)
- [HTML](https://glossary.io/html/)
- [Pixelmator Pro](https://glossary.io/pixelmator-pro/)

**Topic:** [Web development](https://glossary.io/topics/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/.

Published November 22, 2026.
