SVG Icon Editor

Click any part of an SVG icon to recolour, restyle, move or delete it.

Replace colours across the whole icon, fix the viewBox, edit the code side by side, and export a clean SVG, PNG or ICO - all in your browser. Just need another format? Use SVG to PNG or SVG to ICO.

How to Edit an SVG Icon

  1. Open your icon. Drop an SVG or SVGZ file into the box, paste SVG code, or start from a sample icon.
  2. Select a shape. Click it on the canvas or in the layer list - a dashed box shows what is selected.
  3. Edit it. Change fill, stroke, width and opacity, move, rotate, flip, duplicate or delete it, or replace a colour everywhere.
  4. Export. Download a clean SVG, a PNG up to 1024 px or a multi-size ICO, or copy the SVG code.

Want it to move? Take your edited icon to the SVG Icon Animator.

Fill, Stroke and currentColor

Fill

The paint inside a shape.

Outline icons such as Lucide use fill="none".

Stroke

The line around a shape.

Stroke width sets how bold the icon looks - 1.5 to 2 is typical at 24 px.

currentColor

Takes the text colour of the page around the icon.

Keep it for icons that should follow your theme or dark mode.

Clean, Safe SVG Files

SVG is code, so a downloaded icon can hide scripts or tracking links.

The editor strips scripts, event handlers, embedded web pages and remote links before showing the file, and exports clean markup. To shrink the file further, run it through Compress SVG; to check what is inside, open it in the SVG Analyzer.

More tools for vector files live in SVG Tools.

Frequently Asked Questions

Drop your SVG file in the box (or paste its code). Click any shape on the canvas or in the layer list, then change its fill, stroke, stroke width or opacity, or move, rotate and flip it.

When you are happy, download it as SVG, PNG or ICO.

For one shape, select it and pick a new fill or stroke colour. To recolour the whole icon, use Colours in this icon - click a swatch and choose the new colour, and every shape that uses it changes at once.

Icons that use currentColor (like Lucide and Heroicons) take the colour of the text around them; set the preview colour to see how they look.

Yes. PNG export goes from 16 to 1024 pixels with an optional background colour, and ICO export packs 16, 24, 32, 48, 64, 128 and 256 px into one Windows icon file.

The file size shown is measured from the real file. For favicons with every size and the HTML tags, use SVG to Favicon.

Yes. Switch to Code or Split view. Changes in the code show on the canvas half a second after you stop typing, and changes on the canvas update the code - both stay in sync.

It trims the empty space around the artwork so the icon fills its box, keeping room for the stroke width. That fixes icons that look too small or off-centre next to others.

To change the pixel size without touching the artwork, edit width and height, or use the SVG Resizer.

Yes. SVG files can contain scripts, so the editor removes scripts, event handlers, embedded web pages and links to remote files before showing anything. The cleaned file is what you download.

Ctrl + Z undo, Ctrl + Y (or Ctrl + Shift + Z) redo, arrow keys move the selected shape, Delete removes it, Ctrl + D duplicates it and Esc clears the selection.

Nothing is uploaded - the editor works entirely in your browser. It opens SVG and SVGZ files up to 5 MB, which covers icons and most illustrations.

Guides & Tutorials

All 40 guides
Comparison ICO vs SVG: Which Icon Format Should You Use? Jun 2, 2025 · 4 min read Read Guide Old vs New ICO Files: Bitmap Icons, PNG Icons and Every Icon Type Explained Sep 28, 2026 · 7 min read Read Guide What Is an ICO File? How to Open, Create and Convert Icon Files Jun 2, 2025 · 4 min read Read