ranuts/document

Edit DOCX/XLSX/PPTX in your browser — client-side, no server, works offline (OnlyOffice + WebAssembly)

What it solves

It provides a way to open and edit common office documents (Word, Excel, PowerPoint) directly in a web browser without requiring a server, a user account, or uploading files to the cloud. This ensures that documents remain private and are processed entirely on the user's own device.

How it works

The project uses the OnlyOffice engine and a WASM-based converter that run locally within the browser tab. It supports a wide range of formats including .docx, .xlsx, .pptx, and PDFs (for annotation). It can be deployed as a static site or via Docker, and it can be embedded into other applications via an iframe and a postMessage API.

Who it’s for

Users who need a privacy-focused, offline-capable office editor that works in the browser, and developers who want to embed a serverless document editor into their own applications.

Highlights

  • Local Processing: All conversions, edits, and exports happen in the browser tab; nothing is uploaded to a server.
  • Offline Support: Installable as a Progressive Web App (PWA) for full offline functionality.
  • Agent-Ready: Exposes WebMCP tools allowing browser AI agents to open, read, and convert documents.
  • Direct File Access: In Chromium browsers, it can write changes directly back to the original file on the system.
  • Broad Format Support: Handles DOCX, XLSX, PPTX, CSV, ODF, RTF, TXT, and legacy binary formats.

Related

  • Dispatch
  • Project
  • Project
  • Project
  • Project