SVG Editor
Edit, preview, optimise, and export SVG graphics
Free Online SVG Editor — Edit, Preview, and Export SVG Code
SVG (Scalable Vector Graphics) is the standard format for vector images on the web. Unlike PNG or JPEG, SVG files are written in XML. They scale to any size without losing quality, load fast, and are fully editable with code. They are used for icons, logos, illustrations, charts, animations, and interactive graphics. If you work with web design, development, or digital marketing, you will use SVG files regularly.
This free SVG Editor lets you write and edit SVG code in a dark-themed code editor with a live preview panel. You see changes instantly. Insert shapes from the toolbar — rectangles, circles, lines, text, polygons, stars, and paths — and customise them in code. When you are done, copy the SVG, download it as an SVG file, or export it as a high-resolution PNG or JPG image. You can also run the built-in optimiser to remove comments, collapse whitespace, and reduce file size.
Everything runs in your browser. No data is uploaded. No account required. The split-view layout lets you edit code and see the result side by side on desktop, and stacks vertically on mobile for a fully responsive experience.
SVG Editor Features
Live Code Editor
Dark-themed code editor with monospace font. Write or paste SVG code and see changes reflected in the preview panel instantly.
Shape Toolbar
Insert rectangles, circles, ellipses, lines, text, polygons, stars, and bezier paths with one click. Customise attributes in code.
Multi-Format Export
Download as SVG for vector use, or export as 2x PNG or JPG for raster use. All exports are generated client-side in your browser.
SVG Optimiser
Remove comments, collapse whitespace, and strip unnecessary characters. See the byte count and percentage saved instantly.
Split / Code / Preview
Three view modes: split (side by side), code only, or preview only. The layout adapts to your screen size.
Checkerboard Preview
The preview panel uses a checkerboard background so you can clearly see transparent areas in your SVG.
