Markdown to Word with images

Remote URLs, base64 data URIs and dropped files are fetched, scaled to the page width, centred and embedded in the .docx so the document works offline.

Free · up to 10 images

Field report: north site

The drone survey on Tuesday covered the full perimeter.

north-0940.jpg · 1600×686 → scaled to 15.9 cm

Figure 1: Aerial view of the north site at 09:40

A small inline logo from a data URI:

Figure 2: Company mark

Each alt text above becomes a numbered figure caption in Word.

Converted in your browser. Your file never leaves your device.
1

Paste Markdown with image links

Remote https URLs, data URIs and relative paths are all recognised. Drop the actual files for relative paths.

2

Watch them appear in the preview

Images load as they are fetched. A placeholder marks anything that could not be reached, with the URL shown.

3

Download a self-contained .docx

Every picture is inside the file. Email it, print it, open it on a plane.

How images get from a Markdown link into a Word document

A Markdown image is just a reference: ![alt](url) says where a picture lives, not what it contains. Word, on the other hand, expects pictures to be inside the .docx, stored as files under word/media/ and referenced through a relationship id from a drawing element in the text. Word can technically link to external pictures, but linked images break the moment the file is emailed or the URL changes, so a good conversion embeds every image. That is what MDtoDOCX does, and the details of fetching, sizing and accessible descriptions are where converters differ.

Fetching remote images

Images at https URLs are fetched from your browser. When the host sends permissive CORS headers, the bytes are read directly. When it does not, which is common for image hosts and wikis, the request goes through a small proxy on our server that only accepts image content types, caps each file at 5 MB and keeps no copy. The Markdown text itself is never sent; only the image URL is. Private URLs that need a login cannot be fetched by either route, so download those files and drop them onto the converter instead.

Base64 and local paths

Data URIs are decoded in place with no network request at all, which is why they work offline and are common in exported notebooks and AI chat exports. Relative paths such as ./figures/plot.png cannot currently be resolved by the web converter. Use a data URI or a public HTTPS image URL for those images.

Sizing to the page

Each image's dimensions are read from the file header. The printable width is the paper width minus both margins. An image wider than that is scaled down proportionally; a smaller image stays at its natural size, so icons remain small and screenshots remain legible. Each picture sits in its own centred paragraph and can still be resized in Word.

Alt text stays accessible

Markdown alt text is stored in the drawing's title and description fields, where screen readers and Word's accessibility checker can find it. Non-empty alt text is also placed in a Word Caption-styled paragraph beneath the image. Automatic figure numbers and a generated table of figures are not included yet.

Formats

PNG, JPEG, GIF, BMP and SVG files are recognised. Raster images are embedded with their measured dimensions. SVG stays vector in current desktop versions of Word; older and third-party viewers may not display it correctly. WebP and AVIF conversion is not available yet.

Free and Pro limits

The free converter embeds up to ten images per document. Pro removes the limit and raises the overall file cap to 50 MB, which matters for reports full of screenshots. Sizing, centring and captions are identical on both tiers. Images inside Word tables are scaled to the cell width instead of the page width. For the rest of the document's inline styles, see Markdown to Word with formatting; if you convert with the command line, note that Pandoc embeds images at their pixel size and often overflows the page.

Images in Word: MDtoDOCX vs Pandoc vs copy-paste

Image handlingMDtoDOCXPandocCopy from a preview
Remote URL imagesFetched and embeddedFetched and embeddedOften pasted as links that break later
Base64 data URIsDecoded and embeddedEmbeddedUsually lost
Fit to page widthAutomatic, aspect ratio keptPixel size at 96 dpi, may overflowBrowser render size
Alt textAccessible description and Caption styleCaption paragraphOften dropped
WebP / AVIFNot supported yetDepends on the installed readersDepends on browser
Relative local pathsDrop the files to resolveResolved from diskBroken image icons
Works offline after exportYes, all embeddedYesNot if linked
InstallNonePandocNone

Frequently asked questions

Are images embedded in the .docx or linked?
Embedded. Each image is stored inside the file under word/media so the document opens correctly offline and after being emailed. Nothing depends on the original URL staying online.
How are images sized in Word?
Images wider than the printable page width are scaled down proportionally to fit between the margins. Smaller images keep their natural size at 96 dpi. You can resize them in Word afterwards.
What happens to the alt text?
It is stored in the picture's accessibility fields and also written in a Caption-styled paragraph beneath the image. Automatic figure numbering is not included yet.
Can I use images from my computer with relative paths?
Not directly in the web converter yet. Convert the image to a data URI or use a public HTTPS URL before exporting.
Why did one image show as a placeholder?
The URL could not be fetched, usually because it requires a login or the host blocks automated requests. The placeholder shows the URL so you can download the file and drop it in.
Does my Markdown get uploaded when images are fetched?
No. Only the image URL is requested, either directly from your browser or through a proxy that accepts image types only and stores nothing. Your text stays local.
Which image formats are supported?
PNG, JPEG, GIF, BMP and SVG are recognised. WebP and AVIF conversion is not available yet. SVG support depends on the Word or document viewer version.
How many images can I convert for free?
Ten per document. Pro removes the limit and raises the total file size cap to 50 MB.