Remove SVG Presentation Attributes

Delete fill/stroke/opacity attributes — no CSS rewrite, inheritance takes over

Strip inline styles? Strip inline stylesFill color with CSS? Fill color with CSS

FAQ

Quick answers

What happens when I remove SVG presentation attributes?
fill, stroke, opacity, and other presentation attrs are deleted. Geometry (d, cx, points) stays. CSS or UA defaults then paint the shape.
Is this the same as converting attributes to CSS?
No. Convert-to-CSS keeps the look in a stylesheet. Remove means the attributes are gone.
Will the icon disappear after removing fills?
It may fall back to black or inherit. Add CSS or currentColor if you still need a fill.
Are style="" attributes removed too?
This pass targets presentation attributes. Use Strip Inline Styles for style="".
Strip inline styles → Fill color with CSS → Colors → CSS variables → Fill on hover →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina