DIAGRAMS + DOCUMENTATION

Export Mermaid blocks from Markdown to an image ZIP

Buy me a coffee

Paste Markdown with Mermaid blocks and download named PNG, SVG or JPEG diagrams in one ZIP. Choose theme and resolution. No server uploads.

No sign-up.
Just useful tools.

Markdown document

2 diagrams found

Saved as diagram-01.pngflowchart LR
Saved as diagram-02.pngsequenceDiagram
Saved as project-diagrams.zip
Optional. Source and settings stay in this browser. Clearing removes all saved tool drafts.

A README in, two named PNG files out

This README has two Mermaid fences and a JSON fence. Only the Mermaid blocks become images; the JSON configuration and surrounding prose are ignored.

Original README

# Project README

```mermaid
flowchart LR
    Browser --> API --> Database
```

```json
{"environment":"preview"}
```

```mermaid
sequenceDiagram
    Browser->>API: Request
    API-->>Browser: Response
```

Expected ZIP contents / PNG

architecture.png
request-flow.png

After pasting the README, change the first diagram's filename from diagram-01 to architecture, and the second from diagram-02 to request-flow. The per-diagram filename controls above show the exact saved names.

Choose PNG, then Download ZIP. The separate File name control names the archive, not the images inside it. SVG or JPEG changes each image's extension. The ZIP contains diagram images only, not a rewritten README or external Markdown images.

A malformed block stops the whole archive

Replace the second Mermaid block with this invalid diagram, keeping the same filenames:

```mermaid
not-a-diagram
```

The error identifies Diagram 2 (request-flow.png) and reports that no diagram type was detected. No ZIP is downloaded, even if the first diagram rendered successfully. Fix the second block and export again; the tool never silently drops it.

Browser handoff or repeatable automation?

Use this browser-local workflow for a named ZIP you can hand to someone. For scripts and build pipelines, the official Mermaid CLI also converts diagrams and can transform Mermaid blocks in Markdown into image references. The distinction is the workflow, not exclusive support for batching or transparency.

Keep each batch within 20 diagrams, 128 megapixels of total raster output, and 100 MB of image files. For larger diagrams, try SVG or split the document into smaller batches.

Export all Mermaid diagrams from Markdown

Paste or import Markdown with fenced mermaid code blocks. Name each image, choose PNG, SVG or JPEG, then download one ZIP. Text outside the blocks is ignored. Rendering stays on your device. Use text-only diagrams without embedded images or external resources.

Up to 20 diagrams, 128 megapixels total raster output and 100 MB of image files per batch. Invalid diagrams stop the export with their number and filename; no silently incomplete archive. Use SVG for large diagrams. Cancellation takes effect between diagrams.