Package
html-react-parser
HTML to React parser.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.7m
- +56% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 7 days ago
- v6.1.8
- GitHub stars
- 2.4k
- 142 forks
- Open issues / PRs
- 12 / 0
- Contributors
- -
- Commits, last 52 weeks
- 541
Downloads
Last week 2026-09-15 to 2026-09-21
2,709,725 downloads last week, 14,023,347 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 22174 in total
- Latest version
- 6.1.8, 17 Sept 20267 days ago
- First published
- 23 Aug 2016
- Last push to GitHub
- 25 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 12
- Open pull requests
- 0
- Commits, last 52 weeks
- 541
- Dependents on npm
- 1,885
Major versions
- v6 first release 6.0.0, 2 Apr 2026
- v5 first release 5.0.0, 29 Oct 2023
- v4 first release 4.0.0, 31 May 2023
- v3 first release 3.0.0, 5 Jul 2022
- v2 first release 2.0.0, 18 Jun 2022
- v1 first release 1.0.0, 14 Dec 2020
- v0 first release 0.0.1, 23 Aug 2016
Recent releases
| Version | Published |
|---|---|
| 6.1.8 | 17 Sept 2026 |
| 6.1.7 | 13 Aug 2026 |
| 6.1.6 | 13 Aug 2026 |
| 6.1.5 | 17 Jul 2026 |
| 6.1.4 | 3 Jul 2026 |
| 6.1.3 | 31 May 2026 |
| 6.1.2 | 22 May 2026 |
| 6.1.1 | 16 May 2026 |
| 6.1.0 | 5 May 2026 |
| 6.0.1 | 8 Apr 2026 |
| 6.0.0 | 2 Apr 2026 |
| 5.2.17 | 7 Feb 2026 |
| 5.2.16 | 3 Feb 2026 |
| 5.2.15 | 31 Jan 2026 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 480 kB
- Dependencies (4)
domhandlerstyle-to-jsreact-propertyhtml-dom-parser- Peer dependencies (2)
react@types/react
npm install html-react-parser- jsDelivr
https://cdn.jsdelivr.net/npm/html-react-parser@6.1.8/ - unpkg
https://unpkg.com/html-react-parser@6.1.8/ - esm.sh
https://esm.sh/html-react-parser@6.1.8
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| htmlparser2 | 71.7m | - | 6 months ago | ESM only | htmlparser2 vs html-react-parser |
| cheerio | 19.8m | - | 8 months ago | ESM + CommonJS | cheerio vs html-react-parser |
| react-markdown-editor-lite | 49.1k | - | 8 months ago | ESM + CommonJS | - |
| cssom | 38.5m | - | 5 years ago | CommonJS | cssom vs html-react-parser |
| dom-parser | 51.5k | - | 2 years ago | CommonJS | - |
| txml | 173.9k | - | 25 days ago | ESM + CommonJS | - |
| @auth0/xmldom | 60.1k | - | 5 years ago | CommonJS | - |
| smol-toml | 24.7m | - | 2 days ago | ESM + CommonJS | - |
Related
Indexability: Indexed.