Go to example tasks

Markdown with a length limit for LLM prompts

Cut each document at 4000 characters.

Try for free
HTML to Markdown Converter for LLM and RAG
HTML to Markdown Converter for LLM and RAGucchiii/html-to-markdown
Data source
Page URL
Item title
Markdown content
+5 fields
Text
Number
Boolean
List
Object

Input

URLs to convert:https://example.com
Max characters per document:4000
Images:drop

Output fields

Data source
Page URL
Item title
Markdown content
Word count
Character count
Truncated flag
Status value
Error code

How it works

Sign up on Apify or log in

The HTML to Markdown Converter for LLM and RAG Actor is ready to run with the inputs already set for "Markdown with a length limit for LLM prompts". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Markdown with a length limit for LLM prompts" task

The HTML to Markdown Converter for LLM and RAG Actor will start running based on the input automatically. You can also change all the input fields, like URLs to convert, max characters per document, and more, to match your specific use case.

Receive the "Markdown with a length limit for LLM prompts" 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 data source, page url, item 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 "Markdown with a length limit for LLM prompts" task via API.

Image

Integrate "Markdown with a length limit for LLM prompts" into your workflow

Connect "Markdown with a length limit for LLM prompts" 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