HTML → JSX converter
Paste any HTML to get React-ready JSX — class → className, for → htmlFor, inline style strings → camelCased object literals, void elements self-closed, comments rewritten, SVG presentation attrs renamed. Inline event handlers (onclick, onload) emit a JSX placeholder with the original payload preserved as a comment. Runs locally in your browser — the input never leaves the page.
HTML input
Paste a snippet, fragment, or full document. Multiple sibling roots are emitted as-authored — wrap them in a fragment if your JSX root needs it.
0 chars · 0 lines
Output
Paste HTML above to see the converted JSX here.