Pandoc is the Swiss Army knife of document conversion. MarkdownToPDF is the instant browser tool. Both convert Markdown to PDF — but they're built for different needs.
This markdown works in both tools — but MarkdownToPDF shows you the result instantly.
# API Reference
## Authentication
All requests require a Bearer token:
```bash
curl -H "Authorization: Bearer $TOKEN" \
https://api.example.com/v2/users
```
## Response Format
| Field | Type | Description |
|----------|----------|-------------------|
| `id` | string | Unique identifier |
| `name` | string | Display name |
| `email` | string | Email address |
## Rate Limits
Requests are limited to **100/minute**. The formula:
$$R = \frac{\text{requests}}{\text{time window}} \leq 100$$All requests require a Bearer token:
curl -H "Authorization: Bearer $TOKEN" \
https://api.example.com/v2/users
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
name | string | Display name |
email | string | Email address |
Requests are limited to 100/minute. The formula:
| Feature | MarkdownToPDF | Pandoc |
|---|---|---|
| Installation | None (browser) | CLI + LaTeX distro (1-4 GB) |
| Live preview | ✅ Real-time | ❌ None |
| Math equations | ✅ KaTeX | ✅ Full LaTeX |
| Mermaid diagrams | ✅ Native | ❌ Requires filter |
| Syntax highlighting | ✅ 190+ languages | ✅ Via Pygments |
| GFM tables | ✅ | ✅ |
| Custom templates | ❌ Fixed styling | ✅ Full control |
| Batch conversion | ❌ One at a time | ✅ Scriptable |
| Output formats | PDF only | 50+ formats |
| Bibliography (BibTeX) | ❌ | ✅ |
| Cross-references | ❌ | ✅ Via pandoc-crossref |
| Offline support | ✅ After first load | ✅ Fully offline |
| Privacy | ✅ No server | ✅ Local CLI |
| Learning curve | None | Moderate to steep |
Pandoc requires installing the Pandoc binary plus a LaTeX distribution (TeX Live or MiKTeX), which can be 1-4 GB. MarkdownToPDF is a URL you open in your browser.
Pandoc is compile-and-check: edit, run command, open PDF, repeat. MarkdownToPDF shows you the rendered output as you type, saving significant iteration time.
To use Mermaid with Pandoc, you need mermaid-filter or mermaid-cli plus a headless browser. MarkdownToPDF renders Mermaid diagrams natively with zero setup.
No YAML front matter, no pandoc flags to remember, no template files. The defaults work well for most documents.
We believe in honest comparisons. Pandoc is a powerful tool and excels in scenarios MarkdownToPDF wasn't designed for.
No installation, no CLI. Just paste Markdown and get a PDF.
Start ConvertingBuilt by Yogendra Singh