Node.js
Read local files, uploads, S3/R2 objects, and other byte sources.
Convert ONETOC2 files to GitHub-Flavored Markdown directly in your browser.
Your ONETOC2 stays on your device. No upload. No account.
Starting local converter
$
npm install @mdgate/onenote
import { toMarkdown } from '@mdgate/onenote';
const markdown = await toMarkdown(bytes);
Pure TypeScript, Node.js, Cloudflare Workers, Edge, Browser, No Python, No native addons, No WASM, Zero third-party runtime dependencies
Read local files, uploads, S3/R2 objects, and other byte sources.
Parse OneNote files directly inside Workers without OneNote or a native binary.
Convert ONETOC2 locally without uploading it to a server.
Run the same TypeScript converter in compatible Edge runtimes.
No separate processing service. The converter is TypeScript you can call from Node.js, Cloudflare Workers, Edge runtimes, and browsers.
ONETOC2 files can stay inside your application or browser.
Recognizes ONETOC2 files from their contents, not only the filename.
The same ONETOC2 file produces repeatable Markdown without model inference.
No Python. No native addons. No WASM. No third-party runtime dependencies.
Turn ONETOC2 files into content your agent can actually work with.
@mdgate/onenote
@mdgate/core
+ @mdgate/onenote
+ @mdgate/pdf
+ @mdgate/docx
@mdgate/converters
Yes. ONETOC2 files can be converted locally in the browser.
Yes. @mdgate/onenote runs directly in Cloudflare Workers.
No.
No.
GitHub-Flavored Markdown.
Yes. Install @mdgate/onenote instead of the complete converter set.
No. This is best-effort text extraction, not a full OneNote renderer.