OfficeCLI

Hying Technology Co., Ltd. · HaiYing.OfficeCLI

The first and best command-line tool purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required.

Why OfficeCLI? What used to take 50 lines of Python and 3 separate libraries: from pptx import Presentation from pptx.util import Inches, Pt prs = Presentation() slide = prs.slides.add_slide(prs.slide_layouts[0]) title = slide.shapes.title title.text = "Q4 Report" # ... 45 more lines ... prs.save('deck.pptx') Now takes one command: officecli add deck.pptx / --type slide --prop title="Q4 Report" What OfficeCLI can do: - Create documents from scratch -- blank or with content - Read text, structure, styles, formulas -- in plain text or structured JSON - Analyze formatting issues, style inconsistencies, and structural problems - Modify any element -- text, fonts, colors, layout, formulas, charts, images - Reorganize content -- add, remove, move, copy elements across documents | Format | Read | Modify | Create | | ------------------ | ---- | ------ | ------ | | Word (.docx) | ✅ | ✅ | ✅ | | Excel (.xlsx) | ✅ | ✅ | ✅ | | PowerPoint (.pptx) | ✅ | ✅ | ✅ | Word — paragraphs, runs, tables, styles, headers/footers, images, equations, comments, footnotes, watermarks, bookmarks, TOC, charts, hyperlinks, sections, form fields, content controls (SDT), fields, document properties Excel — cells, formulas (150+ built-in functions with auto-evaluation), sheets, tables, conditional formatting, charts, pivot tables, named ranges, data validation, images, sparklines, comments, autofilter, shapes, CSV/TSV import, $Sheet:A1 cell addressing PowerPoint — slides, shapes, images, tables, charts, animations, morph transitions, 3D models (.glb), slide zoom, equations, themes, connectors, video/audio, groups, notes, placeholders Use Cases For Developers: - Automate report generation from databases or APIs - Batch-process documents (bulk find/replace, style updates) - Build document pipelines in CI/CD environments (generate docs from test results) - Headless Office automation in Docker/containerized environments For AI Agents: - Generate presentations from user prompts (see examples above) - Extract structured data from documents to JSON - Validate and check document quality before delivery For Teams: - Clone document templates and populate with data - Automated document validation in CI/CD pipelines

winget install --id HaiYing.OfficeCLI --exact --source winget

Latest 1.0.43

Release Notes

Installer type: portable

Architecture Scope Download SHA256
x64 Download 8244D1B2BD594A68C93208BA5C1898EF5263BC87B931EA838250ED5BDFC7FA8C
arm64 Download 5719D7EA97AB08067D5796FDD0DE96EC7E3C158C8B3360BEF64082EC5A75F410

Details

Homepage
https://github.com/iOfficeAI/OfficeCLI
License
Apache-2.0
Publisher
Hying Technology Co., Ltd.
Support
https://github.com/iOfficeAI/OfficeCLI/issues
Copyright
Copyright 2026 OfficeCli (https://OfficeCli.AI)

Tags

docxexcelofficeopenxmlpowerpointpptxwordxlsx

Older versions (7)

1.0.42
Architecture Scope Download SHA256
x64 Download E1EE79ABB05373E3D7B87D4D440318C7C615DAA7F972986347FE368E4AF90176
arm64 Download 33CE38BD24AB42A1D291CE7E44A2E95D7DFBBE1AE27C5456EAFCD124CC9DA27E
1.0.41
Architecture Scope Download SHA256
x64 Download F09B94F33410B0F6721DFE43665A5F5731A62BC0434C59B5ABAF4FA1F2F48891
arm64 Download 30170F94EB3EB439E995E2E06E8346319BA78DB0FC62E0FF899A34994955C1C2
1.0.40
Architecture Scope Download SHA256
x64 Download F2A6A154D8A6388182136B069C843F40FE83F10E8A5D699164120C2AECD5201C
arm64 Download 4CC49A102A7104BF2395A6A521BF2DBF89A357B7FE0A49118F3C802E7515FBC2
1.0.39
Architecture Scope Download SHA256
x64 Download FC425F595263AF5C0E4D210BB2A1C293FC15744CD9F5A5E14FD1C9F15B1EF10F
arm64 Download D2AFA5230012238DF8065C1924EE2892E0129C2CA3641656BDAD5178C4F2529B
1.0.37
Architecture Scope Download SHA256
x64 Download 8E30683CD19172E8FD43ADCB29A2EC733BD5A346910529610025A6DAD9A3EE27
arm64 Download FFC7CAEC37925675AF3D29F764BDC86E5507771F8FA244320CF25885C7B5A231
1.0.36
Architecture Scope Download SHA256
x64 Download AF2F5924A23AA9AECCC0B91E07DD441591EE31DB001F5592E189488FD82CB747
arm64 Download 6131E66481C9B79F85BEF9E871893D9F2EDCE87D3F703F64EE7F9D119F303C04
1.0.34
Architecture Scope Download SHA256
x64 Download 9D1D97B687BA072318BB7CB3B4E24BB5CFD65B8399CBAC3D7C8AED2107CF650F
arm64 Download 0060EBB84B386533ADEF0DB44125446FF92E63F6846BF3314E49ADE8DB5D5F32