Back to Developer Tools
JS to PPTX
Write JavaScript using the pptxgenjs API and download a PowerPoint file instantly — full API access, runs entirely in your browser.
JavaScript Editor—
pptx is pre-initializedpptx is a ready-made
PptxGenJS instance. Add slides to it using the API below. Do not call pptx.writeFile() — the tool handles the download automatically when you click Run..pptx
100% Client-Side
Your JavaScript runs locally in the browser — pptxgenjs generates the PPTX file directly without any server upload.
Full pptxgenjs API
Shapes, text boxes, bullet lists, tables, colors, backgrounds — everything pptxgenjs supports is available in your code.