kordoc

📄 한국 공문서를 AI가 읽고 쓰게 합니다. HWP·HWPX·PDF·오피스·스캔 이미지를 Markdown으로, Markdown을 HWPX 공문서로 바꾸고 양식 채우기·신구대조·서식 보존 편집까지.

What is kordoc?

📄 한국 공문서를 AI가 읽고 쓰게 합니다. HWP·HWPX·PDF·오피스·스캔 이미지를 Markdown으로, Markdown을 HWPX 공문서로 바꾸고 양식 채우기·신구대조·서식 보존 편집까지. 라이브러리·CLI·MCP 서버 | Korean documents for AI: HWP, HWPX, PDF, Office and scans to Markdown, and Markdown back to HWPX. Library, CLI and MCP server.

Overview of kordoc

What it is

kordoc is a CLI and MCP server tool that converts Korean document formats (HWP 3.x, 5.x, HWPX, HWPML, PDF, XLS, XLSX, DOCX, PPTX, PNG, JPG, WebP) to Markdown and structured data. It can be used as a library, CLI, or MCP server. The project is open source under the MIT license.

Key features

  • Document reading: converts documents to Markdown, IR, per-page text, and RAG chunks; includes local OCR
  • Comparison and editing: block-level and cell-level diff, patch preserving HWPX/HWP formatting
  • Writing: Markdown to HWPX conversion with official document presets, tables, equations, and charts
  • Form filling: fills fields and input boxes, includes two standard draft document templates and stamping
  • Review: preview and extract regions from HWPX/HWP, structure and notation checking, personal information masking

Use cases

  • Converting Korean government or office documents (HWP, HWPX, PDF, Office) to Markdown for AI processing or archiving
  • Automating form filling in official draft documents
  • Generating HWPX documents from Markdown with preset templates
  • Comparing document versions at block or cell level
  • Building RAG pipelines with chunked output from Korean documents

Getting started

Node.js 20 or later is required. Install via npm:bashnpm install kordocCLI can be run without installation using npx kordoc. To connect to AI agents, run:bashnpx -y kordoc setup

License and pricing

License: MIT. The project is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/chrisryugjkordoc.svg)](https://yunodb.com/tools/chrisryugjkordoc?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/chrisryugjkordoc?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/chrisryugjkordoc.svg" alt="Featured on YunoDB" height="20"></a>