word markdown troubleshooting docx formatting

Word to Markdown Troubleshooting: 12 Problems and Fixes

Fix broken headings, lists, tables, links, images, code blocks, empty output, and slow DOCX conversions with a systematic troubleshooting workflow.

W
WordToMD Team
·

A Word document can look perfectly organized and still produce messy Markdown. The reason is usually structural: Word can create a visual effect with fonts, spacing, floating objects, and custom styles, while Markdown needs explicit headings, lists, links, and tables.

The fastest way to troubleshoot a Word-to-Markdown conversion is to identify the first incorrect element, inspect how it was created in Word, correct that structure, and test a small copy before converting the entire document again. This guide provides a repeatable diagnosis instead of a collection of random formatting tricks.

Quick Diagnosis Table

SymptomMost likely causeFirst fix to try
Heading becomes bold textManual font formatting instead of a Word heading styleApply Heading 1, Heading 2, or Heading 3
List loses nesting or numberingTyped bullets, tabs, or broken list continuationRebuild with Word’s list controls
Table is malformedMerged cells, nested tables, or line breaks inside cellsSimplify to a rectangular grid
Images are missingConverter does not export media assetsExtract images and add relative references
Callout or sidebar disappearsContent is inside a text box or floating shapeMove important text into normal paragraphs
Code becomes ordinary proseMonospace appearance has no reliable structural mappingAdd Markdown fences after conversion
Footnotes or review data disappearUnsupported notes, comments, or tracked changesAccept/reject changes and preserve notes separately
Link text remains but URL is missingText only looks like a link or uses an unsupported internal targetRecreate a real Word hyperlink
Output is emptyWrong file type, corrupted DOCX, or image-only contentRe-save a clean .docx and test one paragraph
Conversion is slowLarge embedded media or limited browser memoryCompress images or split the document
Characters look wrongDestination encoding or font issueSave and render as UTF-8
.doc file is rejectedLegacy binary Word formatSave a new .docx copy first

Start with a Controlled Test

Before editing a 100-page document, create a small diagnostic copy containing:

  • one Heading 1 and one Heading 2;
  • a normal paragraph with bold, italic, and a hyperlink;
  • one numbered list and one nested bullet list;
  • a simple two-column table;
  • one example of the element that is failing.

Convert that file with WordToMD. If the clean examples work, the converter is running correctly and the problem is probably in the original document structure. If the small file also fails, save it again as a fresh .docx, try another modern browser, and inspect the displayed error or Conversion Notes.

This controlled test separates three different failure categories:

  1. Source problem: Word encoded the content in an unexpected way.
  2. Mapping limitation: the element has no direct Markdown equivalent.
  3. Destination problem: the Markdown is valid, but the final platform renders a different dialect.

Problem 1: Headings Convert as Bold Paragraphs

Why it happens

Making a line 20 points, bold, and blue does not make it a heading in the document structure. It may still use Word’s Normal style. A converter sees a styled paragraph, not a Heading 2.

How to fix it

  1. Select the complete heading paragraph in Word.
  2. Open the Styles panel.
  3. Apply Heading 1, Heading 2, or Heading 3 according to hierarchy.
  4. Use Word’s Navigation pane to verify that it appears in the outline.
  5. Convert the test section again.

Do not choose heading levels for visual size. Use one Heading 1 for the document title, Heading 2 for major sections, and Heading 3 for subsections. Customize how those styles look in Word if necessary, but keep their semantic roles.

See the Markdown headings guide for a complete hierarchy example.

Problem 2: Lists Lose Nesting, Restart, or Become Plain Text

Why it happens

A line beginning with a typed dash is not necessarily a Word list item. Likewise, pressing Tab or inserting spaces can make an item look nested without creating a dependable list level. Pasted content can also combine several incompatible numbering definitions.

How to fix it

  • Select the affected items and apply Word’s bullet or numbering control.
  • Use Increase Indent and Decrease Indent to set real list levels.
  • Right-click a numbered item and choose the appropriate continuation option.
  • Remove empty paragraphs used only to create visual spacing.
  • Split a list when an intervening paragraph genuinely ends it.

After conversion, inspect the raw Markdown rather than only the preview:

1. Install the application.
2. Configure the project.
   - Add the source directory.
   - Set the output format.
3. Run the build.

Different renderers accept different indentation widths, so use consistent spaces and preview in the target platform.

Problem 3: Tables Are Broken or Difficult to Read

Why it happens

GitHub Flavored Markdown tables represent a rectangular grid. Word tables can merge rows and columns, nest tables, contain multiple paragraphs, position images, and apply visual alignment that has no standard pipe-table equivalent.

How to fix it

  1. Add a clear first row that can serve as the header.
  2. Unmerge cells where the information must remain tabular.
  3. Move long explanations below the table.
  4. Replace nested tables with separate tables or lists.
  5. Remove manual line breaks inside cells when possible.
  6. Escape literal pipe characters as \| after conversion.

If a table has too many columns for a phone screen, restructuring it is usually better than forcing a direct conversion. Turn each row into a small subsection or split the table by topic.

For syntax and alignment rules, use the Markdown tables reference.

Problem 4: Images Are Missing

Why it happens

Markdown needs a path to a separate image file. WordToMD currently converts text structure but does not create an image assets folder, so an image-only section can appear empty.

How to fix it

  • Extract images from a copied DOCX package or use Word’s web-page export.
  • Place the assets in an images/ directory beside the Markdown.
  • Rename generic files such as image4.png.
  • Add relative references and meaningful alt text.
  • Preview in the final repository, editor, or site.

The complete process is covered in Word to Markdown with Images.

Problem 5: Text Boxes, SmartArt, Charts, or Sidebars Disappear

Why it happens

These objects are positioned on a Word page rather than represented as ordinary paragraphs in the main document flow. Markdown has no coordinate-based page canvas, and extracting the visible text may not preserve its intended reading order.

How to fix it

Move essential text out of floating objects before conversion:

  • Convert a text-box warning into a normal paragraph beginning with Warning:.
  • Export a SmartArt diagram as SVG or PNG and add an accessible text explanation.
  • Convert an important chart conclusion into a paragraph or small data table.
  • Move sidebar content under a descriptive heading.

Do not rely on a screenshot alone when the object communicates essential instructions. Preserve the meaning in text as well.

Problem 6: Code Samples Lose Fences or Formatting

Why it happens

Word usually stores code as ordinary text with a monospace font, background shading, or a custom paragraph style. Those visual properties do not always indicate whether the text is inline code, a command, or a multi-line program.

How to fix it

After conversion, wrap multi-line samples in fenced blocks and add the language identifier yourself:

```javascript
function convert(document) {
  return document.toMarkdown();
}
```

Use inline backticks for short commands and identifiers. Check that backticks inside the sample do not prematurely close the fence. The Markdown code-block guide explains longer fences and syntax-highlighting identifiers.

Problem 7: Footnotes, Comments, or Track Changes Are Lost

Why it happens

Comments and tracked changes are review metadata, not ordinary final document content. Footnotes are a separate Word structure, and not every Markdown dialect supports footnotes. WordToMD is optimized for the final visible document rather than preserving the complete editorial history.

How to fix it

Before conversion:

  1. Save an untouched archival copy.
  2. Resolve all comments that contain decisions or instructions.
  3. Accept or reject tracked changes deliberately.
  4. Move essential reviewer notes into the main text.
  5. Decide how the destination handles footnotes.

For complex academic notes, citations, or revision workflows, Pandoc is generally more suitable. Test a representative document before committing to a migration method.

Why it happens

Blue underlined text may be ordinary formatting rather than a hyperlink. Internal Word bookmarks and cross-references also rely on targets that may change when headings become Markdown anchor IDs.

How to fix it

  • In Word, use Insert → Link and verify the actual address.
  • Replace local drive links with repository or web destinations.
  • After conversion, click every external link.
  • Rebuild internal links using the destination platform’s heading-anchor rules.
  • Watch for trailing punctuation included accidentally in URLs.

For a portable result, use descriptive link text rather than phrases such as “click here.”

Problem 9: The Converter Produces Empty Output

Why it happens

An empty result usually means the file contains no convertible text in the normal document flow, is not a valid .docx, or has internal corruption. Scanned pages, full-page screenshots, drawing canvases, and linked objects may look like a document to a person while containing little ordinary text.

How to fix it

Work through this sequence:

  1. Confirm the file name ends in .docx, not .doc, .odt, .rtf, or a renamed PDF.
  2. Open the document in Word or LibreOffice and save a new .docx copy.
  3. Copy one visible paragraph into a new blank document and test it.
  4. If the source is image-only, use OCR before Markdown conversion.
  5. If a simple test converts, move content into the clean document in sections until the problematic object is isolated.

Never overwrite the only source file while repairing it.

Problem 10: Unicode Characters Render Incorrectly

Why it happens

WordToMD keeps Unicode text, including Chinese, Arabic, emoji, smart punctuation, and accented characters. If characters look correct in the output panel but wrong after saving or publishing, the problem is usually the editor, file encoding, font coverage, or destination renderer.

How to fix it

  • Save Markdown as UTF-8.
  • Avoid legacy “ANSI” encodings.
  • Use a font that covers the required writing system.
  • Set the HTML page charset to UTF-8 when building a website.
  • Test right-to-left passages in the final layout.
  • Remove invisible directional marks only when you understand their function.

Do not transliterate or replace characters merely to work around a misconfigured renderer.

Problem 11: Conversion Is Slow or the Browser Tab Becomes Unresponsive

Why it happens

Local conversion uses the memory and processing power of the current device. A .docx with high-resolution images can be large even when it contains only a few pages. Mobile browsers and devices with many open tabs have less available memory.

How to fix it

  • Compress embedded pictures in a duplicate Word file.
  • Remove unused or duplicate media.
  • Split a large document at logical chapter boundaries.
  • Close memory-intensive tabs and applications.
  • Try a current desktop browser.
  • Use Pandoc locally for very large or repeated conversions.

WordToMD accepts files up to 50 MB, but staying under the limit does not guarantee identical performance on every device.

Problem 12: An Old .doc File Is Rejected

Why it happens

.doc and .docx are different formats. The older .doc format is binary; changing the file-name extension does not convert its contents.

How to fix it

Open the file in Microsoft Word or LibreOffice and choose Save As → Word Document (.docx). Then convert the new file. If the document is important, keep the original .doc as an archive until the new file and Markdown have been checked.

A Better Preflight Process

For documents you convert regularly, use the same preflight every time:

In Word

  • Use built-in heading styles.
  • Use real list controls.
  • Simplify merged and nested tables.
  • Resolve tracked changes and comments.
  • Move essential text out of floating objects.
  • Remove unused media and compress large images.
  • Confirm hyperlinks.
  • Save a clean .docx copy.

In WordToMD

  • Review the document preview and editable Markdown side by side.
  • Open Conversion Notes when they appear.
  • Check the first instance of every element type.
  • Correct simple issues directly in the output panel.
  • Download before leaving the page.

In the destination

  • Preview the rendered Markdown.
  • Test heading anchors and links.
  • Check tables on a narrow screen.
  • Verify image paths and alt text.
  • Confirm code fences and language labels.
  • Search for local file paths, placeholder text, and unresolved review notes.

When to Stop Troubleshooting and Change Tools

Use WordToMD when the task is a quick, private, one-document conversion with standard structure. Switch to Pandoc or a custom migration pipeline when you need:

  • automatic media extraction;
  • repeatable batch processing;
  • academic citations or equations;
  • custom style mapping;
  • Lua filters or other transformations;
  • conversion inside CI/CD;
  • detailed handling of complex document features.

Changing tools is not a failure. It is often the correct response when the source document’s complexity exceeds the target format.

FAQ

Should I repair the Word document or edit the Markdown?

Repair the Word document when the same structural error occurs repeatedly or the file will be converted again. Edit the Markdown when the problem is isolated or destination-specific, such as adding front matter, callouts, code-fence languages, or image paths.

Why does the Markdown preview look different from GitHub or Obsidian?

Markdown is a family of related dialects. Tables, footnotes, callouts, task lists, wiki links, and raw HTML can render differently. Treat the WordToMD preview as a structural check and test the final file in its real destination.

Can Conversion Notes tell me everything that was lost?

No automated warning system can infer every visual intention in a Word document. Use Conversion Notes as leads, then compare the source, Markdown, and final rendering for each important content type.

What is the fastest way to isolate a corrupted element?

Create a copy and remove half the content. Test again, then continue with the half that still fails. This “divide and test” method narrows the problem quickly without modifying the original.

Conclusion

Most Word-to-Markdown problems become predictable once you distinguish visual formatting from document structure. Start with the first incorrect element, correct it in a small test, and decide whether the repair belongs in Word, Markdown, or the destination platform. Use WordToMD for fast local conversion, the formatting guide for source preparation, and Pandoc when the job requires a more programmable pipeline.