For AI agents: the complete documentation index is available at https://canary.gukhanmun.org/llms.txt, the full documentation bundle is available at https://canary.gukhanmun.org/llms-full.txt, and this page is available as Markdown at https://canary.gukhanmun.org/index.md.
Gukhanmun

Rust/JavaScript/Python library that converts mixed-script Korean into hangul-only text

LogoLogo

Hanja-to-hangul conversion

Converts mixed-script Korean text containing hanja into hangul-only output, with optional *Standard Korean Language Dictionary* data.

Multiple output formats

Processes plain text, HTML fragments, and Markdown (CommonMark and GFM). Supports hangul-only, parenthetical, and ruby markup rendering modes.

Custom dictionaries

Load domain-specific vocabulary in FST or CDB format alongside the official dictionary data to handle specialised terminology.

Per-hanja directives

Force or suppress annotations for specific characters or glob patterns, inline or via a directives file.

CLI, Rust, JavaScript, and Python

Use from the command line, embed in Rust or Python, or run JavaScript in browsers, Node.js, Deno, and Bun.

Streaming API

Use Rust’s iterator API for incremental processing. JavaScript’s TransformStream and Python’s chunked interface buffer the whole document until finalization.

Support Gukhanmun

Help sustain the development and maintenance of free and open source tools for reading Korean text.

About sponsorship

Selected for FOSS for All Microgrants 2026. Thank you to FOSS for All and its donors.