Markdown Images Not Showing in Word? How to Package Local Images in a ZIP
Your Markdown document looks complete in the editor, but several images disappear after it is converted to Word. The text, headings, and tables are present, while the DOCX contains blank spaces, broken image references, or only the image alt text.
In most cases, the image itself is not damaged. The converter simply cannot find the file at the location written in the Markdown. Local images require two things to match: the path inside the Markdown and the actual folder structure supplied with the document.
Quick diagnosis
Use relative image paths, include every local image in the ZIP package, preserve the referenced folder structure, and check the exact spelling and capitalization of every filename.

Why local Markdown images disappear
A Markdown image usually contains three parts:

- Alt text:
Quarterly revenue chart - Folder:
images - Filename:
revenue-chart.png
The alt text does not contain the image. It only describes it. The actual picture must exist at the referenced path when the document is processed.
A missing image is commonly caused by one of the following:
- The image was not included in the uploaded ZIP.
- The Markdown points to the wrong folder.
- The filename in Markdown does not exactly match the real file.
- An absolute path refers to a folder that exists only on the author’s computer.
- The ZIP adds an unexpected extra directory level.
- The Markdown uses backslashes or inconsistent path separators.
- The file was renamed after the Markdown was written.
Use relative paths instead of computer-specific paths
A relative path describes the image location starting from the Markdown file. It does not depend on a Windows drive letter, macOS user directory, or another computer-specific location.
Recommended

Avoid

The absolute Windows path works only on the original computer. A web-based converter cannot access that desktop folder. The same problem occurs with paths such as /Users/alex/Documents/report/image.png.
A simple ZIP structure that works
For most documents, keep one Markdown file near the root of the package and store images in a clearly named subfolder.
The image references in project-report.md should then look like this:
   
This structure is easy to inspect, easy to move between computers, and less likely to produce ambiguous paths.

Watch for an extra folder inside the ZIP
A common packaging mistake happens when the author compresses a parent folder rather than its contents.
| Structure | Result |
|---|---|
report.md and images/ are at the same level |
The path images/chart.png is straightforward. |
The ZIP contains report-files/report.md and report-files/images/ |
This can still work if the Markdown and image folder remain together. |
| The Markdown is in one folder and the images are moved elsewhere | The original relative paths no longer point to the files. |
Before uploading, open the ZIP and confirm that the relationship between the Markdown file and the image directory is exactly the same as it was before compression.
Filename capitalization matters
Some local environments treat uppercase and lowercase filenames as equivalent, while server environments may treat them as different files.
Example
images/Architecture.png
images/architecture.png
Treat these as different filenames. Use consistent lowercase names whenever possible and avoid renaming images without updating the Markdown.
Use predictable image filenames
Simple filenames reduce path errors and make the package easier to maintain.
| Prefer | Avoid when possible |
|---|---|
network-topology.png |
Network Topology Final (2).png |
figure-03.svg |
图 3 最终版本.svg |
2026-sales-chart.jpg |
sales/chart/new.jpg when the nested folders are unnecessary |
Spaces and non-Latin characters can be valid in many systems, but simple lowercase filenames with hyphens are easier to type, compare, share, and troubleshoot.
Do not use a local file URL
The following reference points to the author’s local computer:

Including the same image in the ZIP does not automatically repair that reference. Update the source to a relative path:

What about online images?
A remote image uses an HTTPS address rather than a local path:

Remote images introduce different risks. The address may expire, block automated access, redirect to a login page, reject external requests, or return HTML instead of an image.
For an important document, storing an authorized copy of the image in the ZIP usually produces a more portable and repeatable package. Make sure you have the right to reuse and distribute the image.
A pre-upload inspection workflow
- Open the Markdown file in a text editor. Search for every

Troubleshooting table
| Symptom | Likely cause | Fix |
|---|---|---|
| All local images are missing | Only the Markdown file was uploaded | Upload a ZIP containing both Markdown and images |
| One image is missing | Filename or path mismatch | Compare the reference with the real file |
| Images work locally but not online | Absolute path or capitalization difference | Use a relative path and exact filename case |
| Alt text appears instead of a picture | The referenced image could not be loaded | Check that the target is a readable image file |
| Only remote images fail | External host blocks or redirects the request | Use an authorized local copy in the ZIP |
Frequently asked questions
Should the Markdown file be at the root of the ZIP?
Keeping it near the root is the simplest arrangement. A parent folder can also work when the Markdown file and its image folders remain together and the relative paths are unchanged.
Can I place images in several subfolders?
Yes, provided every Markdown reference points to the correct folder. For example, separate folders such as images/screenshots/ and images/diagrams/ can be used consistently.
Does image alt text repair a missing file?
No. Alt text describes the image and improves context, but it does not contain the image data or replace the missing file.
Why should I open the finished DOCX?
A successful conversion does not guarantee that every image has a suitable size, resolution, caption, or page position. Visual review remains necessary before delivery.
Final checklist
- Every local image is included in the ZIP.
- All paths are relative to the Markdown file.
- Folder names and filenames match exactly.
- The ZIP preserves the original directory structure.
- Remote images are accessible and authorized for reuse.
- The finished DOCX has been checked visually.