DOCX & PDF to Markdown

Convert, edit and download — free, instant, no upload

📄
Drop your file here
or click to browse — DOCX and PDF supported
.DOCX .PDF Runs in browser No upload
⚠  PDF note: Works best on text-based (born-digital) PDFs. Scanned or image-only PDFs cannot be converted without OCR. Complex layouts may not transfer perfectly — review the output carefully.
Editing document.md
Markdown source
Live preview
👁  Preview appears here as you type
0 words 0 chars 0 lines
How to use this tool
  1. Choose a file — drag and drop a .docx or .pdf onto the box above, or click to browse.
  2. Review the output — the Markdown source appears in the left pane and renders live in the right pane.
  3. Edit if needed — click anywhere in the left pane to clean up headings, fix spacing, or add your own content.
  4. Download or copy — use the Download .md button to save the file, or Copy to paste into another app.
What is Markdown?

Markdown is a lightweight plain-text formatting language created by John Gruber in 2004. It uses simple punctuation characters — like # for headings, **bold** for bold text, and - for list items — to define structure without the complexity of HTML or the lock-in of a proprietary format like .docx.

Because Markdown files are plain text, they open in any text editor, can be stored in version control like Git, and are rendered natively by platforms including GitHub, GitLab, Notion, Confluence, Ghost, and hundreds of static site generators.

Converting your Word documents and PDFs to Markdown is a practical way to make your content more portable, easier to maintain, and ready for modern publishing workflows.

DOCX vs PDF conversion — what to expect
✓ DOCX (Word)
  • Headings mapped to #####
  • Bold and italic preserved
  • Bullet and numbered lists
  • Tables converted to Markdown format
  • Hyperlinks preserved as [text](url)
  • Embedded images as data URIs
~ PDF (best effort)
  • Text extracted page by page
  • Font size used to infer headings
  • Page breaks marked with ---
  • Images are not extracted
  • Scanned PDFs produce no output
  • Complex layouts may need cleanup
Frequently asked questions
You might also need
About this tool

This converter runs entirely in your browser using mammoth.js for DOCX files and PDF.js for PDFs. Your file is never sent to any server. The live preview is powered by marked.js. All three libraries are open-source and loaded from cdnjs.