Signup comes with $1 in credit. No subscription needed.Claim your $1

Tools / Web search and scraping / How to

Convert a web page into clean markdown your model can read

Pass a page URL and get its content back as markdown, with headings as # lines, links as [text](url) and the markup, scripts and styles removed. The title, meta description and language come with it. Use it to put a page into a prompt, a RAG index or a notes folder without writing an HTML parser.

Real run: 1 record $0.0056 per page web.scrape MCP · REST · CLI

Ask your agent

Turn these ten documentation pages into markdown files and build a table of contents from their headings.

Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.

A real run

What does it return?

One call to web.scrape (website scrape), run through RouterGrowth on October 26, 2026. These are the first rows it returned; fields that name a person are masked.

1records returned
0.6 sto answer
$0.0064charged for the run
levelheading
h2Learning Center
h5Learn about DDoS attacks
h5Learn about CDNs

One call on a Cloudflare Learning Center URL: 5,039 characters of markdown with 19 headings and 3 links; the rows are headings as the markdown carries them.

Step by step

How do you do it?

  1. Pick the page

    Use the exact URL. If it redirects, the markdown is of the page it lands on, as here.

  2. Call web.scrape

    Send the url. The response holds markdown, title, description, language and status_code.

  3. Trim the furniture

    Drop menu and footer lines you do not need, so the model reads the body.

  4. Chunk by heading

    Split on # lines to keep each section whole when you index or summarize it.

Price

What does it cost?

List prices on this call, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.

$0.0056per page
No seatand no monthly plan needed
$0when the call finds nothing

In practice

What do you ask it?

You describe the job; the agent picks the calls, shows the price and runs them.

Turn these ten documentation pages into markdown files and build a table of contents from their headings.

Search for three well cited guides on zero trust networking, convert each to markdown and compare them side by side.

Connect

How do you connect it?

One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.

MCP server
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
CLI
npm install -g routergrowth && routergrowth setup
routergrowth run -c web.scrape -i '{"url": "https://www.cloudflare.com/learning/what-is-cloudflare/"}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "web.scrape", "input": {"url": "https://www.cloudflare.com/learning/what-is-cloudflare/"}}'

Worth knowing

What should you know first?

One page, not a site

Each call converts one URL. For a site, list its pages and run one call per page.

Images stay as links

Images come through as markdown image links, not as files or descriptions of the picture.

Layout is flattened

Columns, tabs and styling become plain reading order, so a visual grid reads as a sequence of blocks.

FAQ

Questions about website to markdown

Is the output plain text or markdown?

Markdown: headings, lists, links and image links keep their markdown syntax.

Does it strip navigation and footers?

Not always. Menu and footer text can come through; filter those lines before chunking.

Does it work on pages that load content with JavaScript?

Yes. The page is rendered before it is converted, so text a public visitor sees is included.

Can I convert a whole website at once?

Not in one call. Pass each URL; a sitemap or a site: search gives you the list.

More on Web search and scraping

Related pages

Reading this as an agent? This page as markdown: /tools/web-scraping/website-to-markdown.md

One key. Every network.

Connect your agent once. The first calls run on the $1 that comes with signup.