About SVG Editor
Write or paste SVG code and see the picture straight away. The preview updates as you type, shows how big the image is and what it is made of, and warns you if the file contains scripts or links to other websites. You can shrink the file, remove risky content, and save the result as an SVG or a PNG picture at up to four times the size. Everything stays in your browser and nothing is uploaded.
How to use SVG Editor
- Press Sample, Open file, or paste your SVG code into the box.
- Check the preview. Switch the background to Checker, White or Dark to see transparent areas and light shapes.
- Press Minify to make the file smaller, and Remove risky content if a warning appears.
- Press Download SVG, or choose a scale and press Download PNG.
Tips and good to know
- This is a code editor with a live preview, not a drawing tool. To draw by hand, use a vector app and paste its SVG here to tidy it up.
- Without a viewBox an SVG cannot scale properly. Add one, such as viewBox="0 0 100 100", so the picture resizes cleanly.
- Minify removes comments, editor data from Inkscape and similar apps, and extra line breaks. If your file contains text it keeps the spacing as it is, so words never change.
- The preview is shown as a picture, so scripts inside it never run. The warning matters when you put the file on a website or open it directly.
- For a PNG, a scale of 2× gives a sharp picture for screens with high pixel density.
Frequently asked questions
Is my SVG uploaded?
No. It is shown and converted in your browser. Nothing is sent anywhere.
Why does the preview say there is a problem?
The code is not valid XML, for example a tag is not closed or an attribute is missing its quotes. The message names the first problem the browser found.
Why is my PNG blank or missing parts?
Pictures that load files from other websites, or use HTML inside the SVG, cannot be drawn into a PNG. Embed images as data: URLs instead.
What does Remove risky content take out?
Script elements, foreignObject, event attributes like onclick, javascript: links, and links or CSS that load from other websites. It does not change the shapes.
Does Minify change how the picture looks?
It should not. It only removes parts that have no visual effect. Compare the preview before and after, and keep a copy of the original.
Is SVG Editor free?
Yes. SVG Editor is free: no sign-up, no paid plan, no trial and no limit on how often you use it. It runs in your browser, and ToolzAura is paid for by ads, so every tool stays free.
Are my files uploaded?
No. This tool runs in your browser, so your input stays on your device.