websitehot

Docx-to-Markdown

layout-aware Word to Markdown converter

docx-editor.dev
Docx-to-Markdown preview

About Docx-to-Markdown

Convert Word (.docx) to Markdown (.md) in TypeScript. Get layout-aware pages, headers, and footers for document agents and RAG.

In the maker’s words

Hey HN, I’m the author of the https://github.com/eigenpal/docx-editor , it’s an SDK that implements Word-compatible layout engine in Typescript. Today, we are releasing Word to markdown converter library. It’s open source and published under Apache 2.0 license. It uses our layout engine, so it can return accurate, per-page markdown blocks (with headers, footers, and image references). We also handle fonts (Google fonts as fallback) or let you pass your font files upfront for accurate content measurement. To our surprise, Word to per-page Markdown conversion is not a solved problem even in 2026! We initially faced this friction when preprocessing Word documents for agentic workflows. For our use case, it was important to represent per-page content in markdown. Initially, we ended up using LibreOffice sidecar to convert to PDF and then using .pdf -> .md library. This was not ideal given th…
thisisjedr, launching on Hacker News

Where people found it

More sites like Docx-to-Markdown