Office documents, in your app.

Tumbler gives you TypeScript models and Svelte components for reading, rendering, and editing Word documents, spreadsheets, PowerPoint presentations, and PDFs.

Early alpha. APIs are still changing and Office compatibility is incomplete. Keep original copies of important documents.

Release 0.1.0-alpha.28 adds PDF rendering and editing, native document authoring, shared chart editing, and a public CLI. Read the release guide for changes and migration notes.

Start with a document

Install the components alongside the document formats you need.

Terminal
bun add @tumblerjs/svelte @tumblerjs/word @tumblerjs/sheets @tumblerjs/slides

The installation guide walks through a complete file viewer. To inspect rendering first, open a sample in the playground.

Choose a format

Keep control of your application

The format packages work without Svelte. The components render those models and emit edit events, leaving file storage, permissions, and the surrounding UI to you.

TypeScript
import { openSpreadsheetArtifact } from '@tumblerjs/sheets';

const workbook = openSpreadsheetArtifact(bytes);
const edited = workbook.editCell('B2', 42);

const output = edited.bytes();

Read how the packages fit together, or check the current limitations before integrating.