Skip to workspace

SVG Validator

Check SVG syntax and supported static content. Find unsafe resources and markup errors before previewing or downloading your vector.

Static SVG only · up to 512 KB · processed locally in a background worker, without uploading

Checks cover XML parsing and the supported static SVG subset. Scripts, CSS, animation and external resources are rejected.

Preview
Canvas

Your vector will appear here

Paste SVG source, run the check, then review and download the result here.

—
Paths
—
Shapes
—
Colors
—
File size

Example: check a supported static SVG

The self-authored SVG passes the supported static-content checks and produces a downloadable validation record.

Input339 B
The static blue S SVG used for the validation example
Download sample input
Actual output197 B

Supported static SVG checks passed

The downloadable record describes this sample and the supported subset, not full SVG conformance.

Download actual result
Parameters used
Valid XML; viewBox present; 2 supported shapes and 2 detected paint colors.
What this example does not prove
Passing this check does not certify every SVG-standard feature, design quality or third-party editor compatibility.

Self-authored test artwork, processed by the product on 2026-11-19. Not customer work or a guarantee for other inputs. View reproducibility record

What this tool does

Check XML syntax and the supported static SVG subset before using a drawing. The result reports issues or a safe preview; it is not a complete SVG-standard certification or automatic repair.

Input, output and limits

SVG source up to 512 KB → validation result. Local processing; scripts, CSS, animation and external resources are rejected.

Content reviewed: 2026-11-18 · Testing and known limits

How to use this tool

  1. 1

    Paste SVG code or select a file up to 512 KB.

  2. 2

    Run the check to parse XML and reject unsupported active or external content.

  3. 3

    Review the safe preview and missing-viewBox warning. Correct the source and check again before downloading.

Common questions

Does this check every SVG specification rule?
No. It checks XML parsing and the supported static SVG subset. It does not certify all SVG specification rules, accessibility, print production or cutting-machine compatibility.
Can the validator repair malformed SVG automatically?
Malformed XML and active content are rejected instead of guessed or silently repaired. Fix the source and rerun the check. Accepted documents are normalized before preview.
Why does a missing viewBox matter?
A viewBox defines the artwork coordinate rectangle used for scaling. A document can parse without one, but resizing or raster export may behave differently.
Can validation repair or shrink an SVG automatically?
This page checks the supported static subset and reports issues; it does not promise automatic repair. Correct the source before exporting. Use the minifier when your task is reducing file size.

A tool for the next step

Create, refine and export your SVG.