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