Convert SVG Inline Styles to Presentation Attributes

Turn style="..." declarations into presentation attributes

Attributes → inline? Attributes → inlineClasses → attributes? Classes → attributes

FAQ

Quick answers

How do I convert SVG inline styles to attributes?
Paste SVG and click Convert to attributes to expand style="..." into fill, stroke, and friends.
Why prefer presentation attributes over inline styles?
Some optimizers and icon pipelines expect attributes instead of CSS declarations.
Need the reverse conversion?
Open Attributes → Inline to move the other way.
Is this conversion free in the browser?
Yes — free, no upload.
Attributes → inline → Classes → attributes → Remove style tags → Remove hardcoded fills →
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