How to use
- Select an output mode: HTML, JSX (React), or Vue Template.
- Paste your SVG markup into the input field.
- Read the converted code in the output box, where JSX mode renames class to className and converts kebab-case attributes to camelCase.
- Copy the output with the copy button.
- Verify the live SVG preview below the output to confirm the graphic looks correct.
Examples
- Pasting an SVG with class="icon" and stroke-width="2" in JSX mode outputs className="icon" and strokeWidth="2".
- Switching the same input to Vue Template mode replaces class= with :class= while leaving all other attributes unchanged.