How to edit and optimize SVG icons
Import and preview
Upload an SVG or paste its markup in SVG markup, then choose Apply changes. The editor adds a missing SVG namespace automatically and removes unsafe or unsupported content before showing the preview.
Edit individual paths
Path data edits the drawing commands in a path’s d attribute. Use the path selector to choose a shape, paste raw commands or a complete path element, and apply the change. Full SVG exports retain the document; path-only copies omit other shapes and may need referenced definitions.
Convert stroke to shape
Open-line icons need their stroke to remain visible. Stroke to shape converts stroke-only paths into closed, filled geometry before stroke styling is removed. Numeric widths, caps and joins are respected. Mixed fill-and-stroke paths and gradient strokes are left unchanged with an explanation.
Inspect geometry
Enable Inspect to zoom from 25–800%, fit the icon, pan by mouse or touch, and show bounds or anchors for the selected path. Coordinates are local to the path; parent transforms are applied visually. Use +/−, 0 for Fit, Escape to leave Inspect, and arrow keys to pan with Pan enabled. Inspection never changes exports or Undo history.
Full stroke-to-shape guide and examples
Compress SVG paths
Compress path simplifies d data at five decimal places. It compresses the selected path in Path data mode and all paths in SVG markup mode, while retaining styling and transforms. The size summary shows before and after bytes and percentage saved. Tiny rounding differences are possible; inspect the result and use Undo or Redo.
Optimize the SVG file
Expand Optimize SVG to choose precision, multipass and cleanup plugins. Defaults retain viewBox, title, description and IDs. Lower precision can alter geometry. Gzip comparisons estimate compressed transfer size and do not change the downloaded file format.
Export SVG or PNG
Copy SVG or download SVG for editable vector markup. PNG is a raster image with a transparent background; choose a longest side from 24 to 1024 pixels. Aspect ratio and the preview color are retained.
Privacy and limitations
File contents are processed locally. SVG files must be smaller than 256 KB. Scripts, event handlers and external resources are removed. Filters, animation, text and use references are outside this icon editor’s allowlist, so complex artwork may change appearance. Keep the original and review exports.