Skip to content
//Document to Markdown Converter example\\

A PDF and a web page to Markdown, 2 files

Main content of a PDF and an HTML page as Markdown.

Updated November 13, 2026

What this example returns

This example returns up to 2 files.

The dataset’s “Documents” view shows 10 columns: Document URL, Format, Title, Author, Pages, Slides, Sheets, Words, Billed pages, and Markdown. See every output field.

What each setting does

The input this example runs Document to Markdown Converter with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Document URLs urls

https://raw.githubusercontent.com/microsoft/markitdown/4cc9fa17653d695d64fb9eee5b33d4de55ff84e8/packages/markitdown/tests/test_files/test.pdf, https://en.wikipedia.org/wiki/Markdown

Links to the documents to convert, one per line: Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), CSV/TSV, web pages (HTML), e-books (.epub), RTF, OpenDocument (.odt, .ods, .odp), JSON, XML/RSS, Jupyter notebooks, Outlook .msg and PDFs with a text layer. Google Docs/Sheets/Slides, Google Drive, Dropbox and…

.json
{
  "urls": [
    "https://raw.githubusercontent.com/microsoft/markitdown/4cc9fa17653d695d64fb9eee5b33d4de55ff84e8/packages/markitdown/tests/test_files/test.pdf",
    "https://en.wikipedia.org/wiki/Markdown"
  ]
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Page convertedfrom $0.0009One PDF page or slide, or 500 words of Markdown for other formats (at least one per document). Failed, empty and unsupported files are free.

Full pricing

When to use this example

From the Document to Markdown Converter readme:

What if a field is empty?

Fields are left out when the file does not contain them (many files have no author or dates). title falls back to the first heading or the file name.

Other ways to run Document to Markdown Converter

All examples of Document to Markdown Converter

About Document to Markdown Converter

Convert Word, PowerPoint, Excel, CSV, HTML, EPUB, RTF, OpenDocument, JSON, XML and PDF files to clean, LLM-ready Markdown with metadata, per-slide/sheet sections and RAG chunks.

Price:
From $0.90 / 1,000 pages converted
Developer:
Toolwright

Document to Markdown Converter pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.