An SVG validator checks your SVG markup for XML well-formedness, correct SVG namespace, valid element names, security risks, and attribute requirements. Valid SVG renders correctly across all browsers, graphic editors, and document processors — paste your markup below to catch issues before they cause problems.

Common SVG Elements Reference

Valid SVG elements include: svg g path circle rect line polyline polygon ellipse text tspan defs use symbol clipPath mask filter linearGradient radialGradient stop pattern image title desc animate animateTransform and more.

The SVG namespace is http://www.w3.org/2000/svg — the root <svg> element must declare this with xmlns="http://www.w3.org/2000/svg".