SVG Sprite Symbol Extractor
ImageParse an SVG sprite sheet's <symbol> definitions and list each one's id, viewBox, width, and height, with a ready-to-paste <use href="#id"> usage snippet
Paste an SVG icon sprite sheet and get back a list of every <symbol> it defines: its id, viewBox, width and height when present, and a ready-to-paste <use href="#id"></use> snippet you can drop straight into your markup. This answers a question that comes up constantly with an icon-sprite workflow, what symbols does this sprite sheet actually contain, without having to scroll through the raw markup counting opening tags by hand. A symbol with no id attribute is skipped and counted separately, since it can't be referenced by a <use> element at all. It only reads and reports what's already there; it doesn't generate, optimize, or modify the sprite sheet itself, so pair it with the SVG Viewer tool if you need to clean up the source markup too.
How to use SVG Sprite Symbol Extractor
- 1.Paste your SVG sprite sheet's full markup, or click the example to see it in action.
- 2.Review the list of symbols found, each with its id, viewBox, and dimensions when the symbol defines them.
- 3.Copy the ready-to-paste <use> snippet for any symbol you want to reference in your HTML.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/svg-sprite-symbol-extractor \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\"><symbol id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M0 0h24v24H0z\"/></symbol></svg>"}'Get an API key from your dashboard · Full API docs →