Check SVG XML syntax, viewBox, namespaces, broken references, and security issues
Drop an SVG to validate it
Or press Ctrl/⌘ V to paste a file or code. Runs 100% locally in your browser.
Detects malformed XML, unclosed tags, missing xmlns namespaces, missing or invalid viewBox values, and zero-dimension artboards.
Flags broken url(#id) or href links, duplicate element IDs, external network URLs, missing accessible titles, and embedded <script> or on* event handlers.
This free SVG validator inspects files locally in your browser with DOMParser. Nothing is uploaded, and there is no sign-up or watermark.
Need to know why an SVG fails to render in an <img> tag, breaks in Figma or Illustrator, or gets rejected by a CMS upload filter? This SVG validator parses your vector markup locally in your browser and runs structural, portability, accessibility, and security checks—with one-click fixes for common issues like missing xmlns or viewBox attributes.
Audit and fix SVG markup in three steps:
More free browser-based vector converters and editors in MintConvert.
Turn SVG into clean HTML, JSX, React, Vue, Svelte or CSS code
Generate crisp vector QR codes with custom shapes, colors and logos
Generate crisp vector barcodes (CODE128, EAN-13, UPC, Code 39) as SVG
Encode SVG files to Base64 Data URIs, CSS rules, or decode Base64 back to SVG
Beautify, indent, sort attributes, and format SVG XML markup cleanly in your browser
Export 1x–8x high-DPI transparent PNGs from vector files