Home › Developer Tools › DOCX to Markdown Converter

DOCX to Markdown Converter

Convert a Word .docx file into clean, readable Markdown for GitHub, static site generators, wikis or notes apps. Headings, bold and italic text, nested lists, tables, links, footnotes and code blocks are kept, and images are saved to an images folder in a ZIP or embedded inline.

Last updated:

Advertisement
Advertisement

How to use the DOCX to Markdown Converter

  1. Choose a .docx file or drop it on the box. A sample document is converted on load so you can see the output first.
  2. Pick the options: how to handle images, heading style, bullet marker and table format. The result updates instantly.
  3. Check the result in the Markdown tab, or switch to Preview to see it rendered.
  4. Edit if needed directly in the Markdown box.
  5. Copy or download the .md file, or the ZIP with the Markdown and an images folder.

How Word formatting maps to Markdown

In WordIn Markdown
Heading 1, Heading 2, Heading 3…# Heading, ## Heading, ### Heading
Bold / Italic / Strikethrough**bold** / *italic* / ~~struck~~
Bulleted list- item, nested items indented under their parent
Numbered list1. item, 2. item
Hyperlink[link text](https://example.com)
Picture![alt text](images/image1.png)
TablePipe table with a | --- | line under the first row
Footnote[^1] in the text and [^1]: note at the end
Quote style> quoted text
Code style or monospaced font paragraphFenced code block between ``` lines
Line break (Shift+Enter)Backslash at the end of the line

Tips for a clean conversion

  • Use real styles. Headings and lists convert best when the document uses Word's Heading styles and list buttons rather than manually enlarged text or typed hyphens.
  • Keep tables simple. Markdown tables have one header row and no merged cells. Merged cells are written as empty cells; choose HTML tables if you need column spans to survive.
  • Add alt text to pictures in Word (right-click › Edit Alt Text) so the Markdown images describe themselves for screen readers.
  • Accept or reject tracked changes before converting. Inserted text is kept and deleted text is dropped, matching the final view.
  • Keep the images folder next to the .md file. The image links are relative (images/…), so unzip the download as a whole.

Going the other way? Markdown to Word creates a .docx from Markdown, and HTML to Markdown converts web pages or rich text copied from Google Docs.

Frequently asked questions

Which Word features are converted?

Headings, paragraphs, bold, italic, strikethrough, superscript, subscript, monospaced text, bulleted and numbered lists (with nesting), tables, hyperlinks, images, footnotes and endnotes, quote-styled paragraphs and code-styled paragraphs. Page layout, fonts, colors, headers and footers, comments and text boxes have no Markdown equivalent and are left out.

How are headings detected?

Paragraphs that use Word's built-in Heading 1 to Heading 6 styles, or custom styles with an outline level, become Markdown headings of the same level. The Title style becomes a level-1 heading unless you turn that option off. Text that is only made big and bold by hand is not a heading in Word's structure, so apply heading styles first for the best result.

What happens to images?

By default images are written as ![alt text](images/name.png) and the files are put in an images folder inside the ZIP download, which keeps the Markdown small. You can embed them as base64 data URIs in a single file instead, or leave them out. Alt text from Word's Alt Text field is used when present.

Can it convert old .doc files?

No. Only .docx (Word 2007 and later) is supported, because the old .doc format is a different binary format. Open a .doc file in Word, Google Docs or LibreOffice and save it as .docx first.

Which Markdown flavor is produced?

The output is CommonMark with GitHub Flavored Markdown extensions: pipe tables, ~~strikethrough~~ and [^1] footnotes. It works on GitHub and GitLab and in most static site generators and note apps; superscript, subscript and underline use small HTML tags because Markdown has no syntax for them.

Is my document uploaded?

No. The .docx file is unzipped and converted by JavaScript in your browser, so confidential documents stay on your device. Only the open-source ZIP and preview libraries are downloaded from a public CDN.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

HTML to Markdown ConverterTurn HTML or pasted rich text into clean Markdown with tables and live preview.Markdown EditorWrite Markdown with a toolbar, live split preview, autosave and .md or HTML export.Markdown to Word ConverterConvert Markdown to a styled Word .docx file with headings, lists, tables, code and links.DOCX to Text ConverterExtract plain text from Word .docx files, in batch, with list markers, tables and .txt download.JSON to Excel ConverterTurn JSON into a styled .xlsx spreadsheet; nested arrays become their own linked sheets.JSON to CSVConvert JSON data to CSV for spreadsheets.CSV to JSONConvert CSV data to JSON with live preview.Excel to CSVConvert XLSX spreadsheets to CSV.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.Excel Viewer (XLSX / XLS)Open XLSX, XLS and ODS spreadsheets in your browser without Excel.Line Ending ConverterConvert text and files between CRLF, LF and CR line endings.Markdown to HTMLConvert Markdown to clean HTML with a live editor.XML to JSONConvert XML to JSON with validation.Text Encoding ConverterDetect and convert text file encodings like UTF-8, UTF-16 and Latin-1.JSON ViewerExplore JSON as a collapsible tree, search keys and values and copy any node's path.TTF to WOFF2 ConverterConvert TTF and OTF fonts to WOFF2 or WOFF and get a ready @font-face CSS snippet.Chmod CalculatorConvert Linux file permissions between checkboxes, octal (755) and symbolic (rwxr-xr-x) notation.JSON to TypeScriptGenerate TypeScript interfaces or types from JSON, with nested types and optional fields.Morse Code TranslatorTranslate text to Morse code and back, then play it as sound or a blinking light, or save a WAV.HTML Table GeneratorBuild HTML tables in an editable grid with styles, header rows, CSV import and live preview.Hex to Text ConverterConvert hex to text and text to hex with UTF-8 support and space, 0x, \x or comma formats.JSON to XML ConverterConvert JSON to well-formed XML with attributes, arrays and pretty print.JSON to YAML ConverterConvert JSON to clean YAML as you type, with indent, quoting and sort options.YAML to JSON ConverterConvert YAML to pretty or minified JSON, with errors pinned to the exact line.Markdown Table GeneratorBuild Markdown tables in a grid or paste from Excel/CSV, with alignment and preview.JSON ValidatorCheck JSON with the exact line and column of each error, fix tips and one-click auto-fix.Image to Base64Convert images to Base64 data URIs, CSS backgrounds and HTML img tags in your browser.Base64 to ImagePaste a Base64 string or data URI to preview, identify and download the image.JSON CompareCompare two JSON documents and see every added, removed and changed path.Hex to DecimalConvert hex to decimal instantly with steps and signed mode.Decimal to HexConvert decimal to hex instantly with steps and signed mode.Binary to DecimalConvert binary to decimal instantly with steps and signed mode.Decimal to BinaryConvert decimal to binary instantly with steps and signed mode.Two's Complement CalculatorDecimal to two's complement binary and back for 4-64 bits, with invert-and-add-1 steps.XML to CSV ConverterConvert XML to CSV: detects repeating records, flattens nested data, pick your columns.CSV to XML ConverterConvert CSV to well-formed XML with custom root and row names, escaping and pretty print.TOML to JSON ConverterConvert TOML to JSON and JSON to TOML with a full v1.0 parser and clear error lines.JSON to Go StructTurn JSON into Go structs with inferred types, nested structs and json tags.CSV to Excel ConverterConvert CSV files to a real .xlsx workbook with typed numbers and dates, one sheet per file.CSV SplitterSplit a large CSV into smaller files by row count, file count or column value, header kept.CSV MergerCombine many CSV files into one, matching columns by name, with dedupe and a source column.VCF to CSV ConverterConvert vCard (.vcf) contacts to CSV for Google or Outlook, or turn a CSV back into a VCF.Calendar Event (.ics) GeneratorCreate an .ics calendar invite with time zone, reminders and repeats + Google/Outlook links.CSV Column ExtractorPick, reorder and rename CSV columns, filter rows by value, and export a new CSV or JSON.CSV Diff CheckerCompare two CSV files by key column and see added, removed and changed rows cell by cell.CSV Duplicate Row RemoverRemove duplicate rows from a CSV by all or selected columns and download the cleaned file.CSV to HTML TableTurn CSV into clean HTML table code with a live preview, styling options and one-click copy.CSV to Markdown TableConvert CSV to a neatly aligned GitHub Markdown table with column alignment and live preview.CSV TransposeSwap rows and columns of CSV, TSV or pasted spreadsheet data, with delimiter auto-detect.Date Format ConverterConvert any date to ISO 8601, RFC 2822, Unix time and custom strftime, moment or Java patterns.ENV to JSON ConverterConvert .env files to JSON or YAML and JSON back to .env, with quotes and multiline values.File to Base64Convert any file to a Base64 string or data URI with MIME detection, line wrap and download.HTML Table to CSVExtract any table from HTML or page source to CSV, TSV or JSON, with colspan and rowspan handled.IEEE 754 Floating Point ConverterConvert decimals to 32/64-bit IEEE 754 floats: toggle bits, see hex, exact value and rounding error.INI to JSON ConverterConvert INI and CFG files to JSON and JSON back to INI, with sections, arrays and types.IP Address ConverterConvert IPv4 to decimal, hex, binary, octal and back, with class and private/public check.ISBN Converter & ValidatorConvert ISBN-10 to ISBN-13 and back, validate check digits and hyphenate, one or in bulk.JSON Flatten / UnflattenFlatten nested JSON to dot or bracket path keys, or unflatten flat keys back to nested JSON.JSON to Dart ClassTurn JSON into Dart model classes with fromJson, toJson, null safety and nested classes.JSON to Java ClassTurn JSON into Java POJOs or records with Lombok, getters/setters and Jackson or Gson annotations.JSON to Kotlin Data ClassTurn JSON into Kotlin data classes for kotlinx.serialization, Gson, Moshi or Jackson.JSON to Markdown TableTurn a JSON array of objects into a GitHub Markdown table with column picker and alignment.JSON to PHP ArrayConvert JSON to PHP array code (short [] or array()) and PHP arrays back to JSON.JSON to Rust StructTurn JSON into Rust structs with serde derives, rename attributes, Option and Vec types.JSON to SQL ConverterConvert a JSON array of objects to CREATE TABLE and INSERT statements for MySQL, Postgres, SQLite.JSON to Swift StructTurn JSON into Swift Codable structs with CodingKeys, optionals and nested types.JSON to TOML ConverterConvert JSON to clean TOML with tables, arrays of tables, inline tables and dates.JSONL to JSON ConverterConvert JSON Lines / NDJSON to a JSON array and back, with line-level error reports.
See all 129 Data & File Format Converters →