Often SVG or HTML copy-paste results in React errors
React does not accept normal HTML/SVG attributes there we have class which place className,
and stroke-width
Which place in CamelCase format strokeWidth
It is required. This tool will fix all those issues in seconds.
Converter Settings
Paste HTML / SVG
Code here
Clean React JSX
Output
React JSX Copied Successfully!
Conversion & Fixing Reports
Paste any code above to check live conversion statistics.
Visual Preview (HTML Style)
Nothing to preview.
Structure Status Checks
React version compatibility:
v16+ & v18 /
v19
CSS Inline styles status:
Not Detected
Self Closing Elements check:
Perfect