Detected references
The checker scans SVG attributes for url(#id), href="#id", and xlink:href="#id" references.
Use cases
Use it after editing defs, merging SVGs, exporting sprites, or manually deleting gradients, masks, clipPaths, and symbols.
Check SVG url(#id), href, and xlink:href references and report unresolved IDs.
Loading...
Page context
Broken ID Detector checks SVG url(#id), href, and xlink:href references and reports unresolved IDs.
The checker scans SVG attributes for url(#id), href="#id", and xlink:href="#id" references.
Use it after editing defs, merging SVGs, exporting sprites, or manually deleting gradients, masks, clipPaths, and symbols.
Broken ID Detector parses the document locally and validates it against structural rules and this tool's focus area, reporting each finding with enough context to locate it.
Typical issues include missing viewBox attributes, duplicate IDs, unsafe active content, and deprecated structures. Most have a direct fix in the matching edit or optimize tools.
Parse errors and unsafe content are hard failures; style-level findings need judgment based on where the SVG ships. Automated checks complement, not replace, a visual review.
Validation runs locally in your browser. Files are parsed in the page and never uploaded.
Check SVG url(#id), href, and xlink:href references and report unresolved IDs.
Choose an SVG file, paste SVG markup, or load the sample to begin.