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

One Office document to Markdown sections

A ready-to-run Document to Markdown Converter input: One Office document to Markdown sections.

Updated October 27, 2026

What this example returns

This example returns up to 10 results.

The dataset’s “Sections & chunks” view shows 9 columns: Document URL, Title, Section type, Section, Section title, Chunk, Headings, Tokens (est.), 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.docx

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…

Output rows outputMode

One row per section (slide, sheet, page, heading)

One row per document with the full Markdown (default); one row per slide, sheet, PDF page or top-level heading section; or ready-to-embed chunks for RAG. The price is per page either way.

Default: One row per document → this example uses One row per section (slide, sheet, page, heading)

Max rows per sheet maxRowsPerSheet

15

Spreadsheets and CSV files: rows to include per sheet. Longer sheets are cut with a note in the Markdown.

Default: 1000 → this example uses 15

Max documents maxDocuments

10

Convert at most this many documents in the run. 0 means no limit.

Default: 0 → this example uses 10

.json
{
  "urls": [
    "https://raw.githubusercontent.com/microsoft/markitdown/4cc9fa17653d695d64fb9eee5b33d4de55ff84e8/packages/markitdown/tests/test_files/test.docx"
  ],
  "outputMode": "sections",
  "maxRowsPerSheet": 15,
  "maxDocuments": 10
}

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 converted$0.0026One 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 $2.09 / 1,000 pages converted
Developer:
Querystone

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.