# DOCX to Markdown > A browser-based Word-to-Markdown converter and an open-source JavaScript/TypeScript library by EigenPal. Convert DOCX to Markdown, images, and layout-derived page data in Node.js or a browser. Package: @docx-editor.dev/docx-to-markdown (verified version 2.19.1). Install: npm install @docx-editor.dev/docx-to-markdown @docx-editor.dev/core The conversion library uses Apache 2.0. The interactive editor demo includes separately licensed Pro review UI. Browser conversion processes document bytes locally; fallback fonts can require network requests. Input must be .docx, not legacy .doc. Markdown does not reproduce every Word layout detail. Page breaks depend on fonts and document features. Next.js Edge is not supported. ## Integration guides - [Convert DOCX to Markdown in a Next.js function](https://docx-to-markdown.com/guides/nodejs/index.md): Convert Word files to Markdown in JavaScript or TypeScript. Configure Node.js and serverless functions, then extract pages and images. - [Build a client-side Word to Markdown download](https://docx-to-markdown.com/guides/browser/index.md): Convert DOCX to Markdown client-side with JavaScript or TypeScript. Process Word files in the browser and download Markdown with images. - [Convert DOCX to Markdown with images](https://docx-to-markdown.com/guides/images/index.md): Extract images from Word documents, preserve displayed dimensions, and deliver Markdown with image files in a ZIP or local folder. - [Use DOCX page output for citations](https://docx-to-markdown.com/guides/page-citations/index.md): Read Markdown by page, separate headers and footers, and preserve document version information for citations and RAG ingestion. ## Reference - [Complete integration guides](https://docx-to-markdown.com/llms-full.txt): All four guides in one text file, generated from the website's source content. - [Package documentation](https://www.docx-editor.dev/docs/2.x/export/markdown): Full conversion API documentation. - [Source code](https://github.com/eigenpal/docx-editor/tree/main/packages/docx-to-markdown): Library implementation and README. ## Optional - [Online converter and overview](https://docx-to-markdown.com/): Try a document and explore the library. - [Full-screen converter](https://docx-to-markdown.com/playground): Interactive browser demo; requires JavaScript and WebAssembly. - [Sitemap](https://docx-to-markdown.com/sitemap.xml): Canonical website pages.