HTML/CSS to CSS Module Converter
Paste your HTML code and get valid JSX with proper React syntax
HTML Input
JSX Output
Click 'Convert to JSX' to see the converted code...
Tips:
- HTML attributes like
class
will be converted toclassName
- Self-closing tags will be properly formatted with
/>
- Inline styles will be converted to React style objects
- HTML comments will be converted to JSX comments