Any document in.
Clean text out.

PDFs, Office docs, HTML, email, EPUB — even scans. One HTTP endpoint turns any of it into clean plain text. Built for LLM ingestion, RAG pipelines, and search indexing. No parsers to write, nothing to host.

1,000+ formats · OCR for scans · free tier stays free

Try them all →

the-problem

Every pipeline ends up with a parser zoo.

The document formats never stop coming — and each one grows its own library, its own edge cases, its own 2 a.m. failure mode. You wanted to build a product; instead you're maintaining an extraction stack.

Delete the parser zoo. txtfetch collapses it into one call — Apache Tika and Tesseract OCR, run for you, behind an endpoint that always answers with text.

  • pdf-parse# chokes on scanned pages
  • mammoth# .docx only, loses tables
  • cheerio# HTML only, you write the selectors
  • xlsx# one more dependency to patch
  • mailparser# attachments are your problem
  • tesseract.js# now you run OCR infra
  • $ npm uninstall --all-of-it

how-it-works

Three steps. Two of them are ours.

  1. Send anything

    POST a file or pass a URL and txtfetch fetches it for you. PDF, DOCX, PPTX, XLSX, HTML, EPUB, email — 1,000+ formats.

  2. We detect & extract

    Format detection, structure-aware parsing with Apache Tika, and Tesseract OCR when the document turns out to be pixels.

  3. Get clean text

    A JSON response with the document's plain text — ready to chunk, embed, index, classify, or archive. Nothing stored.

Read the full pipeline →


formats

Every extension is a parser you don't write.

Most extraction tools stop at PDFs and scanned pages. txtfetch also handles email (.eml/.msg/.mbox), Office documents natively, EPUB, ODF, spreadsheets, and archives — one path for every file type, not just the ones that look like paper.

  • .pdf
  • .docx
  • .doc
  • .pptx
  • .ppt
  • .xlsx
  • .xls
  • .csv
  • .html
  • .xml
  • .epub
  • .rtf
  • .odt
  • .ods
  • .odp
  • .md
  • .eml
  • .msg
  • .mbox
  • .txt
  • .json
  • .png
  • .jpg
  • .tiff
  • + ~980 more

Powered by Apache Tika — two decades of format archaeology, maintained by the people who wrote the book on it. Scans and images route through Tesseract OCR automatically.

Browse all 1,000+ formats →


pricing

Priced per document, not per surprise.

Hobby$0/mo500 documents / month
Developer$19/mo10,000 documents / month
Scale$99/mo100,000 documents / month

Hobby is free — permanently, no card. Full pricing →

Stop parsing. Start shipping.

Create an account and get an API key in minutes — the free Hobby plan needs no card.

Get started →