Search iThub

Search tools, categories and collections. Type at least two characters.

Explore all tools
↑ ↓ to explore resultsEnter to open · Esc to close
O

OfficeCLI

OfficeCLI reads, creates, and edits Office documents through a command-line interface for scripts and AI agents.

Visit website Save

OfficeCLI is an open-source command-line tool for editing Word, Excel and PowerPoint files locally without Office, with JSON output and an MCP server.

Pricing
Open source
Deployment
Self-hosted
Platforms
Windows, macOS, Linux
33,098stars2,259forks
0views
Updated

What is OfficeCLI?

OfficeCLI gives AI agents and scripts command-line control over Word, Excel and PowerPoint files. It is open source, ships as a single binary, and needs no Office installation and no dependencies.

It can create documents from scratch, read text, structure, styles and formulas, analyze formatting issues and style inconsistencies, and modify any element, including text, fonts, colors, layout, formulas, charts and images. Output can be plain text or structured JSON.

A built-in rendering engine converts .docx, .xlsx and .pptx files to HTML or PNG, so an agent can render a document, look at it and fix it. A live preview command refreshes in the browser as you add, set or remove elements.

Running officecli install copies the binary to your PATH and installs the officecli skill into the AI coding agents it detects. It can also be installed with Homebrew or npm. The project is licensed under Apache 2.0. AionUi is a separate desktop app that uses OfficeCLI to edit Office documents through natural language.

Key capabilities

  • Create, read, modify and analyze Word, Excel and PowerPoint files from the command line
  • Structured JSON output for any element
  • Rendering of documents to HTML or PNG
  • Live browser preview that updates with each command
  • Automatic skill installation into detected AI coding agents
  • A single binary with no Office installation required
Advertisements

Where OfficeCLI fits

  • Document creation from scratch
  • Reading text, structure, styles and formulas
  • Editing text, fonts, colors, layout, charts and images
  • Formatting and structure analysis
  • HTML and PNG rendering
  • Agent skill installation

Install

npm install -g @officecli/officecli

Reviews of OfficeCLI

No reviews yet

Be the first to share your experience with OfficeCLI.

Loading review form…

Alternatives to OfficeCLI

Compare OfficeCLI with these tools →