How to use it
Convert HTML to JSX: className, htmlFor, style objects, self-closing tags, comments and event handlers. Paste HTML above and choose whether the result is a JSX snippet or a component.
Example
Input: <button class="save">Save</button>
Output: <button className="save">Save</button>Limits and behavior
- Attribute names are converted for JSX; embedded JavaScript is not executed.
- Input is limited to 1 MiB of UTF-8 text.