genspark-ai/genoffice

Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real .docx/.xlsx/.pptx files locally. Bring your own key. macOS, Windows & Linux.

GenOffice — an open-source AI Office suite

What it is. GenOffice is a free, open-source alternative to Microsoft Office that runs on macOS, Windows, and Linux. It opens and saves real Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files, and also edits PDF, Markdown, and HTML documents. The project calls itself "the world's first full-featured open-source AI Office suite."

The core idea. Instead of a chat box bolted onto the side of a document, GenOffice puts an AI agent inside the editor. The AI reads the file, makes changes directly, and shows you exactly what it touched — with tracked changes and one-click rollback. It's not a separate tool; it's part of the editing experience.

What it can do

Six apps in one:

  1. Docs — opens Word files the way Word lays them out (two-column sections, headers/footers, tables, comments, tracked changes). A Mailings tab turns a document into a mail-merge template using an .xlsx or .csv recipient list. The AI can rewrite sections, insert new ones, or build an interactive mind map of the whole document.

  2. Sheets — opens Excel files with a custom-built Rust engine. The AI adds real formulas (like SUMIF), not pasted numbers, and can insert charts. Supports pivot tables, slicers, conditional formatting, formula tracing, and pictures embedded inside cells as Excel's native rich values. Questions about the workbook get answers with clickable citations to the exact cells used.

  3. Slides — generates a complete .pptx deck from a one-line prompt: plans the storyline, researches numbers, and drafts every slide onto the canvas. You can keep editing with masters, layouts, and smart guides, or ask the AI to restyle, rewrite, and reorder. You can even insert a .glb 3D model that stays 3D in PowerPoint, and record slide narration that PowerPoint plays back.

  4. PDF — edit text directly inside the page (the content stream is rewritten with the original fonts, not covered up). Convert PDF to editable Word, Excel, or PowerPoint documents entirely on your machine; scanned pages go through the system's OCR.

  5. HTML — an AI page and UI builder. You describe what the page is for and who it's for; the AI proposes a design brief (hook, palette, typography, style directions) first, then builds a single self-contained .html file. One "Restyle" request can swap the whole visual direction while keeping every section and all copy in place. Export as PDF or as a native editable Word document.

  6. Markdown — a block editor over plain .md files. Select any passage and an "Ask AI" chip appears for instructions or suggestions. Supports [[wiki links]] like Obsidian, with note-name completion, inline embeds, a Backlinks panel, and a Graph view of the whole vault. Exports to Word locally.

Key properties

  • Real formats, byte-preserving. Only what you edit is rewritten; everything else in the file survives byte-for-byte, so documents keep working in Word, Excel, and PowerPoint.
  • Local by design. Files open, edit, save, and convert on your machine. PDF→Word, Markdown→Word, and HTML→Word all run on-device. Only AI calls leave the machine, to the provider you choose.
  • Your keys or none. Sign in with Genspark and skip API keys, or bring your own key for Claude, OpenAI, Gemini, DeepSeek, Kimi, GLM, Qwen, Doubao, MiniMax, Grok, Mistral, OpenRouter, and many others — including any OpenAI-compatible endpoint or local server.
  • Find files by what they say. The home screen searches names, folders, and full text of your documents from a local SQLite index (Chinese/Japanese/Korean included). Optionally, the top hits are reranked by TypeSafe Jev, a model that returns one relevance score per document, so the file that actually answers your question comes first. This reranking is off by default and only sends excerpts of top hits when switched on.
  • Ask your files, with sources. Star a set of documents and ask questions across them in plain language. The agent searches the starred files and answers with a citation after every claim — click a citation and the file opens in the right app. Each question is kept as its own conversation.
  • Scriptable and agent-ready. The app ships a genoffice command-line tool and a skill for coding agents (Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Windsurf), so an agent can create, convert, read, and edit real Office files without opening a window.

Format compatibility

  • Native: .docx, .xlsx, .pptx — open and save.
  • Editable imports: ODF files (.odt, .ods, .odp and their template variants) open as editable OOXML copies; legacy Word .doc/.dot and Hancom documents (.hwp, .hwpx) also import. These imports are open-only — saving always writes OOXML, never the source format.
  • Also editable: PDF, Markdown, HTML.

Getting it

Available for macOS (Apple Silicon and Intel), Windows (x64 and Arm), and Linux (deb, rpm, AppImage). Licensed under Apache-2.0.

Note: the README was cut off mid-sentence in the CLI section, so details beyond what's described above are not covered here.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project