Mermaid Gantt Chart Maker

Build project timelines and Gantt charts with Mermaid syntax — live preview, SVG/PNG export, no account required.

Runs 100% in your browser. Your input and files never leave your device.

Why use our online Mermaid Gantt Chart Maker?

Create project timeline Gantt charts with Mermaid syntax — define tasks, dates, and dependencies with live preview.

How to use Mermaid Gantt Chart Maker

  1. 1
    Set the date format

    Always include a dateFormat declaration: dateFormat YYYY-MM-DD. This must match the date strings you use for task start dates.

  2. 2
    Organize tasks into sections

    Group tasks with section labels. Each section creates a visual band in the rendered chart: section Planning.

  3. 3
    Define tasks with durations

    Specify task name, optional ID, start date, and duration: Research :a1, 2024-01-01, 7d. Use "after a1" to define dependencies.

  4. 4
    Export the Gantt chart

    SVG gives the cleanest output for presentations or documents. PNG at 3× is suitable for print-quality output.

Frequently Asked Questions

What dateFormat values does Mermaid Gantt support?

Mermaid uses moment.js format strings. The most common is YYYY-MM-DD. Other formats like MM/DD/YYYY work but YYYY-MM-DD is recommended for clarity.

How do I show task dependencies in a Gantt chart?

Assign an ID to a task (e.g., :a1, 2024-01-01, 7d), then reference it with "after a1" in the next task's start: Design :a2, after a1, 5d.

How do I mark a milestone in a Mermaid Gantt chart?

Add "milestone" as a task keyword: Release : milestone, 2024-02-01, 0d. Zero duration marks it as a point-in-time event.

Can I mark a task as active or done?

Yes. Add "active" or "done" after the colon: Task : active, 2024-01-01, 7d. "done" renders the task with a completed style.

What is the best export format for Gantt charts in presentations?

SVG is ideal for slides where you need crisp vector output that scales. PNG at 2× works well if your presentation tool doesn't support SVG.

Also useful: Markdown EditorSVG Converter