Convert a web page to Markdown for LLMs
Textokit
Convert one public HTTPS web page into clean Markdown for an LLM, RAG index or summarizer. This example reads the Wikipedia article on Markdown and returns its title, the main content as Markdown with headings, links, lists and code blocks, character counts and a truncation flag at the 20,000-character budget. Static HTML only: no JavaScript rendering, login or OCR. Replace the URL with your page.
Input
Output fields
Sign up on Apify or log in
The PDF to Text & HTML to Markdown for LLMs and RAG Actor is ready to run with the inputs already set for "Convert a web page to Markdown for LLMs". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Convert a web page to Markdown for LLMs" task
The PDF to Text & HTML to Markdown for LLMs and RAG Actor will start running based on the input automatically. You can also change all the input fields, like single document url, output format, and more, to match your specific use case.
Receive the "Convert a web page to Markdown for LLMs" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as url, status, document type, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Convert a web page to Markdown for LLMs" task via API.

No. It downloads the static HTML once, without JavaScript rendering, cookies or login. Pages that build their content in the browser can return little or no text.
Headings, links, lists and code blocks from the main content, where extraction supports them. Navigation, scripts and common page furniture are removed. Main-content detection is heuristic, so quality varies by site.
USD 0.005 per successfully extracted page. Failed downloads and failed extractions are not charged. The character budget, 20,000 by default and up to 200,000, only limits the returned text.