remarkablemark/html-react-parser
📝 HTML to React parser. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 97
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10
- age_days: 3666
- days_rel: 20
- days_push: 8
- n_releases_24m: 32
Adoption not part of the score
2426 stars · 140 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
html-react-parser is an npm library that converts HTML strings into React elements, working on both the server (Node.js) and the client (browser). It supports options like replace and transform for customizing how elements are converted.
Use cases
- convert html strings to react elements
- render html content from a cms in react
- parse html into jsx components
- sanitize and render user-provided html in react
- replace or transform specific html elements during parsing
- render html on the server with ssr in react
When to choose
- you need to render raw HTML strings inside a React app
- you want to convert HTML to React elements on both server and client
- you need fine-grained control over how HTML elements map to React components
When to avoid
- you need full HTML sanitization against XSS as a primary security boundary
- you are not using React
- you need a general-purpose HTML scraper or extractor rather than React element conversion
Facets
library · maturity stable
parser web-development frontend parsers browser react html jsx typescript npm dom nodejs javascript
1 source
- readme: https://github.com/remarkablemark/html-react-parser · fetched 2026-08-28 · 3f288a68d72a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| remarkablemark/html-react-parser | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="remarkablemark/html-react-parser")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem