Create a PowerPoint (.pptx) from JSON or Markdown Online
Build a PowerPoint .pptx from JSON or Markdown: titles, bullets, images, tables, native editable charts, speaker notes, themes and logo.
Result
Press “Run” to see the result.
Send slides as a JSON array — each slide may have title, subtitle, bullets (strings or {text, level}), text, image / images (data URL or http(s) URL), table ({header, rows}), chart and notes — or markdown where --- separates slides: the first heading is the title, lists become bullets, GFM tables become tables, images are placed, a ``chart block holds chart JSON and a Notes: line starts the speaker notes. layout: "title" or "section"` gives a cover or a divider slide.
Charts are native PowerPoint charts you can edit (type bar, column, line, area, pie, doughnut, scatter, radar; labels, series [{name, values}], stacked, show_values). Text sits on the left and visuals on the right when a slide has both. Themes light, dark, corporate (title bar) and green, with your own colors (primary, accent, background, text, title), font (Arial by default, full Vietnamese support), layout 16x9, 16x10, 4x3 or wide, a logo on every slide and slide numbers.
Built with PptxGenJS (MIT) in memory; up to 200 slides and 60 images (20 fetched, 5 MB each). The result is a .pptx file, or JSON with base64 and a per-slide summary (format=json). Custom slide masters from your own .pptx are not supported yet.
Use this in your code
curl -X POST "https://apibox.io.vn/v1/pptx-generate" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"slides":[{"layout":"title","title":"Báo cáo Q3/2026","subtitle":"Phòng Kinh doanh"},{"title":"Điểm chính","bullets":["Doanh thu +18%","Chi phí −5%"]},{"title":"Doanh thu","chart":{"type":"column","labels":["T7","T8","T9"],"series":[{"name":"2026","values":[140,160,178]}]}}],"theme":"corporate","format":"json"}'const res = await fetch('https://apibox.io.vn/v1/pptx-generate', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"slides": [
{
"layout": "title",
"title": "Báo cáo Q3/2026",
"subtitle": "Phòng Kinh doanh"
},
{
"title": "Điểm chính",
"bullets": [
"Doanh thu +18%",
"Chi phí −5%"
]
},
{
"title": "Doanh thu",
"chart": {
"type": "column",
"labels": [
"T7",
"T8",
"T9"
],
"series": [
{
"name": "2026",
"values": [
140,
160,
178
]
}
]
}
}
],
"theme": "corporate",
"format": "json"
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/pptx-generate",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"slides": [{"layout": "title", "title": "Báo cáo Q3/2026", "subtitle": "Phòng Kinh doanh"}, {"title": "Điểm chính", "bullets": ["Doanh thu +18%", "Chi phí −5%"]}, {"title": "Doanh thu", "chart": {"type": "column", "labels": ["T7", "T8", "T9"], "series": [{"name": "2026", "values": [140, 160, 178]}]}}], "theme": "corporate", "format": "json"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/pptx-generate');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"slides":[{"layout":"title","title":"Báo cáo Q3/2026","subtitle":"Phòng Kinh doanh"},{"title":"Điểm chính","bullets":["Doanh thu +18%","Chi phí −5%"]},{"title":"Doanh thu","chart":{"type":"column","labels":["T7","T8","T9"],"series":[{"name":"2026","values":[140,160,178]}]}}],"theme":"corporate","format":"json"}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Are charts images?
No, they are real PowerPoint charts with their data embedded, so they can be edited in PowerPoint, Keynote or Google Slides.
Which font is used for Vietnamese?
Arial by default (installed everywhere, full Vietnamese). Set font to any font name; it must exist on the computer that opens the file.
Can I use my company template?
Not yet: choose a theme and pass colors, font and logo. Applying a master from an uploaded .pptx is planned.