PDF, DOCX & HTML to Markdown Converter for LLMs avatar

PDF, DOCX & HTML to Markdown Converter for LLMs

Pricing

from $2.00 / 1,000 document converteds

Go to Apify Store
PDF, DOCX & HTML to Markdown Converter for LLMs

PDF, DOCX & HTML to Markdown Converter for LLMs

Convert PDF, Word (DOCX), HTML pages and text files from URLs into clean Markdown (headings, lists, tables, links) for ChatGPT, RAG and AI agents. Page counts, word counts and titles included. $2 per 1,000 documents, failures free.

Pricing

from $2.00 / 1,000 document converteds

Rating

0.0

(0)

Developer

Ethan Wagner

Ethan Wagner

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Turn document links into clean Markdown that LLMs read well: headings, paragraphs, lists, tables and links are kept, and the clutter is dropped. Use it to feed ChatGPT / Claude prompts, RAG vector stores, AI agents, knowledge bases and search indexes.

$2 per 1,000 documents. Failed downloads, unsupported files and image-only PDFs are free.

Supported formats

InputHow it's converted
PDFText layer extracted page by page. Headings detected from font size, bullets and numbered lists kept, paragraphs re-joined, hyphenated line breaks fixed. Optional <!-- page N --> markers
Word (DOCX)Headings, bold/italic, lists, tables and links, via semantic conversion
HTML / web pagesMain content only (no nav, footer, cookie banner), GitHub-flavored Markdown tables, absolute links and image URLs
TXT, MD, CSV, JSONPassed through as text

The file type is detected from the file content, so links without extensions work too.

Input

{
"urls": ["https://arxiv.org/pdf/1706.03762", "https://en.wikipedia.org/wiki/Markdown"],
"maxPages": 300,
"pageMarkers": false
}

Output example (shortened, real result)

{
"url": "https://arxiv.org/pdf/1706.03762",
"fileType": "pdf",
"title": "Attention Is All You Need",
"markdown": "## Attention Is All You Need\n\nAshish Vaswani ∗ Google Brain …\n\nAbstract\n\nThe dominant sequence transduction models are based on complex recurrent…",
"pageCount": 15,
"pagesConverted": 15,
"isTruncated": false,
"wordCount": 6161,
"characterCount": 39872,
"isLikelyScanned": false
}

Pricing

Pay per event: $0.002 per converted document (any size up to your page and MB limits) plus a tiny start fee. You can cap the total cost per run in the run options.

Limits

  • No OCR. Scanned, image-only PDFs are detected and returned with an error, free of charge.
  • Only public URLs; files behind a login can't be fetched.
  • Pages that render everything with JavaScript may give little text. Use a browser-based crawler for those.

Works with the Apify API, Make, Zapier, n8n, LangChain / LlamaIndex loaders and MCP-connected AI agents.