Convert SVG to React

FAQ

Quick answers

How do I convert SVG to React?
Paste or upload an SVG in the Source panel — the React tab is already open. Copy the generated Icon component. Everything runs in your browser; nothing is uploaded to a server.
Can I export React Native too?
Yes. Open the React Native tab for react-native-svg output with numeric props and the matching import — same free browser tool.
Is this SVG to React converter free?
Yes. Free SVG to React / JSX conversion, no account required, and no file upload to a backend.
Do I need SVGR or a build plugin?
Not for a one-off icon. Paste it here, copy the JSX, and drop it into your app. Use SVGR when you regularly add .svg files to a repository — see the full guide for details.
Read the full guide →
Read the guide →

Source

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

Ready

React component