How to Convert Markdown Images to Word DOCX
Fix Markdown images missing from Word: distinguish preview from embedding, check CORS and local paths, and understand DOCX image limits.
A picture visible in Markdown preview is not necessarily ready for DOCX export. Preview displays the source URL; export must fetch and decode the image before embedding it in the Word file. This guide separates those checks so you can identify why a picture is missing.
Start with a real image URL
Markdown image syntax is:

The address above is a placeholder. Replace it with an image you control or have permission to use. A link to a gallery, a GitHub file viewer, or a cloud drive sharing page is usually an HTML page, not image data.
Use descriptive alt text. It is included in successfully embedded DOCX image metadata and also helps identify a failed image in the export's text fallback.
Understand the two image checks
| Stage | What it establishes | What it does not establish |
|---|---|---|
| Image is visible in preview | The browser can display the URL as an image | Export is allowed to read its bytes |
| DOCX export succeeds without an image warning | The exporter fetched, decoded, and embedded the image | The final size is suitable for your document |
| Image is present in the downloaded DOCX | The picture survived the export | All captions, wrapping, and page breaks meet your delivery requirements |
A remote host can allow an image to be displayed while refusing cross-origin requests that read it. This is a CORS restriction. Changing the Markdown alt text or repeatedly clicking Download will not change the host's policy.
Export a document with one image first
- Open the Markdown to DOCX converter.
- Paste a heading, one image reference, and a caption as a normal paragraph below it.
- Wait for the preview to display the image. If it does not, check the URL before proceeding.
- Export DOCX and read any warning. If an image cannot be embedded, the document contains its description and source URL instead.
- Open the file in Word and inspect the picture's scale and the caption's position.
Once the small sample works, add the remaining images. This isolates a problematic host or unusually large picture without rerunning a long report.
Paths and access that this tool can use
Uploading report.md does not upload images/chart.png beside it. A reference such as  therefore does not give the browser access to that local file. An absolute file:///... path is not a portable solution either.
For public content, use a stable HTTPS image URL whose host allows cross-origin access. For confidential local assets, use a local conversion workflow or insert the pictures in Word after exporting the text. Do not make confidential images public just to satisfy an online image reference.
The DOCX export requests remote images without login credentials. An image that works only in your signed-in account may fail to embed. The current exporter also rejects image responses above 10 MB and times out its image fetch after approximately eight seconds. Reduce large source images and avoid temporary or expiring URLs.
What happens to image size and format
Successfully loaded images are rasterized to PNG for embedding. Their aspect ratio is retained, and large pictures are scaled down to fit a maximum display box of 624 by 840 pixels. This means SVG artwork is not retained as editable vector artwork, and animated images do not remain animated in Word.
The export does not use arbitrary Markdown HTML styling as a Word layout template. If precise picture size, text wrapping, or positioning is required, adjust those properties in Word after download. Use readable source images: enlarging an already blurred screenshot cannot restore missing detail.
Troubleshooting by symptom
| Symptom | Likely explanation | Next action |
|---|---|---|
| No image in preview | Wrong path, unavailable host, or HTML sharing page | Open the actual image URL and replace the reference |
| Preview works, DOCX has a description and URL | CORS, login, size, timeout, or decoding failure | Check the export warning and use an accessible smaller image |
| Image appears too small | The source has large blank margins or a very tall aspect ratio | Crop the source image or resize in Word |
| Text inside a diagram is blurred | The source or rasterized output has insufficient detail | Simplify the diagram and inspect the downloaded file at normal reading size |
| Recipient cannot see an image | The image was never embedded successfully | Check the original DOCX for a fallback description and re-export after fixing the source |
Once embedded successfully, an image travels inside the DOCX; the recipient does not need to revisit its source URL. Remote hosts are still contacted during preview and export, so browser-side document processing is not the same as an offline, network-free workflow. For image-based fixed pages, see PDF image export; for editable reports, keep the DOCX and review the final layout.