> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> [!NOTE]
>
> The PowerPoint packages are in private preview with alpha customers. [Contact us](https://reducto.ai/contact?source=docs_office_pptx) to get access.

Edit and render .pptx decks in Node and the browser, without Microsoft PowerPoint, LibreOffice or a server.

## What you can do

* **Edit a deck with a JS API.** `PowerPointPresentation` is Office.js-like: it follows the names in the Office JavaScript API for Microsoft PowerPoint (`PowerPoint.Presentation`, `Slide`, `Shape`, `TextRange` …). Edits apply at once: there is no `PowerPoint.run`, `load` or `sync`.
* **Convert .pptx to PDF or PNG.** Each slide is one page. Text, shapes, pictures, tables, charts, SmartArt and equations paint as Microsoft PowerPoint paints them.
* **Show and edit decks in a page.** Use one call for a full editor UI, or drive the headless editor with commands.
* **Edit one deck with many writers.** Share edits through a central sequencer. See [Collaboration](https://docs.reducto.ai/office/pptx/recipes/collab.md).

## The packages

| Package | Use it for |
| - | - |
| `@reductoai/pptx` | The engine: parse, edit (`PowerPointPresentation`), layout, PDF, PNG, CLI, headless editor, collab |
| `@reductoai/pptx-editor` | A .pptx editor for the browser: ribbon, slide rail, stage, notes, comments, slide show. Vanilla and React |
| `@reductoai/portable-fonts` | Metric-compatible open fonts (Carlito for Calibri, Liberation for Arial and Times …) |

## Entry points

`@reductoai/pptx` has one entry point for each runtime. Use the correct one: the Node entry point reads files and loads native modules, so a browser bundle must not import it.

| Import | Runtime | Gives |
| - | - | - |
| `@reductoai/pptx/node` | Node | `PowerPointPresentation` with `open(path)`, `save(path)`, `toPdf()`, `toPng()`. File I/O, system fonts, PNG and PDF |
| `@reductoai/pptx/browser` | Browser | The core plus face providers and the EMF, WMF and SVG backend hooks |
| `@reductoai/pptx/officejs` | Both | `PowerPointPresentation` only. Bytes in, bytes out. No layout, no fonts |
| `@reductoai/pptx` | Both | Low-level: `runPptxPipeline`, the layout IR types, the font registry |
| `@reductoai/pptx/pdf` | Both | `renderPdfBytes(ir, registry)` |
| `@reductoai/pptx/editor` | Both | The headless slide editor (`PptxEditor`) |
| `@reductoai/pptx/collab` | Both | Shared editing (`PptxReplica`, `PptxEditorCollab`) |
| `@reductoai/pptx/blank` | Both | `blankPresentationBytes()` |
| `@reductoai/pptx/portable-fonts` | Node | Re-exports `@reductoai/portable-fonts` |

Each slide lays out as one page of the same `LayoutDocument` IR that `@reductoai/docx` emits, so the same PDF writer and canvas viewer paint both.

## Where to go next

* New to the library: [Installation](https://docs.reducto.ai/office/pptx/getting-started/installation.md), then [JS API in Node](https://docs.reducto.ai/office/pptx/js-api/node.md).
* You only need a PDF: [PDF](https://docs.reducto.ai/office/pptx/conversion/pdf.md).
* You need a UI: [Editor](https://docs.reducto.ai/office/pptx/ui/editor.md).
* You look up a member: the [API reference](https://docs.reducto.ai/office/pptx/api/presentation.md).
