Skip to content
JS
Package

textract

Extracting text from files of various type including html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf, text/*, and various open office.

v2.5.0, 3 Jun 2019MITCommonJSTypes: NonePDF and documentsParsers and serialisers
$ npm install textract

Key numbers

As of 25 Sept 2026
Weekly downloads
12.9k
-23% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
14
Direct, from package.json
Last release
7 years ago
v2.5.0
GitHub stars
1.7k
198 forks
Open issues / PRs
61 / 12
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30kSept 2025Mar 2026Sept 2026High 22.6k (28 Oct 2025)Low 12.9k (15 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

12,858 downloads last week, 65,341 in the last month. The 12-month change of -23% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.5.0, 3 Jun 20197 years ago
First published
-
Last push to GitHub
15 Dec 2025283 days before the snapshot
Repository archived
No
Open issues
61
Open pull requests
12
Commits, last 52 weeks
0
Dependents on npm
55

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.8
Runtimes
-
Unpacked size (npm)
116 kB
Dependencies (14)
jgotmeowmimeepub2xpathyauzlmarkedxmldomcheeriojschardeticonv-litehtml-entitiespdf-text-extract
npm install textract
  • jsDelivrhttps://cdn.jsdelivr.net/npm/textract@2.5.0/
  • unpkghttps://unpkg.com/textract@2.5.0/
  • esm.shhttps://esm.sh/textract@2.5.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@nosferatu500/textract11.1k-3 years agoCommonJS-
officeparser568.9k-8 days agoESM + CommonJS-
xlsx9.3m-4 years agoESM + CommonJS-
chromiumly11.9k-1 month agoCommonJS-
@cj-tech-master/excelts11.8k-3 months agoESM + CommonJS-
kordoc12.3k-todayESM + CommonJS-
office-text-extractor26.9k-8 months agoESM only-
filefy119.6k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.