Visual vector editor powered by Excalidraw, formatter, and validator for SVG documents.
The markup is at the top. The canvas below draws it and exports it back.
Paste the SVG, format it so the groups and paths are readable, then validate. A valid document reports its root tag. An SVG missing xmlns, or a tag left open, fails validation before the browser draws it halfway.
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8"/></svg> is a circle. The viewBox is the coordinate system. When you export from the canvas, that XML comes back to the output panel to copy.
Draw on the canvas and export the SVG back into the text field. This is not a stand-in for Illustrator. It fits an icon, a short diagram, or cleaning a path before you paste it into a component.
The viewBox is missing, or width and height do not match the drawing. Add viewBox="0 0 width height" using the real bounds of the content.
Yes. Format it and delete comments and attributes you do not use. Validation only checks that the XML is well formed, not that the icon is small.
The canvas draws in the browser. Text formatting on this site follows the same API path as the other formatters.