Visualizers

Mermaid Gantt Chart Editor

Plan a project as a timeline. Tasks, dependencies and milestones from a few lines of text.

  • Runs in your browser
  • Instant results
  • Free, no sign-up
Loading the tool…

How to use the Mermaid Live Editor

  1. Set a title and the date format, then group tasks into sections.
  2. Give each task a start date or "after" another task, and a length like 5d.
  3. Download SVG or PNG, copy the Markdown block, or copy a share link.

Frequently asked questions

How do I make a task start after another one?

Give the first task an id, like "Design :d1, 2026-01-05, 5d", and start the next one with "after d1", like "Build :after d1, 10d".

How do I add a milestone?

Use the milestone tag and a length of 0d, for example "Launch :milestone, after d3, 0d". It is drawn as a diamond.

Can I highlight critical tasks?

Yes. Add "crit" to the task, alone or with "done" or "active", like "Testing :crit, active, 4d".

Can the chart skip weekends?

Add "excludes weekends" (or specific dates) after the date format, and task lengths are counted in working days.

Syntax cheat sheet

CodeWhat it does
ganttStart a Gantt chart
dateFormat YYYY-MM-DDHow dates are written in the tasks
section BuildA group of tasks
Design :d1, 2026-01-05, 5dA task with an id, a start date and a length
Code :after d1, 10dA task that starts when another ends
done, active, critTask states: finished, in progress, critical
Release :milestone, after d2, 0dA milestone
excludes weekendsSkip weekends when counting days

Practice Python with coding challenges

Solve hands-on problems right in this editor: run the sample tests, submit, and get an AI code review.

All Python challenges
Easy

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

You'll learn ArithmeticReturn values
BeginnerLearning-pathVariables
Easy

Distance Between Points

Compute the straight-line distance between two points.

You'll learn Pythagorean theoremSquare roots
BeginnerFunctionsLearning-pathmath
Easy

Average of Three

Average three whole numbers.

You'll learn ArithmeticDivision
BeginnerLearning-pathVariables
Easy

Prime Number Check

Decide whether a number is prime.

You'll learn DivisibilityLoop optimization
BeginnerLoopsNumbersStudent-beginner
Easy

Dot Product of Two Vectors

Multiply two vectors element by element and add the results: the core operation of every neuron.

You'll learn VectorsDot product
Neural networksaimachine learning
Easy

Days in a Month

Return how many days a month has, including leap years.

You'll learn Calendar rulesHelper functions
BeginnerConditionsFunctionsLearning-path
Easy

Count Uppercase Letters

Count the capital letters in a text.

You'll learn Character checksCounting
BeginnerLearning-pathStrings
Easy

Celsius to Fahrenheit

Convert a temperature from Celsius to Fahrenheit.

You'll learn FormulasOperator precedence
BeginnerLearning-pathVariables
Easy

Min and Max Together

Find the smallest and largest value in one pass.

You'll learn Single passMultiple return values
ArraysBeginnerFunctionsLearning-path
Easy

Largest of Three

Pick the largest of three numbers without a built-in max.

You'll learn ComparisonsCombining conditions
BeginnerConditionsLearning-path
Easy

Swap First and Last

Exchange the first and last items of a list.

You'll learn List indexingSwapping
ArraysBeginnerLearning-path
Easy

Password Rules Check

Check a password against simple strength rules.

You'll learn ValidationBoolean flags
BeginnerConditionsLearning-pathStrings