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.
Frequently Asked Questions
Is this SVG editor free?+
Can I import an existing SVG?+
What export formats are supported?+
Does the optimiser change my SVG?+
Does this tool send data to a server?+
Can I add custom SVG elements from code?+
Does it work on mobile?+
What is the checkerboard background?+
Why Edit SVG in Code?
SVG (Scalable Vector Graphics) is an XML-based format perfect for logos, icons, and illustrations that need to scale to any size without quality loss. Editing SVG code directly gives you precise control over every attribute — positions, colors, gradients, animations, and more.
How to use the Free SVG Editor
- Write or paste SVG code in the editor.
- Use the toolbar to insert shapes.
- Switch between code, preview, or split view.
- Click Optimize to reduce file size.
- Export as SVG, PNG, or JPG.
What this tool handles
Live Preview
See your SVG rendered in real time as you edit the code.
Shape Insertion
Quick-insert rectangles, circles, lines, text, polygons, stars, and paths.
SVG Optimizer
Remove whitespace and comments to reduce file size.
Multi-Format Export
Download as SVG, PNG (2x resolution), or JPG.
Frequently asked questions
Is this SVG editor free?
▼
Can I import an existing SVG?
▼
What export formats are supported?
▼
Does the optimiser change my SVG?
▼
Does it send data to a server?
▼
Can I add custom elements?
▼
Does it work on mobile?
▼
What is the checkerboard background?
▼
Related Tools You Might Like
Image Converter
Convert between JPG, PNG, WebP, GIF, and more formats
HEIC to JPG Converter
Convert Apple HEIC photos to universal JPG format online instantly
HEIC to PNG Converter
Convert Apple HEIC photos to lossless PNG format with transparency online
HEIC Viewer
Open HEIC and HEIF photos in your browser with no codec and no upload
HEIC Metadata Viewer
Read the EXIF hidden inside a HEIC: capture time, camera, exposure and GPS
HEIC File Checker
Find out why a HEIC will not open: cut short, wrong codec, or wrong extension
