Back to Plugins
Clean SVG Export

Clean SVG Export

Export icons the nice way

Plugin Preview

Clean SVG Export preview

About this plugin

Export icons in a bulk to SVGs the nice way smaller size and happy devs!


  1. optimised by SVGO and cleaned up as much as possible,
  2. per icon merged to a single simplified path,
  3. outlined strokes,
  4. recursively removed groups & flattened masks & content clipping,
  5. outer frame content clipping,
  6. ignored invisible layers (opacity, no fill, hidden),
  7. positioned on pixel grid to avoid size error,
  8. mono-coloured to black (currentColor),
  9. exported as a ZIP file.


Also: receive warnings if the frames are not pixel perfect with decimal places.


Example format:

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">

<path fill="currentColor" d=".......path data....... "/>

</svg>


For the SVGO configuration used, see the list below. For explanations consult the documentation https://svgo.dev/docs/plugins/):

  1. removeAttrs
  2. removeDoctype
  3. removeXMLProcInst
  4. removeComments
  5. removeMetadata
  6. removeEditorsNSData
  7. cleanupAttrs
  8. cleanupIds
  9. mergeStyles
  10. inlineStyles
  11. minifyStyles
  12. removeUselessDefs
  13. cleanupNumericValues
  14. removeUnknownsAndDefaults
  15. removeNonInheritableGroupAttrs
  16. removeUselessStrokeAndFill
  17. cleanupEnableBackground
  18. removeHiddenElems
  19. removeEmptyText
  20. convertShapeToPath
  21. convertEllipseToCircle
  22. moveElemsAttrsToGroup
  23. moveGroupAttrsToElems
  24. collapseGroups
  25. convertPathData
  26. convertTransform
  27. removeEmptyAttrs
  28. removeEmptyContainers
  29. removeUnusedNS
  30. mergePaths
  31. sortAttrs
  32. sortDefsChildren
  33. removeDesc
  34. leanupListOfValues
  35. convertStyleToAttrs
  36. convertOneStopGradients
  37. removeRasterImages
  38. removeStyleElement
  39. removeTitle
  40. removeXlink
  41. removeAttrs(fill="none")
  42. removeAttrs(fill-rule and clip-rule)
  43. Other used settings: float precision 5, pretty true

Plugin Details

Version14
CreatedSeptember 19, 2025
Last UpdatedOctober 19, 2025
CategoryImport & export plugins
CreatorMatej Rajtar
Stats11 installs, 3 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:./plugin.html
  • main:./main.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • none