---
title: "Web Page to Markdown scraper | ScrapeCrate"
description: "Any web page as clean Markdown for LLMs, with links. $0.003 per page, free monthly credit to try it. Run it from the web, the API or MCP."
url: https://scrapecrate.com/apps/url-to-markdown
markdown: https://scrapecrate.com/apps/url-to-markdown.md
---

# Web Page to Markdown

Any web page as clean Markdown for LLMs, with links.

**Price:** $0.003 per page.

Fetch a public web page and get clean Markdown with title, metadata and links; a headless browser for JavaScript pages.

## Input

- `url` (string, required): The public http(s) URL of the page
- `render` (boolean, optional, default false): Load the page in a headless browser (JavaScript, anti-bot checks): 11 credits instead of 3

## Use it from your code

```bash
curl -X POST "https://api.scrapecrate.com/v1/apps/url-to-markdown/runs?wait=60" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://example.com/blog/hello-world","render":false},"max_items":100}'
```

```javascript
const res = await fetch("https://api.scrapecrate.com/v1/apps/url-to-markdown/runs?wait=60", {
  method: "POST",
  headers: { "X-API-Key": process.env.API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "url": "https://example.com/blog/hello-world",
      "render": false
    },
    "max_items": 100
  }),
});
const { run } = await res.json();
console.log(run.status, run.result_count);

// The results
const items = await fetch(`https://api.scrapecrate.com/v1/runs/${run.id}/items?format=json`, {
  headers: { "X-API-Key": process.env.API_KEY },
}).then((r) => r.json());
```

```python
import os, requests

res = requests.post(
    "https://api.scrapecrate.com/v1/apps/url-to-markdown/runs?wait=60",
    headers={"X-API-Key": os.environ["API_KEY"]},
    json={
      "input": {
        "url": "https://example.com/blog/hello-world",
        "render": False
      },
      "max_items": 100
    },
)
run = res.json()["run"]
print(run["status"], run["result_count"])

items = requests.get(
    f"https://api.scrapecrate.com/v1/runs/{run['id']}/items?format=json",
    headers={"X-API-Key": os.environ["API_KEY"]},
).json()["items"]
```

```bash
# Claude Code
claude mcp add --transport http scrapecrate https://api.scrapecrate.com/mcp

# Then ask, in Claude, ChatGPT or Cursor:
Convert https://www.anthropic.com/news to Markdown
```

## Output example

```json
{
  "url": "https://example.com/blog/hello-world",
  "final_url": "https://example.com/blog/hello-world",
  "status_code": 200,
  "content_type": "text/html",
  "rendered": false,
  "title": "Hello World | Example Blog",
  "markdown": "# Hello World\n\nThis is the **first** paragraph, with a [link](https://example.org/).\n\n## Details\n\n- one\n- two",
  "metadata": {
    "description": "A first post about the world.",
    "canonical_url": "https://example.com/blog/hello-world",
    "language": "en",
    "site_name": "Example Blog",
    "author": "Jane Writer",
    "published_at": "2026-11-20T10:00:00Z",
    "image": "https://example.com/img/cover.png"
  },
  "links": [
    {
      "url": "https://example.com/",
      "text": "Home"
    },
    {
      "url": "https://example.org/",
      "text": "link"
    }
  ],
  "word_count": 15,
  "fetched_at": "2026-11-24T09:30:00Z"
}
```

[API reference](https://scrapecrate.com/url-to-markdown-api.md)

You pay only for the results you get. Results are kept 30 days.
