SVG Editor
MEMBERS NEWDraw and edit vector graphics on a canvas or in code, both live. Optimize, check and export them without a file leaving your device.
Canvas
Canvas
The code cannot be read. The canvas shows the last version that could.
Fill
Stroke
Text
Place and size
Effects
Nothing is selected. These are the properties of the drawing.
Drawing
Press an element to select it, arrows move it, Delete removes it, Ctrl D copies it. V selects, A edits points, P is the pen, R a rectangle, O an ellipse, T a text. Layers hold every element for the keyboard.
Code, live both ways
Code, live both ways
Weight
What the file weighs
All optimizations
Found a bug or missing something? Write to us
How it works
How to work with the editor
Open a file, paste code, or start from a template. The canvas and the code show the same drawing.
Press an element to move, size or turn it, switch to points to edit its path, or write in the code.
Read the checks, choose the optimizations and export SVG, PNG, WebP, JPEG, HTML, a data address or a React component.
Scope and limits
How a file is opened
Read strictly, drawn from a list of safe parts
Scripts, event handlers, embedded pages and outside addresses are never run or fetched. Each is named with its line and left out of every export.
Help
FAQ
Does an edit on the canvas change my formatting?
No. Moving or colouring an element changes the characters of that value and no others. Comments, order and indentation stay as you wrote them until you press Lay out or use the optimized code.
Is it safe to open an SVG from the internet here?
The file is not run. Its elements are drawn one by one from a list of safe names, inside a part of the page its styles cannot leave. Anything that would run code or load something is named and left out.
Which parts of SVG are not supported?
Links, foreignObject and fonts inside a file are not drawn. Animations play but are edited in the code. Style sheets are respected, and what they paint is changed in the sheet, not on the canvas.
How exact are the boolean operations?
Curves stay curves and are split where they cross. Outlines that lie exactly on one another are moved apart by two millionths of the size first. Outlines that cross themselves are taken as they are filled.
Can optimizing change the picture?
Rounding can. The tool draws both versions large and counts the pixels that differ, so you see it before you use the result. Ids are shortened and unused ones removed only when you switch that on.
Why does a text look different elsewhere?
A text is drawn with the fonts of the device that shows it. For a logo, draw the letters as shapes in a font program first; this editor does not turn text into outlines.
