Dependencies and milestones
Schedule work after another task and mark delivery, approval, or review checkpoints as milestones.
Project timeline planning
Create a Mermaid Gantt chart online to plan tasks, milestones, durations, dependencies, and delivery phases. Edit the timeline source, preview the schedule, and export SVG or PNG.
Start with a compact release plan, then adjust dates, durations, dependencies, milestones, and sections while the schedule stays visible.
Build a Mermaid Gantt chart online
Changes render automatically in the preview.
Mermaid Gantt syntax records task timing, status, sections, and dependencies in a compact format that can evolve with a delivery plan.
Schedule work after another task and mark delivery, approval, or review checkpoints as milestones.
Group related work and distinguish active, completed, critical, and planned tasks.
See the rendered result update as you edit and keep syntax feedback beside the source.
Work in a modern browser without installing Mermaid CLI, a desktop app, or an editor extension.
Move the current source into the full editor for AI generation, repair, sharing, and saved projects.
Set a consistent date format, group the work, and express dependencies before adding detail that does not affect schedule decisions.
Add the gantt declaration, a clear title, and the dateFormat used by explicit task dates.
Create sections for phases, teams, or workstreams that readers need to compare.
Give important tasks stable IDs so later tasks can use after dependencies.
Add durations, milestones, and status markers that communicate the current plan.
Review overlaps and critical handoffs, then export the schedule or continue editing.
A readable Gantt chart focuses on sequencing, timing, and ownership boundaries instead of reproducing every item from a project tracker.
Declare dateFormat before tasks and write explicit dates in that format so the source remains predictable and easy to review.
Assign IDs to tasks that other work depends on, then use after to express sequencing without manually recalculating every start date.
A milestone marks an event such as approval, launch, handoff, or a contractual deadline. Use a 0d duration when the event should represent one exact point in time.
Include tasks that change schedule understanding. Move fine-grained execution checklists to the project tracker.
The example plans requirements, prototyping, implementation, and a release milestone using two sections and dependency-based dates.
gantt
title Product release plan
dateFormat YYYY-MM-DD
axisFormat %b %d
section Design
Requirements :done, req, 2026-09-01, 3d
Prototype :active, proto, after req, 4d
section Delivery
Implementation :dev, after proto, 7d
Release :milestone, release, after dev, 0dCompare planning diagrams
See how Mermaid and PlantUML support documentation workflows and where schedule diagrams fit into a larger diagram system.
Read the Mermaid vs PlantUML guide →Continue with the general editor, browse this release’s tool directory, or compare the diagram with a related modeling view.
Write Mermaid source, preview the result, and export SVG or PNG.
Open tool →Choose a focused Mermaid editor for the diagram you need to create.
Open tool →Create process flows, decisions, and system workflows from Mermaid text.
Open tool →It is a browser tool for writing Mermaid gantt syntax, previewing a project timeline, and exporting the schedule as SVG or PNG.
Add a dateFormat directive near the start of the chart, such as YYYY-MM-DD, and use that format for explicit task dates.
Yes. Give the earlier task an ID and schedule another task with after followed by that ID.
Yes. Mark a task as milestone. Mermaid positions it from the task start and duration; use 0d when a release, approval, or handoff should appear at one exact time.
Yes. Task tags such as done, active, and crit communicate status and scheduling importance.
Yes. Check the timeline preview and then download SVG for scalable documentation or PNG for slides and image-based sharing.