Skip to content
JS
Package

html-react-parser

HTML to React parser.

v6.1.8, 17 Sept 2026MITESM + CommonJSTypes: BundledParsers and serialisersReact
$ npm install html-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
02m4m6mSept 2025Mar 2026Sept 2026High 4.1m (18 Aug 2026)Low 1.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v6 first release 6.0.0, 2 Apr 2026
  2. v5 first release 5.0.0, 29 Oct 2023
  3. v4 first release 4.0.0, 31 May 2023
  4. v3 first release 3.0.0, 5 Jul 2022
  5. v2 first release 2.0.0, 18 Jun 2022
  6. v1 first release 1.0.0, 14 Dec 2020
  7. v0 first release 0.0.1, 23 Aug 2016

Recent releases

VersionPublished
6.1.817 Sept 2026
6.1.713 Aug 2026
6.1.613 Aug 2026
6.1.517 Jul 2026
6.1.43 Jul 2026
6.1.331 May 2026
6.1.222 May 2026
6.1.116 May 2026
6.1.05 May 2026
6.0.18 Apr 2026
6.0.02 Apr 2026
5.2.177 Feb 2026
5.2.163 Feb 2026
5.2.1531 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html-react-parser@6.1.8/
  • unpkghttps://unpkg.com/html-react-parser@6.1.8/
  • esm.shhttps://esm.sh/html-react-parser@6.1.8
PackageWeekly downloadsGzipLast releaseModuleComparison
htmlparser271.7m-6 months agoESM onlyhtmlparser2 vs html-react-parser
cheerio19.8m-8 months agoESM + CommonJScheerio vs html-react-parser
react-markdown-editor-lite49.1k-8 months agoESM + CommonJS-
cssom38.5m-5 years agoCommonJScssom vs html-react-parser
dom-parser51.5k-2 years agoCommonJS-
txml173.9k-25 days agoESM + CommonJS-
@auth0/xmldom60.1k-5 years agoCommonJS-
smol-toml24.7m-2 days agoESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.