Turn webpages into clean Markdown.
Extract readable page content while reducing the markup and layout noise your LLM does not need.
- Navigation menus, scripts and ads stripped out
- Headings, lists, code blocks and links preserved
- One parameter: markdown=true
From URL to Markdown
Markdown with headings, lists, links and key content preserved when extraction is available.
curl -X POST 'https://api.mrscraper.com/?token={MRSCRAPER_API_TOKEN}&markdown=true' \
-H 'x-api-token: {MRSCRAPER_API_TOKEN}' \
-H 'Content-Type: application/json' \
-d '{ "url": "https://books.toscrape.com/" }' {
"error": null,
"html": "<!DOCTYPE html>...</html>",
"markdown": "# All products\n\n**1000** results - showing **1** to **20**.\n\n1. [A Light in the ...](catalogue/a-light-in-the-attic_1000/index.html)\n\n In stock"
} Why teams use it
Cleaner input for prompts
Navigation menus, scripts, advertisements and layout HTML are removed before the page reaches your model.
More manageable context
Token-efficient output means prompts and AI contexts spend their token limits on page content, not raw HTML.
Easier ingestion into retrieval workflows
Headings, lists, code blocks and links survive the conversion, ready for indexing in vector databases or search engines.
How it works
- 1
Add a URL
Put the full page URL, including https://, in the request body.
- 2
Request Markdown
Set markdown=true. Turn on browser rendering for pages that load their content with JavaScript.
- 3
Review the extracted page
The markdown field of the response holds the converted page, next to the raw html.
- 4
Send it to an AI or search workflow
Pass the Markdown to an AI prompt, a RAG pipeline or a document store.
Example use cases
RAG knowledge ingestion
Convert documentation hubs, help centers and technical guides into Markdown for indexing in a vector database.
AI-agent research
Give autonomous AI agents clean, structured context while they navigate documentation or research online sources.
Documentation and article processing
Pull external articles and blog posts into a CMS, Notion or an internal wiki in ready-to-render Markdown.
Markdown FAQ
Answered from the product documentation.
What does the Markdown conversion remove from a page?
Navigation menus, scripts, advertisements and layout HTML are stripped. Semantic structures such as headings, lists, code blocks and links are preserved.
How do I turn on Markdown conversion?
Set markdown to true on the request. It is required for this use case, and the converted page comes back in the markdown field of the JSON response.
Can I convert pages that load their content with JavaScript?
Yes. Set browserRendering to true to render the page in a real Chromium browser first. It is off by default and is required for JavaScript-heavy sites, SPAs and pages that load content dynamically.
Does the Markdown response still include the HTML?
Yes. Alongside the markdown field, the JSON response carries the raw html of the page, an error field and the token usage of the request.
How do I cap the tokens a Markdown scrape can use?
Add tokenCap to the request body. Automatic retries are bounded by the cap, so the total tokens for a single run stay at or below the value you set. maxRetries limits how many retries run.
Explore Our Products
Get page HTML for your own parsing and data workflows.
Capture the page as it appears in a browser.
Extract brand assets and style details from a website.
Extract the exact fields you need as structured data.
AI-powered endpoints returning structured data from any public site.
Real residential IPs with automatic rotation and global geotargeting.
What people think about
scraper
The mission to make data accessible to everyone is truly inspiring. With MrScraper, data scraping and automation are now easier than ever, giving users of all skill levels the ability to access valuable data. The AI-powered no-code tool simplifies the process, allowing you to extract data without needing technical skills. Plus, the integration with APIs and Zapier makes automation smooth and efficient, from data extraction to delivery.
I'm excited to see how MrScraper will change data access, making it simpler for businesses, researchers, and developers to unlock the full potential of their data. This tool can transform how we use data, saving time and resources while providing deeper insights.
Adnan Sher
Product Hunt user
This tool sounds fantastic! The white glove service being offered to everyone is incredibly generous. It's great to see such customer-focused support.
Harper Perez
Product Hunt user
MrScraper is a tool that helps you collect information from websites quickly and easily. Instead of fighting annoying captchas, MrScraper does the work for you. It can grab lots of data at once, saving you time and effort.
Jayesh Gohel
Product Hunt user
Now that I've set up and tested my first scraper, I'm really impressed. It was much easier than expected, and results worked out of the box, even on sites that are tough to scrape!
Kim Moser
Computer consultant
MrScraper sounds like an incredibly useful tool for anyone looking to gather data at scale without the frustration of captcha blockers. The ability to get and scrape any data you need efficiently and effectively is a game-changer.
Nicola Lanzillot
Product Hunt user
Support
Get help from the MrScraper team with your account, billing, or scraping questions.
Questions? Ask our team via live chat 24/5 or just poke us on our official Twitter or our founder. We're always happy to help.