the honest guide
How to make a Gantt chart with ChatGPT
ChatGPT can't draw a Gantt chart — it's a text model, with no canvas. But it can write the plan in a shape something else can draw. Two routes that genuinely work, and the catch that comes with both.
We use the same six-week bakery-website plan as our worked examples, our Excel guide, and our Notion guide, so you can line them all up side by side.
before you start
ChatGPT writes the plan. It doesn't draw the chart.
This one distinction saves an afternoon of confusion. When you ask a chat assistant for "a Gantt chart," it can't hand you a picture — it can only hand you text. Useful text: the tasks, the dates, the order. But someone still has to turn that text into bars, and that someone is either another tool or you. Here's the exchange, exactly as it plays out — a plain-English task list in, a block of code back:
Make me a Gantt chart for launching a small bakery's website in six weeks: design, build, copy, photos, then QA. Give it to me as Mermaid gantt code.
Here's a Gantt chart in Mermaid. Paste it into any Mermaid renderer to see it:
gantt
title Bakery website — launch in 6 weeks
dateFormat YYYY-MM-DD
axisFormat %b %d
section Site
Design :des, 2026-04-01, 14d
Build :bld, 2026-04-08, 18d
Copy :cpy, 2026-04-18, 7d
Photos :pho, 2026-04-22, 10d
QA & fixes :qa, 2026-05-02, 11d
Launch :milestone, lnch, 2026-05-12, 0d Notice what came back: not a chart, but instructions for one. That gap — between the plan and the picture — is the whole subject of this page.
method 01 — the one that actually draws a chart
The Mermaid route, in four steps
Mermaid is a little text-to-diagram language, and it has a native
gantt
type. This is the route worth knowing, because it ends in a real
Gantt chart
— bars on a date axis — rather than a screenshot or a table.
-
Ask for Mermaid gantt code, not "a chart"
In ChatGPT (or Claude, or Gemini), describe the project in a sentence and end with the magic words: "Give it to me as Mermaid gantt code." Without that, you get a bulleted list or an ASCII table. With it, you get syntax a real renderer can draw.
-
Copy the fenced code block
The reply is a block starting with `gantt`. Copy everything inside it. This text is the entire plan — tasks, start dates, durations, and a milestone — written in a format designed to be turned into a picture by something else.
-
Paste it somewhere that renders Mermaid
Paste the block into mermaid.live for an instant preview, or into a Notion code block set to "Mermaid", a GitHub Markdown file, Obsidian, or GitLab — all render Mermaid natively. Only now does a chart appear on screen.
-
Check every date against reality
This is the step nobody mentions. The model guessed those durations and start dates; it did not compute them. Read each bar, fix the dates it got wrong, and confirm nothing starts before the task it depends on.
This is what the code above becomes once a renderer draws it — the same five tasks and the launch milestone. It's a genuine chart. It's also a dead one: edit the plan and you're back in the code, by hand.
method 02 — when you'd rather use a spreadsheet
The task-table route
If the chart is headed for Excel or Sheets anyway, skip Mermaid and ask for the data instead: "give me a table with task, start date, end date, duration and what each task depends on." You'll get something clean enough to paste straight into a spreadsheet and run the stacked-bar trick on.
| Task | Start | End | Days | Depends on |
|---|---|---|---|---|
| Design | Apr 1 | Apr 14 | 14 | — |
| Build | Apr 8 | Apr 25 | 18 | Design |
| Copy | Apr 18 | Apr 24 | 7 | Build |
| Photos | Apr 22 | May 1 | 10 | Copy |
| QA & fixes | May 2 | May 12 | 11 | Photos |
From here you're in spreadsheet territory: our Excel and Google Sheets guides walk through turning exactly this kind of table into bars. Handy — but notice the "Depends on" column is just a note. The spreadsheet won't read it, so nothing reflows when a dependency slips. That's true whether a human typed the table or an AI did.
the honest part
Where ChatGPT stops
The AI is genuinely good at the first draft — turning a fuzzy idea into a named list of tasks with plausible dates. It's the four steps after that where a text model runs out of road:
- It's a snapshot, not a plan. The code and the table freeze the moment they're written. Move a date and nothing downstream follows — there are no live dependencies, because it's text, not a timeline that knows how it's wired.
- The dates are a confident guess. The model didn't calculate durations — it predicted them. Ask twice and you may get two different plans, and it will cheerfully start a task before the one it depends on. Every date needs a human check.
- No real critical path. It may write the words "critical path," but it isn't computing one. Finding the critical path — the chain that actually sets your end date — is still on you.
- You're the renderer and the host. Mermaid needs somewhere to draw it; a table needs a spreadsheet; neither is a link you can send. The AI hands over raw material, and stitching it into something shareable is the part it can't do.
None of this means don't use AI — it means the chat window is the wrong shape for the job. The idea that made ChatGPT feel magic here (describe a project in plain English, get a plan back) is exactly right. It just needs to end in a drawn, living chart instead of a block of code. Our head guide compares every route side by side.
questions we actually get
AI Gantt charts, answered
Can ChatGPT make a Gantt chart?
Not draw one — ChatGPT is a text model, so it has no canvas. What it can do is write the plan in a format something else draws: Mermaid "gantt" code you paste into a Mermaid renderer, or a task table you paste into a spreadsheet. Both work, but in each case ChatGPT hands you the raw material and a different tool does the actual drawing.
What's the best prompt for a Gantt chart in ChatGPT?
Describe the project in one plain sentence, list the phases, and then name the output format: "…give it to me as Mermaid gantt code." Naming the format is the whole trick — ask for "a Gantt chart" and you get prose or an ASCII grid; ask for Mermaid gantt code and you get something a renderer can turn into real bars.
Can ChatGPT create an editable Gantt chart?
No. The Mermaid code and the task table are both snapshots — frozen the instant they are generated. Change a date and nothing else moves; there are no live dependencies, because the output is text, not a plan. If you drag one bar in a spreadsheet you built from its table, the others sit still. For a chart that reflows, you need a tool that stores the plan as data.
Does ChatGPT get the project dates right?
Often not. It produces confident, plausible durations, but it is guessing — the same prompt can return different numbers on a second try, and it will happily start a task before the one it depends on finishes. It also names a "critical path" without actually computing one. Treat every date as a first draft to check, not an answer.
Is there an AI that just makes the Gantt chart for me?
Yes — that is exactly what ganttchart.ai is. Same plain-English input as a ChatGPT prompt, but instead of code you copy and render yourself, you get a finished, shareable, editable Gantt chart in about ten seconds, with dependencies and milestones already wired up. When a date slips, the chart reflows on its own — the one thing a copied-and-pasted snapshot can never do.
New to the vocabulary? Every planning term on this page is defined in the plain-English glossary.
AI that draws the chart
Same plain-English input as a ChatGPT prompt — but instead of code to copy and render yourself, you get a finished, shareable, editable Gantt chart in seconds, dependencies and milestones already wired. And when a date slips, it reflows on its own.