luisleo526/doc2mark
AI-powered Python library that converts any document (PDF, Word, Excel, PowerPoint, HTML) to clean Markdown while preserving complex tables and layouts using AI-Powered OCR technology.
Supports pluggable OCR providers (OpenAI, Google Vertex AI, Tesseract) with per-call token tracking and specialized prompt templates for tables, forms, and handwriting. The unified API handles batch processing with parallel execution across 20+ formats, including legacy Office formats via LibreOffice, with configurable table output styles (HTML with colspan/rowspan, markdown grid, styled HTML).
47 stars and 1,332 monthly downloads. Used by 1 other package. Available on PyPI.
Stars
47
Forks
3
Language
Python
License
MIT
Category
Last pushed
Mar 04, 2026
Monthly downloads
1,332
Commits (30d)
0
Dependencies
11
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/luisleo526/doc2mark"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
any4ai/AnyCrawl
AnyCrawl π: A Node.js/TypeScript crawler that turns websites into LLM-ready data and extracts...
kreuzberg-dev/html-to-markdown
High performance and CommonMark compliant HTML to Markdown converter. Maintained by the...
lightfeed/extractor
Using LLMs and AI browser automation to robustly extract web data
ScrapeGraphAI/Scrapegraph-ai
Python scraper based on AI
paulpierre/markdown-crawler
A multithreaded πΈοΈ web crawler that recursively crawls a website and creates a π½ markdown file...