OfficeIMO

OfficeIMO creates, edits, reads and converts Word, Excel, PowerPoint and PDF files, plus Visio, Project, Access, OpenDocument, Apple iWork, email, e-books, Markdown, HTML and dozens of other formats. It is open source, MIT licensed and doesn't need Microsoft Office or COM. The same engines run in .NET applications, PowerShell scripts, a command line, AI agents, a desktop app and the browser.
Ways to use it
| You work in | Use | Start with |
|---|
| .NET | Focused NuGet packages, one per format or conversion | dotnet add package OfficeIMO |
| PowerShell 5.1 and 7 | PSWriteOffice | Install-Module PSWriteOffice |
| A terminal or CI job | The officeimo command line (OfficeIMO.Tool) | dotnet tool install --global OfficeIMO.Tool (.NET 10 SDK) |
| An AI agent | The same tool as an MCP server, with the Document Tools plugin for Claude Code, Codex, VS Code and Cursor | officeimo mcp serve --stdio |
| A desktop app | OfficeIMO Studio for reading, marking up, filling, converting, protecting and signing documents on Windows and Linux (README); native Mac, iPad and iPhone apps are in development (README) | Downloads |
| A browser | Browser tools that convert and organize files in the tab, without uploading them | officeimo.com |
Why OfficeIMO
- No Office, no COM, no native dependencies. The engines are managed code that runs on Windows, macOS and Linux, in services, containers and build agents. Optional providers, such as Tesseract for OCR, are opt-in. The package catalog lists every third-party dependency.
- One library for old and new files. Word, Excel and PowerPoint cover the Open XML formats and the documented subsets of
.doc, .xls, .xlsb and .ppt, with compatibility reports for what a subset doesn't carry.
- Conversions say what they lost.
OfficeConverter and the SaveAs and To conversion methods return a report of what the target couldn't carry. You can inspect it, or set FailOnLoss to stop instead of writing a lossy file. The route catalog lists each route's result type and limits.
- Careful with untrusted input. Readers bound bytes, package entries, ZIP expansion and decoded text before allocating, and flag hidden or prompt-like content before it reaches an AI pipeline. See the content safety matrix.
- NativeAOT and WebAssembly. CI publishes the core engines with NativeAOT on Linux and Windows, and the officeimo.com browser tools run them in WebAssembly.
- Measured, not claimed. Performance figures come from repeatable workloads in
Docs/performance and the published benchmarks, with the method next to each result.
- Finished-looking output. New documents start from a theme, so tables, charts and slides look right without styling each element.
Install
dotnet add package OfficeIMO
OfficeIMO brings Word, Excel, PowerPoint, PDF and Markdown, the conversions between them, OfficeConverter and the document reader. To keep a dependency small, reference only the packages you use.
Quick start
A Word report, an Excel table with a chart and a PowerPoint deck from the same data, each also saved as PDF:
using OfficeIMO;
using OfficeIMO.Excel;
using OfficeIMO.Excel.Pdf;
using OfficeIMO.PowerPoint;
using OfficeIMO.PowerPoint.Pdf;
using OfficeIMO.Word;
using OfficeIMO.Word.Pdf;
Sale[] sales = [new("North", 182_400m, 0.12), new("South", 141_900m, 0.08), new("West", 97_300m, -0.03)];