mdgate converters

DOT to Markdown in your browser.

Convert DOT files to GitHub-Flavored Markdown directly in your browser.

Your DOT stays on your device. No upload. No account.

Starting local converter

Use DOT to Markdown in your app

$ npm install @mdgate/doc

import { toMarkdown } from '@mdgate/doc';

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

How DOT to Markdown works

  1. DOT
  2. binary Word parsing
  3. paragraphs · styles · tables
  4. GitHub-Flavored Markdown

Built for JavaScript runtimes

Node.js

Read local files, uploads, S3/R2 objects, and other byte sources.

Cloudflare Workers

Parse binary Word files directly inside Workers without Microsoft Word or a native addon.

Browser

Convert DOT locally without uploading it to a server.

Edge

Run the same TypeScript converter in compatible Edge runtimes.

What @mdgate/doc extracts

  • Paragraphs and heading styles
  • Bold, italic, and strikethrough
  • Lists
  • Tables
  • Basic character encoding
  • Encrypted document detection

Why @mdgate/doc

Runs where your JavaScript runs

No separate processing service. The converter is TypeScript you can call from Node.js, Cloudflare Workers, Edge runtimes, and browsers.

Local conversion

DOT files can stay inside your application or browser.

Content detection

Recognizes DOT files from their contents, not only the filename.

Deterministic parsing

The same DOT file produces repeatable Markdown without model inference.

Small runtime surface

No Python. No native addons. No WASM. No third-party runtime dependencies.

DOT for AI agents

Turn DOT files into content your agent can actually work with.

  1. DOT
  2. Markdown
    • grep
    • search
    • chunk
    • index
    • cache
    • cite
    • reason

Need more than DOT?

One format

@mdgate/doc

Your own set

@mdgate/core
+ @mdgate/doc
+ @mdgate/pdf
+ @mdgate/docx

Broad file support

@mdgate/converters

FAQ

Can I convert DOT to Markdown without uploading it?

Yes. DOT files can be converted locally in the browser.

Does DOT to Markdown work in Cloudflare Workers?

Yes. @mdgate/doc runs directly in Cloudflare Workers.

Does it require Python?

No.

Does it require native addons or WASM?

No.

What does it output?

GitHub-Flavored Markdown.

Can I install only the DOT converter?

Yes. Install @mdgate/doc instead of the complete converter set.

Does this convert .docx too?

No. OOXML Word files use @mdgate/docx.