Skip to content

HTML ↔ JSX Online Free

New

Convert HTML to React JSX and JSX markup back to HTML with attribute remapping.

  • Processed in your browser
  • Privacy-first
  • No account required
  • Nothing uploaded by default

Examples

HTML to JSX

<div class="card"></div>
<div className="card"></div>

How HTML ↔ JSX works

Convert HTML to React JSX and JSX markup back to HTML with attribute remapping. Runs locally in your browser.

  1. 1. Add input. Paste, type, or upload. Use a sample if you just want to see it work.
  2. 2. Run it. Processing happens in the browser.
  3. 3. Copy or download. Take the output and close the tab.
  • HTML to JSX
Does it convert class to className?
Yes. Common HTML attributes are remapped to their React equivalents.

ToolBay does not store your input. Close the tab and it is gone. More developer tools.