Description
PDFStract is a data preparation layer for retrieval-augmented generation pipelines. It turns PDFs into vector-ready text in three steps: extract, chunk and embed. Extraction uses more than ten libraries, including Marker, Docling and PyMuPDF4LLM, each suited to different kinds of document. Chunking offers more than ten methods, from simple token-based splitting to semantic chunking powered by AI. Embedding works with several providers, including OpenAI, Sentence Transformers and local models. A single API lets you switch libraries, chunkers and embedding providers with one parameter change. You can run it from the command line, for example pdfstract convert-chunk-embed document.pdf with automatic settings, from a web UI, or through the Python API. It is published on PyPI and licensed under MIT, and the code is on GitHub.…
Highlights
- Extracts PDFs with more than ten libraries
- Chunking with ten or more methods, including semantic
- Embeddings from OpenAI, Sentence Transformers or local models
- One command, a CLI, a web UI or the Python API
- MIT licensed and published on PyPI
Ratings & Reviews
No ratings yet
Be the first to rate Pdfstract.
People also visit
Pdfstract FAQ
What does PDFStract do?
It converts PDFs and splits them into chunks, then creates embeddings, so the text is ready for an AI retrieval pipeline.
How do I run it?
Use the command line, for example pdfstract convert-chunk-embed document.pdf, the web UI, or the Python API. It is published on PyPI.
Can I switch libraries or providers?
Yes. A single parameter switches between extraction libraries, chunkers and embedding providers.
Which embedding providers are supported?
The site lists OpenAI, Sentence Transformers and local models.
What is the licence?
MIT, according to the licence link on the site.
What are the best Pdfstract alternatives?
Popular alternatives to Pdfstract include Doctra, MinerU and Docuglean OCR. See all Pdfstract alternatives








