Developers
nctools, in your terminal
The same document tools as nctools.eu, as a scriptable CLI. Convert PDFs, extract OCR text, merge files and build document pipelines — offline, with zero uploads. Run everywhere Node.js runs: Windows, macOS and Linux.
Install
Requires Node.js 20+.
npm (recommended)
$ npm install -g @nctools/cliInstalls the nctools command on your PATH.
npx — no install
$ npx @nctools/cli --helpRun any subcommand without installing.
Build from source
$ git clone https://github.com/ncore-org/nctools-cli
cd nctools-cli
npm install
npm run build
npm run linkLatest main-branch build. Requires a working Node toolchain.
Check your install
$ nctools --version
nctools --help
nctools pdf-to-word --helpThe nctools command exposes all 8 tools.
All 8 tools
paste-to-pdfTurn pasted text into a PDFpdf-to-wordConvert PDF → DOCXpdf-to-excelConvert PDF → XLSXpdf-to-ocrAdd a searchable OCR layerocr-to-textExtract text from images/scansphoto-scannerScan photos to clean PDFimages-to-pdfCombine images into one PDFmerge-pdfMerge multiple PDFs into oneOne-shot examples
PDF → Word
$ nctools pdf-to-word invoice.pdf --out invoice.docxPDF → Excel
$ nctools pdf-to-excel ./statements/*.pdf --out-dir ./sheetsOCR a scanned PDF
$ nctools pdf-to-ocr scan.pdf --out scan-searchable.pdfExtract text from a photo
$ nctools ocr-to-text receipt.jpg --out receipt.txtMerge PDFs
$ nctools merge-pdf a.pdf b.pdf c.pdf --out combined.pdfImages → one PDF
$ nctools images-to-pdf page1.png page2.png --out booklet.pdfPaste text → PDF
$ echo "Hello world" | nctools paste-to-pdf --out hello.pdfZero uploads
Every conversion runs locally on your machine. Your documents never leave your computer.
Open source
MIT-licensed monorepo. Each tool is a standalone package — reuse, fork, or publish your own.
Scriptable
Stable exit codes and JSON mode make the CLI perfect for CI pipelines and cron jobs.