ByteScope

SVG file format

Scalable Vector Graphics, an XML-based vector image format.

MIME type
image/svg+xml
Extensions
.svg
Category
Images

Magic-number signature

Plain-text XML containing a `<svg` element (often preceded by `<?xml`).

About the SVG format

SVG describes images as vector shapes in XML, so they scale to any size without blurring and can be styled and animated with CSS. Because it is plain text there is no binary magic number — it is identified by an XML declaration or a `<svg` element near the start.

Related formats

Have a file that might be SVG? Identify it with the File Type Identifier — it reads the magic number locally, nothing is uploaded. Or browse all formats.