# OfficeIMO.OneNote

Read, create, edit, and write native OneNote sections, notebooks, tables of contents, and packages offline. Compare packages, examples, and limits.

Offline OneNote engine

Read, create, edit, and write native OneNote sections, notebooks, tables of contents, and packages offline. Compare packages, examples, and limits.

MIT licensed No Office required Cross-platform .NET

[Start with the guide](/docs/onenote/) [Browse API](/api/onenote/) [View package](https://www.nuget.org/packages/OfficeIMO.OneNote)

Install `dotnet add package OfficeIMO.OneNote` 

## Start with a working example

Find the input, generated output, and source for the document workflow you need.

[Browse document examples →](/showcase/)

## Native OneNote files without Graph or OneNote

`OfficeIMO.OneNote` works with desktop and FSSHTTP `.one` files, `.onetoc2` notebook tables of contents, `.onepkg` exports, and notebook directories. Both OneNote encodings project into the same typed model.

```csharp
using OfficeIMO.OneNote;

OneNoteSection section = OneNoteSection.Load("Projects.one");
OneNotePage page = section.Pages[0];
var paragraph = new OneNoteParagraph();
paragraph.Runs.Add(new OneNoteTextRun { Text = "Validated offline" });
page.DirectContent.Add(paragraph);
section.Save("Projects-updated.one");
```

## From notebook storage to useful output

| Package | Role |
| --- | --- |
| `OfficeIMO.OneNote` | Native storage, revisions, pages, content, notebook structure, and writing |
| `OfficeIMO.OneNote.Markdown` | Shared semantic projection for text, lists, tables, links, assets, math, and conflicts |
| `OfficeIMO.OneNote.Html` | Responsive semantic HTML and position-preserving visual HTML |
| `OfficeIMO.OneNote.Pdf` | Semantic or position-preserving PDF output |
| `OfficeIMO.Reader.OneNote` | Normalized extraction and chunking through OfficeIMO.Reader |

File-format operations remain local and managed. Microsoft Graph, a OneNote installation, COM automation, and commercial SDKs are not required.

Same engine, other surfaces

## Use OfficeIMO another way

[**Studio** Edit supported PDF text, comments, forms and pages in one desktop window. *Explore Studio →*](/studio/) [**Browser** Convert and organize files in your tab. Files never leave your device. *Open a tool →*](/convert/) [**CLI** The same conversions in scripts, CI jobs and AI agents over MCP. *Install the CLI →*](/cli/) [**AI agents** An MCP server, plugin and skills for Claude, Codex, Copilot and Cursor. *Add to your agent →*](/agents/) [**PowerShell** PSWriteOffice brings 540 commands to PowerShell 5.1 and 7. *Start with PowerShell →*](/powershell/)

Next step

## Turn the package into a working document.

Follow a focused guide and inspect the API reference for this package.

[Open the guide](/docs/onenote/)[Explore libraries](/libraries/)

<!-- PowerForge markdown artifact sha256:91A0432F331461534214AC9A66EE09661B23BE72A2761D818C70BEDC013E2AC3 -->
