Pandoc Document Converter
Pricing
Pay per event
Pandoc Document Converter
Universal document converter. Transform Markdown, HTML, and text to PDF, DOCX, EPUB, and more. High-performance Rust wrapper for the Pandoc engine ensures fast execution and low memory footprint.
Pricing
Pay per event
Rating
0.0
(0)
Developer

Daniel Rosen
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 hours ago
Last modified
Categories
Share
A high-performance Rust wrapper for the industry-standard Pandoc engine. This tool provides professional-grade conversion between HTML, Markdown, Word (DOCX), and 20+ other formats with zero filesystem overhead.
Why Use This
- AI Data Prep: Cleanly convert scraped HTML to Markdown for LLM context windows.
- Workflow Automation: Turn markup into professional DOCX or EPUB files automatically.
- PandaDoc Alternatives: While often confused with e-signature tools, this is the engine required for deep document formatting and structural conversion.
- Efficiency: Built in Rust for sub-50ms execution, minimizing Apify compute costs.
Pricing
This Actor uses the Pay-Per-Event model. You pay a fixed price per conversion. Because this Actor is built in Rust and highly optimized, you generally do not pay for compute time, only the conversion fee.
| Tier | Event Name | Price | Output Formats |
|---|---|---|---|
| Standard | convert-text | $0.002 / doc | HTML, Markdown, JSON, Text, RST |
| Premium | convert-binary | $0.005 / doc | PDF, DOCX (Word), EPUB, ODT |
Volume discounts (Bronze/Silver/Gold) apply automatically based on your Apify plan.
Quick Start
Input Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| content | String | Yes | The source text to convert. |
| fromFormat | String | Yes | Source format (e.g., html, markdown). |
| toFormat | String | Yes | Target format (e.g., docx, gfm, epub). |
| standalone | Boolean | No | Include headers/metadata (Default: false). |
Example: HTML to Markdown (LLM Optimized)
Cost: Standard ($0.002)
{"content": "<h1>Title</h1><p>Body text</p>","fromFormat": "html","toFormat": "markdown"}
Example: Markdown to Word (Binary Output)
Cost: Premium ($0.005)
{"content": "# Report\n\nSection 1...","fromFormat": "markdown","toFormat": "docx","standalone": true}
Output Data
Results are pushed to the default dataset.
- Text Formats (HTML, MD): Returned as plain text in
convertedContent. - Binary Formats (DOCX, EPUB, PDF): Returned as Base64 encoded strings in
convertedContent. You must decode these to save the file.
{"success": true,"isBinary": true,"inputSize": 1024,"outputSize": 15420,"convertedContent": "UEsDBBQABgAIAAAAIQA..."}
Performance
Written in Rust for maximum throughput. Text-to-text conversions typically complete in under 50ms with a negligible memory footprint. PDF generation utilizes the Tectonic engine for high-fidelity rendering.