In Your App
Open, edit, and preview Office files in your iPhone, iPad, and Mac apps.
ComOffice SDK
ComOffice is the document engine behind LynxOffice. Read, edit, save, and render DOCX, XLSX, and PPTX files, and convert them to PDF, all locally, for your apps, internal systems, and AI.
Swift
import DocumentCore
try SDKLicense.activate(key: licence)
// paragraphs, runs, tables and sections
let scene = try DocumentParser.parse(docxAt: url)
print(scene.body.count, "body elements")
// only the parts you changed are rewritten
try DocumentWriter.save(document: scene,
originalURL: url,
destinationURL: out)
The files your customers already use, read, changed, and drawn inside your own software. The SDK makes no network call, so a document goes only where your software sends it.
Open, edit, and preview Office files in your iPhone, iPad, and Mac apps.
Create document templates, generate reports, extract data from spreadsheets, and batch-convert folders of documents to PDF within your applications. Available on macOS, Windows, Windows Server, and Linux.
Enable your AI assistants and agents to read and edit Office documents, saving changes directly to the original files. On Windows and Linux, get started with the ComOffice MCP server.
Each animation shows what happens when you run the accompanying code on the sample files.
Document generation
For CRM, HR, legal, and internal tools.
Swift
try SDKLicense.activate(key: licence)
var scene = try DocumentParser.parse(
docxAt: template)
for (placeholder, value) in values {
scene = WordSceneEditor.replaceAll(
placeholder, with: value, in: scene,
caseSensitive: true).scene
}
try DocumentWriter.save(
document: scene, originalURL: template,
destinationURL: output)
Previews
For file managers, cloud drives, and chat apps.
Swift
try SDKLicense.activate(key: licence)
let files: [ParsedDocument] = [
.word(try DocumentParser.parse(
docxAt: docx)),
.workbook(try SpreadsheetParser.parse(
xlsxAt: xlsx, rasterizer: nil)),
.slides(try SlideParser.parse(
pptxAt: pptx)),
]
for file in files {
let pages = try DocumentRenderer
.pageCount(of: file)
let thumbnail = try DocumentRenderer
.image(of: file, page: 0, scale: 0.5)
show(thumbnail, pages)
}
let pdf = try DocumentRenderer.pdfData(
of: files[0])
Spreadsheet calculation
For quotes, finance, and inventory.
Swift
try SDKLicense.activate(key: licence)
var book = try SpreadsheetParser.parse(
xlsxAt: quote, rasterizer: nil)
book = WorkbookSceneEditor.settingCellValue(
.number(25), formula: nil, at: quantity,
sheetIndex: 0, in: book)!
// A cached result is never recomputed, so
// clear each formula's, then evaluate them.
let formulas = book.sheets[0].cells.filter {
$0.formula != nil }
for cell in formulas {
book = WorkbookSceneEditor.settingCellValue(
.empty, formula: cell.formula,
at: cell.reference, sheetIndex: 0,
in: book)!
}
let context = SceneWorkbookContext(
scene: book, homeSheetIndex: 0)
for cell in formulas {
let value = Formula.evaluate(
cell.formula!, in: context)
book = WorkbookSceneEditor.settingCellValue(
value, formula: cell.formula,
at: cell.reference, sheetIndex: 0,
in: book)!
}
try SpreadsheetWriter.save(
workbook: book, originalURL: quote,
destinationURL: output)
AI Integration
For teams connecting document workflows to AI assistants.
In this demo, an AI assistant uses LynxOffice's MCP server to list tracked changes and comments in a contract, accept the changes, and reply to a comment. Each edit goes to a new copy, and the original stays as it was. The panel shows the actual MCP requests and responses.
You can use ComOffice, the document engine behind LynxOffice, to build similar workflows for your own AI assistant.
Every value, image, and line of code above comes from a real run of DocumentCore and AppleRender at engine 1.13.0.
LynxOffice, KDAN’s office suite for the Mac, opens, edits, and saves Word, Excel, and PowerPoint files with this engine. Its MCP server, which lets AI assistants read and edit documents, is built on it too.
Each platform has its own SDK, built on the same engine.
Two Swift frameworks for iPhone, iPad, and Mac apps: read, edit, save, and render .docx, .odt, .xlsx, and .pptx on the device.
Available · iOS and iPadOS 16+ · macOS 13+
Learn moreA .NET library for Windows apps and tools: open, edit, save, and render .docx, .odt, .xlsx, and .pptx, and export PDF.
Available · Windows 11 and Windows Server, x64 · .NET 8+
Learn moreUse one .NET SDK on Windows Server and x64 Linux to convert, render, and edit .docx, .odt, .xlsx, and .pptx files in services and containers, and display documents in web applications.
Available on Windows Server and Linux · .NET 8+
Learn moreDisplay Word, Excel, and PowerPoint documents in your web applications with a server-side, view-only solution. ComOffice renders documents on your server, while the browser displays the results, with text people can select, copy, and search. Get started with the ready-made web viewer and HTML, React, and Vue examples. Document editing runs on the server. A browser-native SDK is in development; contact us if you need it.
Web viewer: available
In-browser SDK: in development
Learn moreThe same engine LynxOffice runs on, without the app around it.
Opens .docx, .xlsx, and .pptx into a structured model and saves them back in the same format. Parts you did not change are carried over untouched. It also opens and saves OpenDocument text (.odt).
Draws any page of a document, workbook, or deck to an image or to PDF.
Evaluates spreadsheet formulas, with Excel-style error values returned as values.
The SDK makes no network calls, even to verify the license. Document processing stays within your software.
ComOffice is for developers building apps, internal tools, or AI workflows that need to read, create, edit, or render Office files.
Evaluate the SDK free until 2027-01-01, under the Service Terms. Evaluation keys are included with the releases for iOS and macOS, and for Windows and Linux. For commercial licensing, describe your project in the contact form or email sales@comofficekit.com.
ComOffice is available for iOS, iPadOS, macOS, Windows, Windows Server, and Linux. For web applications, the available web viewer displays documents rendered by your server; editing is handled server-side. The viewer includes HTML, React, and Vue examples. A browser-native SDK is in development.
Yes: on Windows Server 2022 and 2025, on x64 Linux, and in Windows and Linux containers. See ComOffice on servers for worker processes, limits, and showing documents in a browser. A Mac can also run it inside your own systems.
Convert .docx, .odt, .xlsx, .xlsm, and .pptx files to PDF or page images on supported platforms. On Windows and Linux, you can also export worksheets to .csv or .tsv and open these files as workbooks. Legacy .doc, .xls, and .ppt formats are not supported.
Yes. The sample applications demonstrate batch conversion of folders to PDF. On Windows Server and Linux, a supervisor can run multiple worker processes concurrently, including in containers. A command-line tool provides batch conversion on macOS. See ComOffice on servers for deployment guidance.
ComOffice is designed to process third-party documents without executing embedded macros. The SDK makes no network calls. In server deployments, oversized decompression is rejected before files are written, and separate worker processes help isolate crashes to individual documents. See ComOffice on servers for deployment guidance.
Yes. AI assistants and agents can use ComOffice tools to read and edit Word, Excel, and PowerPoint documents, with changes saved to the original files. On Windows and Linux, the ComOffice MCP server exposes these capabilities through MCP and a command-line interface built on the .NET SDK. LynxOffice's MCP server uses the same document engine.
It does not open or edit PDF files, although it renders documents to PDF, and it has no user interface of its own: you build the screens, and the SDK supplies the document model and draws the pages.
Tell us what you are building and which platforms you need, and our sales team will get back to you. You can also write to sales@comofficekit.com.