Doc To Markdown at a glance
Doc To Markdown is a ready-to-run Apify actor from abotapi for collecting developer tools data. Its documented output includes source, success and markdown (preview), which you can export as JSON, CSV or Excel or read through the Apify API. It costs $0.50 per 1,000 results on the Apify Free plan, with smaller per-run or optional feature charges listed on Apify.
- Runs on
- Apify cloud: console, API, schedules and integrations
- Data type
- Developer Tools, AI, SEO tools
- Pricing
- $0.50 per 1,000 results (Free plan)
- Output
- Documented below · JSON, CSV, Excel
- Inputs
- 7 options
Convert documents (PDF, Word, PowerPoint, Excel, HTML, images) to clean Markdown. Supports batch processing, metadata extraction, and customizable output formatting.
What Doc To Markdown can do
- Two ways in, one run. Paste public URLs, upload files directly, or mix both in the same call.
- Wide format coverage. PDF, Word, PowerPoint, Excel (.xlsx and .xls), HTML, plain text, Markdown, JSON, CSV, ZIP archives, EPUB, Outlook .msg files and Jupyter notebooks all convert to Markdown; short WAV, MP3, M4A and MP4 audio gets a speech to text transcript.
- Every file gets a result. A failed download or an unsupported file returns its own success: false record with an error message instead of stopping the whole run.
- Two destinations, your choice. Save results to a structured Dataset, download ready to open .md files from the Key-Value Store, or both from the same input.
- Markdown formatted your way. Turn file metadata on or off, auto generate a table of contents, and pick ATX or Setext heading style.
- Batch friendly. Send any number of URLs and uploaded files in a single call and get one record back per file.
Choose what to collect
These inputs let you configure Doc To Markdown. Open the actor on Apify to enter your values and review the current options.
| Input | What it controls |
|---|---|
filesarray | Upload files to convert (PDF, Word, PowerPoint, Excel, HTML, images, etc.) |
urlsarray | URLs of documents to convert |
includeMetadataboolean | Include file metadata (filename, format, size, conversion time) in output |
includeTocboolean | Auto-generate table of contents from headings |
headingStylestring | Markdown heading style |
outputFormatstring | How to output the converted markdown |
memoryMbytesinteger | Override automatic memory allocation. Leave empty to auto-scale based on number of files/URLs. Use higher values for large PDFs or image-heavy documents with OCR. |
Fields in the output
The documented dataset includes the fields below. Availability can depend on the source page and selected mode.
sourceSourcesuccessSuccessmarkdownMarkdown (Preview) (text)Example output
An example from this actor’s documentation. Values are illustrative; this is not a fresh live result.
{
"filename": "quarterly-report.pdf",
"success": true,
"error": null,
"format": "pdf",
"size_bytes": 245678,
"conversion_time_ms": 812,
"markdown": "---\nfilename: quarterly-report.pdf\nformat: pdf\nsize: 245678 bytes\nconversion_time: 812ms\nconverted_at: 2024-01-15T10:30:00\ncontent_type: application/pdf\nformat: PDF\nformat_description: Portable Document Format\n---\n\n# Quarterly Report\n\nRevenue grew 12 percent year over year.\n",
"metadata": {
"converted_at": "2024-01-15T10:30:00",
"file_size_bytes": 245678,
"content_type": "application/pdf",
"format": "PDF",
"format_description": "Portable Document Format"
}
}Ways to use this data
- Content and knowledge teams: turn PDFs, Word docs and slide decks into Markdown for a wiki, CMS or static site.
- RAG and AI pipelines: convert manuals, reports and spreadsheets into clean text an LLM can ingest.
- Data migration: bulk convert an old document archive, including zipped folders, into a portable Markdown format.
- Meeting and call archives: get a text transcript of short WAV or MP3 recordings alongside the source file.
- Developers and support teams: convert Jupyter notebooks, Outlook .msg exports or CSV exports into readable Markdown for documentation.
Before you run
Start with a small input and check the resulting records against your expected fields. Source content and actor options can change; the current Apify listing is the reference for availability and pricing.
Questions about this actor
What data does Doc To Markdown return?
The documented output for Doc To Markdown includes source, success and markdown (preview). Availability of each field depends on the source page and the selected mode.
How much does Doc To Markdown cost?
It costs $0.50 per 1,000 results on the Apify Free plan, with smaller per-run or optional feature charges listed on Apify. The Apify listing shows the current rate for every plan.
Why did one file come back with success: false instead of the whole run failing?
Each file is converted on its own. A blocked or missing URL, a corrupt file, or a format this actor cannot read produces one record with success: false and an error message, while the rest of the batch still converts. Run the failed item again on its own if you think it should have worked.
Can I get an actual Word or PDF file back, not just Markdown text?
No. The output is always Markdown text, either as the markdown field in the Dataset or as a .md file in the Key-Value Store. It does not produce a converted PDF, DOCX or other binary file.
What happens if I convert a plain photo (JPEG or PNG)?
JPEG and PNG files are accepted, but this actor does not read text out of images or generate an AI description of them. A plain photo typically comes back with success: true and an empty or near empty markdown body, since there is no embedded text for it to extract. Documents that already contain a text layer, such as PDF, Word or HTML, are not affected.
Can I use this actor from an AI agent or automation tool?
Yes. It is a normal Apify Actor: call it from the API, an Apify integration, or any MCP client that talks to Apify's actor tooling, and read the results back from the Dataset or Key-Value Store.
