OpenDocKit
A Python tool that converts various document formats into Markdown that LLMs can read easily.
What does it do?
When a document is converted in Python, its text is organized as Markdown, images are collected in the result's images field, and [Image] markers remain at their original positions. Charts can become data tables, diagrams can become lists, and text from scanned pages can be transcribed. Results can be split by page, slide, or sheet, with their numbers stored in metadata for citations. Conversion runs offline without a GPU. Older .doc and .ppt files may optionally require a local LibreOffice installation.
Key features
- Convert PDF, Office, HWP/HWPX, ODF, RTF, EPUB, HTML, email, and images to Markdown
- Collect images separately while retaining position markers in the text
- Convert charts to data tables and diagrams to lists, and transcribe scanned pages
- Generate page-, slide-, or sheet-level results with numbered metadata for citations
- Convert documents offline without a GPU
- Available under the MIT license