reason-machines avatar

Kordoc Korean Document Parser

Parser library and CLI that converts Korean HWP, HWPX, and PDF documents to Markdown and structured blocks.

skills.sh installs
727
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers parsing HWP 5.x, HWPX, and PDF into Markdown, IRBlock[], metadata, outline, and warnings
  • Includes document diffing across formats, form field extraction, and reverse Markdown-to-HWPX generation
  • Provides a CLI with batch conversion, page ranges, JSON output, and a watch mode with webhook notifications
  • Designed for developers automating Korean government document workflows, including via an MCP server with seven tools

Install

$ npx -y skills add reason-machines/trending-skills --skill kordoc-korean-document-parser -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

kordoc Korean Document Parser

Skill by ara.so — Daily 2026 Skills collection.

kordoc is a TypeScript library and CLI for parsing Korean government documents (HWP 5.x, HWPX, PDF) into Markdown and structured IRBlock[] data. It handles proprietary HWP binary formats, table extraction, form field recognition, document diffing, and reverse Markdown→HWPX generation.


Installation

# Core library
npm install kordoc

# PDF support (optional peer dependency)
npm install pdfjs-dist

# CLI (no install needed)
npx kordoc document.hwpx

Core API

Auto-detect and Parse Any Document

import { parse } from "kordoc"
import { readFileSync } from "fs"

const buffer = readFileSync("document.hwpx")
const result = await parse(buffer.buffer) // ArrayBuffer required

Details

Repository
github.com/reason-machines/trending-skills
Category
Office Files & Slides
First seen
May 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Kordoc Korean Document Parser

More Office Files & Slides