Camelot
Python library for extracting tables from PDF files.
About
Camelot is a Python library that extracts tables from PDF files into pandas DataFrames. Text-based documents need no OCR, and optional OCR support extends coverage to scanned, image-only PDFs. Several parsing flavors are available: lattice for tables with ruled lines, stream for whitespace-separated layouts, network and hybrid parsers based on text alignment, and an optional neural backend using a Table Transformer model for complex borderless tables, plus an auto-detection mode. Each extraction carries accuracy and whitespace metrics so poor results can be filtered or tuned, with configuration for table regions, column separators, and text processing. Tables export to CSV, JSON, Excel, HTML, Markdown, and SQLite, and input can come from file paths, URLs, raw bytes, or file-like objects. The default pdfium backend keeps the core install light, with PyTorch loading only for the ML parser, and a command-line interface is included. Camelot is MIT licensed and popular with analysts automating data extraction from reports and public documents.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- OCR & Document Processing
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Beginner (1/5)
- License
- MIT
- Added
- Apr 3, 2026
Related Tools
Deep learning based OCR library in Python and TensorFlow/PyTorch.
One-stop tool for high-quality PDF extraction to Markdown or JSON.
Python bindings for MuPDF library for fast PDF text and image extraction.
Tool for extracting tables from PDF files into CSV or DataFrame format.
Ready-to-use OCR library supporting 80+ languages with simple Python API.
Document parsing library by IBM for converting PDFs and documents to structured data.