Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

OfficeIMO.Tool · Command-line document tools

Put document work in your scripts.

Convert files, extract readable content, inspect documents, and run supported workflows from one command-line tool.

  • CLI and MCP
  • Version-pinned automation
  • MIT licensed

Available on NuGet · Requires the .NET SDK to install

pwsh · OfficeIMO.Tool

# Install once with the .NET SDK
❯ dotnet tool install --global OfficeIMO.Tool

# Convert a Word document to PDF
❯ officeimo convert report.docx report.pdf

# Extract the content as Markdown for search or AI
❯ officeimo convert report.pdf report.md

# Give an AI agent the same tools over MCP
❯ officeimo mcp serve --stdio

Install once. Use the same command in your scripts.

Install the tool from NuGet with the .NET SDK, then inspect the available commands:

dotnet tool install --global OfficeIMO.Tool
officeimo --version
officeimo help

For a repository-pinned installation, use a .NET tool manifest and commit it with your project. Update a global installation with dotnet tool update --global OfficeIMO.Tool.

Start with a document

Convert a Word document to PDF:

officeimo convert report.docx report.pdf

Extract document content as Markdown:

officeimo convert report.pdf report.md

Discover the format handlers available in your installed version:

officeimo reader capabilities

Conversion refuses to replace an existing destination unless you explicitly pass --force. Output formats have different fidelity boundaries: Markdown is a semantic projection, while PDF preserves a fixed page layout.

More than conversion

The command areas cover document reading, tabular extraction, HTML/PDF workflows, provenance inspection, PDF redaction, page-image export, document assembly, and print planning. The same executable offers bounded agent operations and an MCP server over standard input/output.

officeimo mcp serve --stdio

Use the command guide for supported arguments and optional dependencies. OCR requires an explicitly configured provider; the default tool does not include an OCR runtime or model. Studio features are not automatically CLI commands.

Installation channels

Available

NuGet tool

Global installation or local tool manifest

Open NuGet →

Planned

Portable archives

Standalone binaries for each platform

Planned

WinGet

Managed installation of the standalone CLI

Same engine, other surfaces

Use OfficeIMO another way

Example source