Skip to content
JS
Package

pdf2json

PDF file parser that converts PDF binaries to JSON and text, powered by porting a fork of PDF.JS to Node.js

v4.1.0, 11 Sept 2026Apache-2.0ESM + CommonJSTypes: BundledParsers and serialisersPDF and documents
$ npm install pdf2json

Key numbers

As of 25 Sept 2026
Weekly downloads
330.7k
+63% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
13 days ago
v4.1.0
GitHub stars
2.2k
394 forks
Open issues / PRs
73 / 6
Contributors
-
Commits, last 52 weeks
21

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 598.5k (16 Jun 2026)Low 159.3k (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.

330,657 downloads last week, 1,644,263 in the last month. The 12-month change of +63% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
5117 in total
Latest version
4.1.0, 11 Sept 202613 days ago
First published
9 Nov 2012
Last push to GitHub
11 Sept 202613 days before the snapshot
Repository archived
No
Open issues
73
Open pull requests
6
Commits, last 52 weeks
21
Dependents on npm
166

Major versions

  1. v4 first release 4.0.0, 12 Oct 2025
  2. v3 first release 3.0.0, 23 Oct 2022
  3. v2 first release 2.0.0, 20 Nov 2021
  4. v1 first release 1.0.1, 29 Feb 2016
  5. v0 first release 0.1.2, 9 Nov 2012

Recent releases

VersionPublished
4.1.011 Sept 2026
4.0.316 Apr 2026
4.0.217 Jan 2026
4.0.17 Jan 2026
4.0.012 Oct 2025
3.2.219 Sept 2025
3.2.113 Sept 2025
3.2.026 Jul 2025
3.1.624 May 2025
3.1.53 Jan 2025
3.1.49 Aug 2024
3.1.325 May 2024
3.1.24 May 2024
3.1.11 May 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.23.2
Runtimes
-
Unpacked size (npm)
11.4 MB
Dependencies (0)
None
npm install pdf2json
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pdf2json@4.1.0/
  • unpkghttps://unpkg.com/pdf2json@4.1.0/
  • esm.shhttps://esm.sh/pdf2json@4.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@opendataloader/pdf12.1k-3 days agoESM + CommonJS-
@firecrawl/pdf-inspector-wasm7k-2 days agoESM only-
export-from-json64.8k-1 month agoESM + CommonJS-
@libpdf/core92.9k-24 days agoESM only-
pptx-text-parser6.6k-3 years agoCommonJS-
word9.2m-6 years agoCommonJS-
pptx-viewer-core17.2k-todayESM + CommonJS-
excel-formula-tokenizer15.9k-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.