← Hyeonsang Cho's projects
Repo

OpenDocKit: turn any document into clean Markdown for your LLM

Most document converters do fine on a tidy English PDF and fall apart on real files: a scanned contract, a spreadsheet with merged cells, a Korean HWP form. **OpenDocKit** is an open-source Python library that converts them all into Markdown an LLM can actually use. - **One call, many formats**: PDF, DOCX, PPTX, XLSX, HWP/HWPX, HTML, EPUB, RTF, ODF, email and images - **Structure kept**: headings, lists, tables and reading order, not a wall of text - **Offline and deterministic**: conversion never touches the network, and the same file always gives the same output - **Pictures, if you want them**: an optional vision model reads charts, diagrams and scanned pages into text, placed where the image was - **Built for servers**: size, time and character limits, and warnings instead of silent losses - **Plugs in where you work**: LangChain, LlamaIndex, MCP, Dify and Open WebUI pip install opendockit from opendockit import convert print(convert(data, "report.pdf").text) Every rule in it exists because a real document broke, and each one is pinned by a test. Try it on your worst file and tell me what breaks: [github.com/hyeonsang010716/OpenDocKit](https://github.com/hyeonsang010716/OpenDocKit)

Built withclaudeopenaigeminiAIOpen SourceRAGDocument ProcessingAI AgentsDeveloper ToolsPythonLLM

Comments · 0

No comments yet. Tried it? Tell Hyeonsang what worked, what didn't, or what you'd want next.
Sign in to comment

More from members

All projects

See what other members are building and what each project is looking for.