The SVG Editor shows your drawing and its code side by side. Whatever you change in the code appears in the preview right away - and whatever you move, resize or recolor on the canvas shows up in the code. That makes it quick to adjust icons, logos, charts and illustrations without opening a large graphics program.
Everything runs in your browser. Files are not uploaded, there is no sign-up and no advertising.
Tags, attributes and values in their own colors, line numbers, indenting with Tab, automatic closing of tags and a clear error message with the line number.
Click, drag, resize with the handles, rotate, flip, duplicate, bring forward or send backward - rectangles, circles, paths, polygons, text and groups.
Fill and outline with a color picker or as a value, opacity, outline width, dashed lines, round or square line ends.
Any grid spacing, in the drawing's own coordinates. Shapes snap exactly onto the lines - or untick "Snap" to move them freely.
Rectangle, ellipse, circle, line, freehand and text - with your choice of colors for new shapes.
SVG (as written, tidied up or shrunk), PNG with a transparent background, JPG, WebP, data URI, Base64, CSS and React component.
No. The editor runs entirely in your browser. Files you open and your code are never sent to a server; a draft is only kept in your browser's local storage.
Open or paste your SVG, click "Export", choose PNG, pick a size (1×, 2×, 4× or your own) and click "Download". The background stays transparent unless you choose a color.
Yes. Click a shape to select it. You can drag it, resize it with the small squares, rotate, flip and recolor it. The code on the left changes along with it.
The grid shows guide lines in the drawing's own coordinates. When it is on, shapes you move or draw snap exactly onto the grid lines. Untick "Snap" to keep the grid visible but move shapes freely.
Yes. Choose "React component (JSX)" in the export. Attributes such as stroke-width become strokeWidth, class becomes className, and the component accepts further props.
No. The editor is free, without ads and without sign-up.