PDF to Markdown API: Word, PowerPoint & Excel for AI Agents avatar

PDF to Markdown API: Word, PowerPoint & Excel for AI Agents

Pricing

$10.00 / 1,000 documents delivered as markdown

Go to Apify Store
PDF to Markdown API: Word, PowerPoint & Excel for AI Agents

PDF to Markdown API: Word, PowerPoint & Excel for AI Agents

PDF to markdown API: turn PDF, Word, PowerPoint and Excel URLs into markdown for AI agents and RAG, payable per request via x402. PDFs come back as plain text page by page; Office files keep headings, lists and tables. Charged per document delivered; failed documents are free. Also an MCP server.

Pricing

$10.00 / 1,000 documents delivered as markdown

Rating

0.0

(0)

Developer

Frameskim Tools

Frameskim Tools

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Document to Markdown for AI Agents

Give it the URLs of PDF, Word (DOCX), PowerPoint (PPTX) or Excel (XLSX) files and get each one back as clean markdown, for AI agents and RAG pipelines that need the text of a document, not a file. You get one dataset item per document. It is also an MCP server (/mcp) and HTTP API (/document) that returns one document up to 3 MB as markdown per call, charged per document, without starting a run in your account (see Server interface below).

  • Reads public URLs only, and respects robots.txt for every document and every redirect. It identifies itself as FrameskimFetch.
  • Word and PowerPoint files keep headings, lists and tables as markdown; Excel sheets become tables.
  • PDFs come back as plain text, page by page, without tables. A PDF's title is the one in its metadata, or null.
  • Documents up to 10 MB; no OCR, so scanned PDFs are not supported.
  • Charged per document delivered (current prices are on the Pricing tab); documents that fail, are too big, scanned, damaged or not allowed by robots.txt are free.

More: Document to Markdown on frameskim.dev

What you get

{
"url": "https://example.com/report.pdf",
"type": "pdf",
"title": "Annual Report",
"markdown": "# Annual Report\n\n...",
"truncated": false
}
  • type is pdf, docx, pptx or xlsx; title is the document's own title, or null.
  • truncated is true when the markdown passed 500,000 characters and was cut.
  • A document that could not be delivered has error instead of markdown, with the reason, and is not charged.
  • The run's status message says how many documents were delivered and failed, and why the run stopped early, if it did.
  • If nothing is delivered, the run still ends as succeeded: each document that failed is in the dataset with its error, the status message gives the first reason, and nothing was charged.

Input

FieldWhat it does
urlsFrom 1 to 50 URLs of PDF, DOCX, PPTX or XLSX files. A repeated URL is read once.

Server interface (HTTP and MCP)

The actor is also a multi-tenant Server Actor: send a request to its server URL (on the Server tab) with your Apify API token in Authorization: Bearer <token> and get one document back at once, without starting a run. You pay only the document event of each document delivered; no run starts in your account.

  • GET /document?url=<document URL> or POST /document with {"url": "<document URL>"}: 200 with url, type, title, markdown and truncated, the same as a run's item. A document that cannot be delivered (including one larger than 3 MB) comes back as 422 with its error, and a bad URL as 400; neither is charged.
  • POST /mcp: an MCP server (streamable HTTP, stateless) with one tool, document_markdown, that takes url. Add the MCP URL from the Server tab to your agent with your token as the bearer.
  • Documents are read and converted the same way as in runs (below), one per request, with the server's own limits: up to 3 MB per document, a 20-second download without a retry and 43 seconds per request. A large document that does not download in time comes back as 422 and is not charged; run the actor for documents up to 10 MB. If your requests cost far more than the documents they deliver (for example many documents in a row that cannot be read), they get 429 for a while.
  • Requests and documents are not stored: the server writes no dataset, and its log has only the method, route and status of each request and short status and error lines, never the URL, the document or who asked.

Limits

  • 10 MB per document, 30 s per download attempt and 120 s to convert it. A download that runs out of time, cannot connect or gets a server error is tried once more on a new connection; if that fails too, the document fails and is not charged.
  • One document at a time, so a run of 50 large documents can reach its time limit; the documents done by then are delivered and charged, and the message says why it stopped.
  • Set a maximum charge per run to cap spending: the run stops before a document that would pass it.

Not affiliated with Microsoft; Word, PowerPoint and Excel are trademarks of Microsoft Corporation, named here only for the file formats this actor reads.

Support

Every error says what was wrong. For anything else, see https://frameskim.dev/terms.

Terms and privacy

Document to Markdown for AI Agents is operated by Emttn LLC and is not affiliated with, endorsed by or sponsored by the sites whose documents it reads. You need a lawful basis to fetch, copy and use each document you list, and you are responsible for following each document's license, its site's terms, copyright and privacy law; a public document or a robots.txt allow is not a license to its content. The markdown is an automatic extraction and may be incomplete or inaccurate. Terms: https://frameskim.dev/terms. Privacy: https://frameskim.dev/privacy. Questions: support@frameskim.dev.