Node.js
Read local files, uploads, S3/R2 objects, and other byte sources.
Convert Pages files to GitHub-Flavored Markdown directly in your browser.
Your Pages stays on your device. No upload. No account.
Starting local converter
$
npm install @mdgate/pages
import { toMarkdown } from '@mdgate/pages';
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 Pages files directly inside Workers without iWork or a native binary.
Convert Pages files locally without uploading them 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.
Pages files can stay inside your application or browser.
Recognizes Pages files from their contents, not only the filename.
The same Pages file produces repeatable Markdown without model inference.
No Python. No native addons. No WASM. No third-party runtime dependencies.
Turn Pages files into content your agent can actually work with.
@mdgate/pages
@mdgate/core
+ @mdgate/pages
+ @mdgate/pdf
+ @mdgate/docx
@mdgate/converters
Yes. Pages files can be converted locally in the browser.
Yes. @mdgate/pages runs directly in Cloudflare Workers.
No.
No.
GitHub-Flavored Markdown.
Yes. Install @mdgate/pages instead of the complete converter set.