MDZip .mdz

A portable, cross-platform format for bundling Markdown documents, images, and metadata into a single archive.

What is an .mdz file?

Files inside an .mdz archive

An .mdz file is a ZIP archive with an .mdz extension and a defined structure for packaging one or more Markdown documents, their assets, and optional metadata in a single self-contained file.

Think of MDZip (.mdz) like...

Quick Steps to Create an .mdz File:


1Markdown + images + whatever in a folder 2 ZIP the folder 3 Rename to .mdz.

Why not just ZIP? A ZIP has no entry point, no metadata, and no predictable structure. .mdz adds a flexible contract so tools can open the right file every time.

A conforming tool will usually create a manifest file to describe the contents and metadata of the .mdz archive (optional but recommended).


Quick Steps to View an .mdz File:

1 Rename the .mdz file to .zip (or just open it with a ZIP tool directly).

2 Open the main .md file with a compatible viewer that can resolve relative paths.

Common use cases

Markdown works well across tools until images are involved. MDZip addresses that gap.


The rest of this site describes the format, project, provides examples, and offers tools for creating and viewing .mdz files.

Where to go next

Markdown resources

Useful references for Markdown syntax, compatibility, and implementation details.

Ready to dive deeper?

Read the full specification for a complete reference of all fields, validation rules, and MIME type details.