Document to Markdown – DOCX, PPTX, XLSX, PDF for RAG & LLMs avatar

Document to Markdown – DOCX, PPTX, XLSX, PDF for RAG & LLMs

Pricing

from $2.00 / 1,000 document converteds

Go to Apify Store
Document to Markdown – DOCX, PPTX, XLSX, PDF for RAG & LLMs

Document to Markdown – DOCX, PPTX, XLSX, PDF for RAG & LLMs

Convert Word, PowerPoint, Excel, PDF, HTML and CSV files to clean Markdown for RAG pipelines and LLMs. Give public URLs or upload files. Returns Markdown text, a saved .md file and basic metadata. No API key. From $2 per 1,000 documents.

Pricing

from $2.00 / 1,000 document converteds

Rating

0.0

(0)

Developer

Cemal Atakli

Cemal Atakli

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

Turn Word, PowerPoint, Excel, PDF, HTML and CSV files into clean Markdown for RAG pipelines, LLM prompts and knowledge bases. Give public links or upload files. For each document you get the Markdown text, a saved .md file and basic metadata.

No API key and no AI model: conversion runs inside the Actor. Files are converted with MarkItDown (Microsoft, MIT licence) and, for Excel, a streaming renderer built on openpyxl (MIT).

What you get per format

FormatOutputGood to know
DOCXHeadings, lists, tables, linksImages keep their alt text only. Their pixels are not extracted
PPTXOne section per slide: title, text, tables, chart data as tables, speaker notesPictures keep their alt text only
XLSXOne ## Sheet per visible sheet, one Markdown table per sheetSee "Excel details" below
PDFReading-order text, with simple tables where detectedNeeds a text layer. Layout-heavy pages come out rough
HTMLMain structure as Markdown; scripts and styles removedThe saved HTML only: no JavaScript is run
CSVA Markdown table. Comma, semicolon, tab and | delimiters are detected; encoding too

The type is read from the file's content, not its link. A link ending in .xlsx that actually returns a login or error page gets a clear free error row instead of a page of junk.

Input example

{
"urls": [
"https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"https://raw.githubusercontent.com/microsoft/markitdown/v0.1.5/packages/markitdown/tests/test_files/test.xlsx"
],
"maxFileMb": 25,
"saveMdFile": true,
"maxItems": 100
}
FieldDefaultNotes
urls3 samples in the formDirect download links. https:// is added if missing. Duplicates are skipped
filesnoneFile upload. Samples left untouched in urls are skipped when you upload
maxFileMb25Larger files get a free error row. Maximum 100
saveMdFiletrueSaves a .md file and returns mdFileUrl
maxItems100Maximum documents per run

Output example

{
"status": "ok",
"sourceUrl": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"finalUrl": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"fileName": "fw9.pdf",
"fileType": "pdf",
"sizeBytes": 140815,
"title": "Form W-9 (Rev. March 2024)",
"markdown": "Form W-9\n\n(Rev. March 2024)\nDepartment of the Treasury ...",
"charCount": 38059,
"markdownTruncated": false,
"mdFileUrl": "https://api.apify.com/v2/key-value-stores/<store-id>/records/00001-fw9.md",
"warnings": [],
"error": null,
"convertedAt": "2026-11-05T13:47:39Z"
}

status is ok, error, blocked or invalid. Only ok rows are charged. title comes from the file's own metadata or, failing that, its first heading, so it can be missing or generic. A dataset row holds up to 2.5 MB of Markdown: longer results set markdownTruncated: true and the full text is in mdFileUrl. The key-value store record OUTPUT has a run summary.

Pricing

Pay per event, and failed documents are free.

EventPriceWhen
document-converted$0.002Each converted document, including its first 10 MB and first 100,000 Markdown characters
extra-10mb$0.002Each started 10 MB beyond the first 10 MB of the file
extra-100k-chars$0.002Each started 100,000 Markdown characters beyond the first 100,000

So most documents cost $0.002 ($2 per 1,000). A 142-page tax guide (IRS Publication 17, 1.29 million characters) costs $0.026. A 100,000-row workbook of 10 million characters costs about $0.20. If a document would go past your run's maximum total charge, it is not delivered and not charged, and the run stops there.

Limits

  • Scanned PDFs have no text to convert. They get a free error row. Use PDF OCR for those.
  • Forms and complex layouts come out rough. Rotated side text can appear one letter per line, as in IRS Form W-9, and multi-column pages or merged tables can lose their structure. For PDF-only work with page ranges and RAG chunks, see PDF to Text & Markdown.
  • Images are not read. There is no OCR and no image description.
  • Not supported: legacy .doc, .xls and .ppt, password-protected files, .xlsb, EPUB and archives. Each gets a free error row saying so.
  • Direct links only. Google Drive or Dropbox viewer pages and sign-in pages are not documents.
  • Memory and time. Each conversion may take up to 180 s and the memory of the run (1 GB by default). Longer or heavier documents get a free error row; raise the run's memory for those.

Excel details

  • Hidden sheets are skipped, and the row's warnings says how many.
  • Formula cells show the value last saved in the file. A workbook produced by a script that never calculated it has empty formula cells.
  • Merged cells show their value in the first cell only. Empty rows and outer empty columns are removed. The first non-empty row of a sheet is treated as the header.

Safety and politeness

  • Private networks are blocked. Before any connection, the host is resolved and every address must be public. Loopback, private ranges, link-local and cloud metadata addresses get a free blocked row. The check applies again to every redirect hop, and the socket connects to the address that was checked, so DNS tricks do not get around it.
  • robots.txt is respected. A URL its site disallows for generic crawlers gets a free blocked row, and so does a site whose robots.txt answers with a server error. Requests to the same host are at least 1 s apart. There are no proxies or browser disguises. Sites that refuse datacenter IPs (some answer HTTP 403) give a free error row: upload those files instead.
  • Your files: temporary copies are deleted after each document. Results stay in the run's storage under your account's retention settings.
  • Documents are data. Text inside a document is passed through as it is, so treat it as untrusted input in your LLM prompts.