dbashford/textract
node.js module for extracting text from html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf and more! observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 57
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4880
- days_rel: n/a
- days_push: 261
- n_releases_24m: 0
Adoption not part of the score
1694 stars · 198 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js library that extracts plain text from many document formats including HTML, PDF, DOC/DOCX, XLS/XLSX, CSV, PPTX, RTF, EPUB, and images via OCR. It dispatches based on MIME type and shells out to external tools like pdftotext, antiword, and tesseract for some formats.
Use cases
- extract text from pdf files in node
- parse text out of word documents
- convert docx to plain text
- ocr text from images png jpg
- extract text from excel spreadsheets
- index document contents for search
- pull text from pptx presentations
When to choose
- you need a single Node.js API for many document formats
- you are okay installing external binaries like pdftotext or tesseract
- you want simple text extraction rather than structured parsing
When to avoid
- you need structured data (tables, layout) rather than raw text
- you cannot install system-level external dependencies
- you need pure-JavaScript extraction with no native tool dependencies
Facets
library · maturity maintenance
ocr parser pdf nlp files pdf developer-tools cross-platform text-extraction document-parsing mime-type office-documents tesseract natural-language-processing nodejs
1 source
- readme: https://github.com/dbashford/textract · fetched 2026-08-28 · 4273a397ad71
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dbashford/textract | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="dbashford/textract")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem