Gantt Chart Maker Online
Tasks in JSON, CSV or Excel → schedule on working days (Vietnamese holidays), FS / SS / FF / SF links, critical path, Gantt chart as SVG, PNG or PDF.
Result
Press “Run” to see the result.
Send tasks (JSON array), csv (header row) or an Excel file. Each task has an id, name, either duration (working days) or start + end, optional start constraint, depends ("A", "A FS+2", "B SS", "C FF-1", several separated by commas), group, progress (%), milestone and wbs. Vietnamese column names (Tên công việc, Bắt đầu, Thời lượng, Phụ thuộc, Nhóm, Tiến độ) and dd/mm/yyyy dates are understood.
The schedule skips weekends (workweek=mon-fri, mon-sat or all) and public holidays: Vietnam by default (official Tết, 30/4–1/5, 2/9 and 24/11 schedules), any country code from the holidays dataset, or holidays=none, plus extra_holidays / extra_workdays. A forward and backward pass (critical path method) gives early / late dates, total float and the critical path.
format=json (default) returns the schedule; svg, png and pdf draw the Gantt chart: task table, bars coloured by group, progress, milestones, dependency arrows, critical path in red, weekends and holidays shaded, a "today" line, day / week / month scale (scale=auto), Vietnamese or English labels (lang). The PDF is A3 landscape by default (page=A4) and paginated for long schedules. Up to 500 tasks; nothing is stored.
Use this in your code
curl -X POST "https://apibox.io.vn/v1/gantt-chart" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tasks":[{"id":"A","name":"Khảo sát","start":"2026-11-20","duration":3},{"id":"B","name":"Thiết kế","duration":5,"depends":"A"},{"id":"C","name":"Xin phép","duration":2,"depends":"A"},{"id":"D","name":"Thi công","duration":10,"depends":"B,C"},{"id":"M","name":"Bàn giao","milestone":true,"depends":"D"}]}'const res = await fetch('https://apibox.io.vn/v1/gantt-chart', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"tasks": [
{
"id": "A",
"name": "Khảo sát",
"start": "2026-11-20",
"duration": 3
},
{
"id": "B",
"name": "Thiết kế",
"duration": 5,
"depends": "A"
},
{
"id": "C",
"name": "Xin phép",
"duration": 2,
"depends": "A"
},
{
"id": "D",
"name": "Thi công",
"duration": 10,
"depends": "B,C"
},
{
"id": "M",
"name": "Bàn giao",
"milestone": true,
"depends": "D"
}
]
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/gantt-chart",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"tasks": [{"id": "A", "name": "Khảo sát", "start": "2026-11-20", "duration": 3}, {"id": "B", "name": "Thiết kế", "duration": 5, "depends": "A"}, {"id": "C", "name": "Xin phép", "duration": 2, "depends": "A"}, {"id": "D", "name": "Thi công", "duration": 10, "depends": "B,C"}, {"id": "M", "name": "Bàn giao", "milestone": True, "depends": "D"}]},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/gantt-chart');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"tasks":[{"id":"A","name":"Khảo sát","start":"2026-11-20","duration":3},{"id":"B","name":"Thiết kế","duration":5,"depends":"A"},{"id":"C","name":"Xin phép","duration":2,"depends":"A"},{"id":"D","name":"Thi công","duration":10,"depends":"B,C"},{"id":"M","name":"Bàn giao","milestone":true,"depends":"D"}]}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Are Vietnamese holidays handled?
Yes. By default the schedule skips Saturdays, Sundays and the official Vietnamese days off (Tết, Hùng Kings, 30/4–1/5, 2/9, 24/11). Use workweek=mon-sat for a six-day site week or holidays=none to ignore holidays.
Which dependency types are supported?
Finish-to-start (default), start-to-start, finish-to-finish and start-to-finish, each with a positive or negative lag in working days, e.g. "3FS+2" or "B SS".
How large can a project be?
Up to 500 tasks and 10 years. PNG output is limited to 16 megapixels; use SVG or PDF (paginated) for large charts.