EU Law PDF to Markdown with Page Markers (EUR-Lex)
Converts an EU directive PDF from EUR-Lex into clean Markdown with page markers and repeated headers and footers removed, so every passage can be cited back to its page.
Input
Output fields
Sign up on Apify or log in
The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR) Actor is ready to run with the inputs already set for "EU Law PDF to Markdown with Page Markers (EUR-Lex)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "EU Law PDF to Markdown with Page Markers (EUR-Lex)" task
The Document to Markdown for LLM & RAG (PDF, DOCX, PPTX, XLSX, OCR) Actor will start running based on the input automatically. You can also change all the input fields, like file urls, insert page markers, and more, to match your specific use case.
Receive the "EU Law PDF to Markdown with Page Markers (EUR-Lex)" 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 file, title, markdown, 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 "EU Law PDF to Markdown with Page Markers (EUR-Lex)" task via API.

Integrate "EU Law PDF to Markdown with Page Markers (EUR-Lex)" into your workflow
Connect "EU Law PDF to Markdown with Page Markers (EUR-Lex)" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
$0.002 per converted document plus $0.0003 per page with text. OCR pages cost $0.0027 more. Failed, empty or unsupported files are free.
Short comments inserted at each page break, so text in the Markdown can be traced back to the PDF page it came from. Useful for citations.
Yes. Paste direct file links, Google Drive, Dropbox or GitHub share links, or upload files in the input. You can also point it at a dataset of URLs from another actor.
Yes. The markdown field is ready to pass to a model. Set chunking to heading or tokens to also get chunks with token counts and page numbers for embedding.