Skip to content
Guide · AI features

Select, draft, organize — all inside OneNote

Connect any OpenAI-compatible service to polish selected text, draft from a prompt, turn a whole section into an overview — or hold a multi-turn conversation in the side panel that reads, edits and creates pages step by step.

OpenAI-compatiblePreview before writeKey encrypted locally

What it does ​

AI features live in the AI group on both the Home and NoteMark tabs:

AI chat
A side-panel conversation (Ctrl+Alt+A). It reads pages, searches, creates pages and rewrites — asking before overwriting, undoable afterwards.
AI on a selection
Polish / rewrite, translate, summarize, or follow a custom instruction; preview the result before inserting it at the cursor.
AI drafting
No selection needed. Describe what you need, generate Markdown, then insert it or copy it elsewhere.
Section organizer
Pick pages and generate a section overview, a merged note, or reorganization advice with configurable depth and output.

First-time setup ​

1
Open AI settings
Click AI Settings in the AI group. Using an AI action without configuration also opens this window.
2
Enter endpoint, model and API key
Use an OpenAI-compatible /v1 endpoint, for example https://api.deepseek.com/v1, and the model name provided by your service.
3
Test and save
Click Test connection, then save. Every AI action uses this configuration.

Defaults and compatibility

DeepSeek is pre-filled (https://api.deepseek.com/v1 / deepseek-chat). Any OpenAI-compatible Chat Completions service works, including OpenAI, Moonshot, Qwen and local Ollama.

AI chat ​

The three features above are one-shot: request, preview, insert. When you need several rounds, or want the AI to change pages directly, use the side-panel AI Chat (Ctrl+Alt+A):

  • Context can be selection / current page only / whole section, captured the moment you send;
  • the AI reads pages, searches the section, inserts content and creates pages itself; overwrites show a confirmation card first, appends can be undone;
  • conversations are kept and switchable, and a status line shows live context usage.

See AI Chat for the full description.

AI on selected text ​

Select the text, open the AI Process menu, or use a shortcut:

Polish / rewrite
Improves wording, tone and structure without adding facts.
Ctrl+Shift+1
Summarize
Returns a bullet list of key points while keeping important numbers and conclusions.
Ctrl+Shift+2
Translate
Chinese becomes English; other languages become Chinese. Code, commands, links and formulas stay untouched.
Ctrl+Shift+3
Translate (language / glossary)
Pick a target language, add a glossary with one “source = term” entry per line, or produce a bilingual result; glossary terms win over generic translations.
Ctrl+Shift+4
Turn into to-dos
Splits meeting notes or requirements into - [ ] tasks, starting with a verb and keeping any dates or owners from the source.
Ctrl+Shift+5
Sort and group to-dos
Reorders tasks into high / medium / low groups by deadline and dependencies, collecting finished items at the end.
Ctrl+Shift+6
Extract open to-dos
Finds unfinished action items in your notes and skips descriptive prose and completed work.
Ctrl+Shift+7
Custom instruction
Describe the change you want, for example “rewrite as a formal email”; output stays Markdown only.
Ctrl+Shift+8
Result window: output streams in as it is generated; afterwards “Compare paragraph by paragraph” lets you accept or reject each change, and “Follow up” supports multi-turn refinement such as “make the third paragraph shorter”.

AI drafting ​

Click AI Draft in the AI group and describe what you need, for example “write a weekly project update with risks and next steps.” The preview window lets you:

  • Insert the result at the cursor;
  • Copy the raw Markdown for another page or app;
  • Regenerate it if the result is not what you want.

Organize the current section ​

Organize Section opens an options window first:

  • Page range: all pages in the current section are selected by default; uncheck pages you do not want to include. Subpages are indented.
  • Mode: section overview (contents + per-page summary + grouping + advice), merge into one note (reorganize by topic and remove duplicates), or advice only (no rewriting).
  • Read depth: compact 2,000 chars/page (40,000 total), standard 4,000 chars/page (80,000 total), detailed 8,000 chars/page (120,000 total).
  • Output: create a new page at the end of the section, or insert at the cursor on the current page.

After previewing, the result is written as chosen. New pages are titled like “Section Overview · date”, “Section Merge · date” or “Organization Advice · date”.

Write-back and data safety ​

  • AI actions and drafting are non-destructive: the original selection is left untouched; the result is inserted at the cursor only after you confirm.
  • In AI Chat, overwrites (replace selection, rename page, delete page) run only after the confirmation card; replaces and renames can be undone, while deletion moves the page to the recycle bin and is limited to the current section.
  • Configuration lives in %LocalAppData%\NoteMark\ai.txt; the API key is encrypted with Windows DPAPI for the current user, so other accounts cannot decrypt it.
  • Logs contain only the action, duration, HTTP status and error summary — never request bodies or keys.
  • Rendering always happens locally. Only when you explicitly trigger an AI action is the selected text or chosen pages sent to the service configured in settings.

Cost and network

AI requests consume your provider quota and are billed by the provider. A network connection is required; if you use a proxy, make sure OneNote can reach the configured endpoint.

Troubleshooting ​

401 / 403
The API key is invalid or lacks permission. Check that the key matches the endpoint.
—
429
Rate limit or quota exceeded. Retry later or check your account balance.
—
Request timed out
Check your network or proxy; increase the timeout in AI settings for long inputs.
—

Native Markdown support for OneNote