Go to example tasks

Convert a web page to clean Markdown (main content only)

Turn a web page into clean Markdown with only the main content, ready for LLM prompts.

Try for free
Document to Markdown — PDF, DOCX & OCR for RAG
Document to Markdown — PDF, DOCX & OCR for RAGcaspiandata/doc-to-markdown
Source url
Type
Title
Page count
+4 fields
Text
Number
Boolean
List
Object

Input

Document URLs(required):https://en.wikipedia.org/wiki/Markdown
HTML: main content only:true

Output fields

Source url
Type
Title
Page count
Processed pages
Ocr pages
Characters
Error

How it works

Sign up on Apify or log in

The Document to Markdown — PDF, DOCX & OCR for RAG Actor is ready to run with the inputs already set for "Convert a web page to clean Markdown (main content only)". 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 clean Markdown (main content only)" task

The Document to Markdown — PDF, DOCX & OCR for RAG Actor will start running based on the input automatically. You can also change all the input fields, like document urls and HTML: main content only, to match your specific use case.

Receive the "Convert a web page to clean Markdown (main content only)" 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 source url, type, title, 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 clean Markdown (main content only)" task via API.

Image

Integrate "Convert a web page to clean Markdown (main content only)" into your workflow

Connect "Convert a web page to clean Markdown (main content only)" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay