Skip to main content

SVG optimiser

SVGs exported from Figma, Illustrator or Inkscape carry a lot of dead weight. This removes comments, editor namespaces and redundant whitespace, and rounds decimals to the precision you pick.

Drop an SVG, or click to chooseText .svg files only β€” no upload

Choose an SVG file first

Notes

  • Removed: XML declaration, comments, DOCTYPE, metadata, and editor namespaces such as inkscape/sodipodi.
  • Precision: 1–2 decimals for icons, 2–3 for illustrations. Zero decimals makes corners visibly angular.
  • IDs and references are left alone so <use>, gradients and clip paths keep working.
  • Most of the weight is usually the path data itself; this tool does not reshape paths.