Any URL to Markdown — Web Pages, PDF, Word, Excel & OCR avatar

Any URL to Markdown — Web Pages, PDF, Word, Excel & OCR

Pricing

from $1.00 / 1,000 page results

Go to Apify Store
Any URL to Markdown — Web Pages, PDF, Word, Excel & OCR

Any URL to Markdown — Web Pages, PDF, Word, Excel & OCR

Turn any URL into clean, LLM-ready Markdown: web pages, PDFs, Word, Excel, PowerPoint, EPUB, CSV and JSON, plus OCR for images and scanned PDFs. One url in, Markdown plus a token estimate out. Built for AI agents, MCP, RAG, Clay and n8n. From $1 per 1,000 pages.

Pricing

from $1.00 / 1,000 page results

Rating

0.0

(0)

Developer

ActorForge

ActorForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 hours ago

Last modified

Share

Turn any URL into clean, LLM-ready Markdown: web pages, PDFs, Word, Excel, PowerPoint, EPUB, CSV and JSON, plus OCR for images and scanned PDFs. One url in, Markdown plus a token estimate out. Built for AI agents, MCP, RAG, Clay and n8n. From $1 per 1,000 pages.

Convert any URL to Markdown with one call. Give it one url (or a list) and it works out what the link really is: a web page, a PDF, a Word, Excel or PowerPoint file, an OpenDocument or EPUB file, CSV, JSON, or an image or scanned PDF that needs OCR. It then sends the link to the right converter and returns clean, LLM-ready Markdown, with headings, lists, tables and links kept. Each result also has a tokenEstimate, the title, metadata (author, dates, page count, word count) and the route that was used. It is built as an AI agent tool. One string goes in and one Markdown string comes out, so it is easy to call from MCP clients (Claude, Cursor, ChatGPT), LangChain/LlamaIndex RAG pipelines, Clay enrichments and n8n/Make/Zapier flows. It replaces four tools: a web scraper, a PDF parser, an Office converter and an OCR engine. Typical uses: convert any file to Markdown for a vector store, read the documents an agent finds while browsing, and turn linked reports, spreadsheets and slide decks into context for an LLM. Web pages: Mozilla Readability keeps the main content, and robots.txt is respected. PDFs: the text layer is read with layout-aware heading and paragraph detection. Pages with no text layer are read with Tesseract OCR (7 languages). Office files keep their tables as Markdown tables. Simple pay-per-result pricing: $1 per 1,000 web pages, $2 per 1,000 documents, $3 per 1,000 OCR pages, with no compute bill on top. Failed downloads, unsupported files, pages blocked by robots.txt and empty results are never charged.

📘 Step-by-step guide: How to Convert PDF to Markdown for RAG Pipelines

What data does it return?

Every run outputs clean, schema-validated rows like these:

urldetectedFormatroutetitletokenEstimatemarkdown
https://arxiv.org/pdf/1706.03762pdfpdf-textAttention Is All You Need9600Provided proper attribution is provided, Google hereby grants permission to reproduce the tables and figures…
https://en.wikipedia.org/wiki/Retrieval-augmented_generationhtmlhtmlRetrieval-augmented generation - Wikipedia5811Retrieval-augmented generation (RAG) is a technique that enables large language models…
https://calibre-ebook.com/downloads/demos/demo.docxdocxofficeDOCX Demo2604# Demonstration of DOCX support in calibre\n\nThis document demonstrates the ability of the calibre DOCX Input plugin…
https://raw.githubusercontent.com/apache/poi/trunk/test-data/spreadsheet/SampleSS.xlsxxlsxofficeSample Spreadsheet96## First Sheet\n\n| Test spreadsheet | column_B |\n| --- | --- |\n| 2nd row | 2nd row 2nd column |…
https://github.com/tesseract-ocr/tessdoc/raw/main/images/eurotext.pngpngimage-ocreurotext.png120The (quick) [brown] {fox} jumps!\nOver the $43,456.78 <lazy> #90 dog…

How much does it cost?

Transparent pay-per-event pricing — you only pay for what you get, and the actor always respects your run budget: set a maximum total charge and it stops cleanly at the cap instead of overrunning.

EventPriceChargedWorked example
page-result$0.001per web page converted to Markdown1,000 web pages = $1.00
document-converted$0.002per PDF (each started 50 text pages), Word, Excel, PowerPoint, OpenDocument, EPUB, CSV or JSON file convertedA 15-page PDF = $0.002; a 120-page PDF = $0.006; 1,000 Word files = $2.00
page-ocr$0.003per image, or scanned PDF page, read by OCRA 10-page scanned PDF = $0.03
apify-actor-start$0.00005per run per GB of memory (platform start fee)One run at 1 GB = $0.00005

Input options

FieldTypeRequiredDefaultDescription
urlstringno—One link to convert: a web page, PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx), OpenDocument, EPUB, CSV, JSON or image. The file type is detected automatically.
urlsarrayno—Optional: more links to convert in the same run (up to 1,000 in total, duplicates removed).
includeTextbooleannofalseAdd a text field with the Markdown syntax removed.
onlyMainContentbooleannotrueKeep only the article or main content of web pages (navigation, footers and cookie banners removed). Turn off to convert the whole page body.
ocrbooleannotrueRead text from images (PNG, JPEG, TIFF, WebP, GIF, BMP) and from PDF pages that have no text layer, with Tesseract OCR. Turn off to never pay for OCR: images and scanned pages are then reported as errors (free).
ocrLanguagesarrayno["eng"]Languages in your scanned documents (up to 3). For 29 languages and word boxes use the OCR to Text actor.
maxOcrPagesintegerno20Upper limit of scanned pages read by OCR in one PDF ($0.003 each). Pages beyond it are left out and the row is marked truncated.
maxPdfPagesintegerno500Read at most this many pages of each PDF.
maxRowsPerSheetintegerno1000Excel, OpenDocument and CSV tables are cut after this many rows (marked truncated).
respectRobotsTxtbooleannotrueSkip URLs that the site's robots.txt disallows. It is checked before every request: web pages, direct file links and every redirect target. A robots.txt that answers with a server error counts as disallow-all (RFC 9309).

Limits & honest notes

  • Web pages are fetched as static HTML, with no browser. Pages that build their content with JavaScript (an empty app shell) are reported, not charged; use a browser-based crawler for those. This actor converts the URLs you give it and does not crawl sites (see Website to Markdown for that).
  • PDF pages with a text layer are read exactly; pages without one are read by OCR when it is on (up to 20 per PDF by default, set by maxOcrPages). OCR covers 7 languages (English, German, French, Spanish, Italian, Portuguese, Dutch). Handwriting and low-resolution photos come out poorly. For 29 languages, word boxes and per-page output, use OCR to Text.
  • Legacy binary Office files (.doc, .xls, .ppt), RTF, OpenDocument presentations (.odp), HEIC/AVIF images and SVG are not supported. They are reported with a clear reason and never charged.
  • Spreadsheets are cut at 1,000 rows per sheet by default (maxRowsPerSheet), and very large results are cut at about 3.5 million characters. Cut rows are marked truncated: true.
  • Files up to 50 MB. Password-protected PDFs and pages behind a login can't be read.
  • Polite by design: it sends an honest crawler user agent (ActorForge-AnyUrlToMarkdown) and does not pose as a browser. When a site answers 429 (rate limited) or 403 (refused), that URL is retried at most once (429 only, after Retry-After up to 30 s) and the remaining URLs on the same host are skipped as free error rows.
  • tokenEstimate is characters divided by 4. That is a good guide for English with GPT and Claude tokenizers, not an exact count.
  • Respects your run budget: set a maximum total charge and processing stops cleanly at the cap. No result is delivered without being paid for, and none is charged twice.

Changelog

  • 2026-10-19 — Initial release: a single url input with automatic format detection. Web pages (Readability), PDFs (text layer, plus OCR for scanned pages), DOCX/PPTX/XLSX/ODT/ODS/EPUB/CSV/JSON, and image OCR (Tesseract, 7 languages). Returns tokenEstimate and route.
  • 2026-10-20 — Hardening: stricter internal-address guard (all IPv6 forms, checked on every redirect), honest crawler user agent, robots.txt checked before every request incl. file links and redirects (5xx = disallow-all per RFC 9309), per-host stop after a 429/403, 50 MB file cap with lower memory use.

Built and maintained by ActorForge. Reliability first: every actor in the portfolio is monitored by an automated nightly self-test, and breakages are typically fixed the same day.