Read local documents as Markdown: PDF, Word, PowerPoint, Excel, HWP/HWPX, OpenDocument, RTF, EPUB, HTML and email, whole or by page, slide or sheet. Offline, through the OpenDocKit MCP server, with a skill for reading long documents in parts.
Turn any document into clean, LLM-ready Markdown.
PDF · DOCX · PPTX · XLSX · HWP/HWPX · ODF · RTF · EPUB · HTML · email · images
One Python function. No GPU, no model to download, MIT licensed.
Pictures and scans read by OpenAI, Claude or Gemini · LangChain · LlamaIndex · LightRAG · MCP · Dify · Open WebUI
from opendockit import convert_file
result = convert_file("quarterly-report.hwp")
result.text # Markdown: headings, tables, lists, footnotes, LaTeX equations
result.sections # per page / slide / sheet — for chunking and citations ("page 3")
result.warnings # what was skipped or approximated, in plain sentences
Why OpenDocKit
Most converters handle the happy path. OpenDocKit is built for the files people actually upload.
Structure is kept. Merged table cells, multi-column PDFs, borderless tables, nested lists, footnotes,
speaker notes, native charts as data tables, SmartArt as nested lists, Word / PowerPoint / Hancom equations (also Equation Editor
3.0 and MathType objects) as LaTeX, links and bold / italic as Markdown.
First-class Korean documents. A from-scratch HWP 5.x parser, HWPX, CP949 detection, NFC normalization, and the
form-heavy tables Korean offices produce. Most general-purpose converters cannot read these at all.
Detects by content, not extension. An HTML table saved as .xls, a CSV with a title block, an MHTML page named
.doc: each is read as what it really is, and a warning tells you.
Safe on untrusted uploads. Zip bombs, runaway merged-cell counts, recursive PDF objects and multi-gigabyte images
are bounded. IsolatedConverter runs every file in a disposable worker process with memory and time limits.
Pictures read by the model you choose. Pictures, charts and scanned pages are extracted and filtered. Plug in
OpenAI, Claude or Gemini and each one is described, or only transcribed, right where it appeared in the document.
A hard character budget.max_charsstops work instead of truncating afterwards, so a file that will be
rejected anyway costs neither parsing time nor vision-model calls.
At home in Python. One pip install and one function. There are loaders for LangChain, LlamaIndex and
LightRAG, an MCP server for agents, a document loader for Open WebUI, and plugins for Dify, Hermes Agent and Claude
Code.
Permissive by default. MIT licensed; everything a plain pip install opendockit brings in is MIT / BSD /
Apache-style (no PyMuPDF, no pyhwp), with no ML models and no GPU. The only copyleft code is behind the opt-in
heic extra.
The numbers behind these claims, and the places where OpenDocKit loses, are in How it compares.