<>

SVG Style to Attributes Converter

Convert SVG <style> tags to native SVG attributes

Many platforms (email clients, CMS systems, content sanitizers) strip <style> tags and style="..." attributes from SVGs for security reasons. This tool converts CSS rules into native SVG presentation attributes like fill="...", stroke="..." etc. — ensuring your SVG looks correct everywhere, without any CSS.

Paste your SVG code below, drag & drop an .svg file, or .

Input SVG
Output SVG