Skip to content

SVG Validator and Accessibility Checker

About the SVG Validator and Accessibility Checker

Check an SVG for syntax errors, broken references, invalid path data, unsafe content and missing accessible names. Each finding explains the problem and the fix. Runs in your browser.

How to use it

Examples

Questions

Is my SVG uploaded?
No. Checking runs in your browser.
Is this a full schema validation?
No. It checks that the XML is well-formed, the root is an SVG, values such as the viewBox, transforms, shapes and path data can be read, ids and references are consistent, and nothing unsafe is present. It does not check every attribute against the SVG specification.
What counts as unsafe?
Scripts, event handler attributes, javascript: links, references to files on other servers, and DOCTYPE or entity declarations. They are errors even if the SVG renders, because they can run code or make network requests.
What does the accessibility check cover?
Whether the SVG has an accessible name (title, aria-label or aria-labelledby) or is marked decorative with aria-hidden, plus common mistakes such as an empty title or a name that is hidden. It cannot tell you whether the description is good.
Why does it list line numbers only sometimes?
Syntax errors use the position the XML parser reports. Other findings are located by searching your markup, which works for most but not every case.

Free and runs in your browser. Sign in only if you want to save your work.