Tools

SVG to code

Paste or drop an SVG and get JSX, a ready-to-paste React component, cleaned HTML, or a data URI. Attributes are renamed for React, inline styles become objects, and colours can be swapped for currentColor so CSS drives them.

Options
Load
SVG source
Output