GreyScript AI

Word to Markdown Converter (DOCX)

Convert a Word document (.docx) to clean Markdown with headings, lists, tables, links and footnotes intact. Conversion runs in your browser, so the document is never uploaded.

1. Choose files
or paste rich text or HTML
Coming soon OCR for scanned PDFs and images · AI cleanup of messy layouts
2. Markdown output (editable)
PDF files store positioned text, not structure, so headings are inferred from font size and paragraphs from line spacing. Check headings and tables in long or multi-column PDFs. Token counts use a rough 4-characters-per-token estimate. Excel dates are converted when the cell is formatted as a date; formulas show their last saved value.

How Word to Markdown conversion works

The converter reads the structure of the .docx file with mammoth and turns it into Markdown with turndown:

Tips for a clean result

Headings are detected from Word's heading styles, not from how text looks. Text that is only made large and bold becomes an ordinary paragraph, so apply Heading styles in Word first if you want a proper outline.

Images are replaced with a short [Image] placeholder, using the image's alt text when it has one, so the Markdown stays small. Comments are skipped. Older .doc files are not supported; open them in Word or LibreOffice and save as .docx.

For Google Docs, choose File, Download, Microsoft Word (.docx), then convert the file here. You can also copy the text from Google Docs and paste it into the box above, which keeps headings, links and tables.

Questions and answers

Can I convert Google Docs to Markdown?

Yes. Download the document from Google Docs as Microsoft Word (.docx) and drop it here, or copy the content and paste it into the paste box, which keeps headings, links and tables.

Why did my headings come out as plain text?

The converter uses Word's Heading 1 to Heading 6 styles to find headings. Text that is only formatted to look like a heading is treated as a paragraph. Apply heading styles in Word and convert again.

Are images and comments kept?

Images become a short placeholder using their alt text, and comments are skipped, so the Markdown stays focused on the text.

Does it support .doc files?

No. The older binary .doc format is not supported. Open the file in Word, Google Docs or LibreOffice and save it as .docx first.