# URL to Markdown Converter

> URL to Markdown Converter is a paid MCP server for files and documents. Convert web pages, PDFs and small sites into clean Markdown with chunks for RAG. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://apify.com/cleandata-labs/url-to-markdown
- **MCP Registry name:** io.github.CleanData-Labs/url-to-markdown
- **Categories:** files and documents, web search and scraping, developer tools
- **Listing updated:** 2026-11-15

## About

Pages are fetched with fast HTTP requests first, and a headless browser is used only when JavaScript is needed, so most pages convert in about a second. Output can be Markdown, plain text or cleaned HTML, with title, author, publish date, language and canonical URL. Article mode keeps only the main content, while full mode keeps the whole page, and CSS selectors let you drop navigation or footers.

Small crawls follow links to a set depth or start from a sitemap, with include and exclude URL globs, a page cap per start URL and same-host scope. Duplicate pages by final URL or content are skipped. For retrieval pipelines, text can be split into token-sized chunks with overlap on paragraph boundaries. The actor respects robots.txt by default and identifies itself honestly.

Cost is $0.002 per converted page for pages and PDFs alike. Blocked, disallowed, failed and duplicate URLs are free. A separate actor handles PDFs where structure matters most.

## Features

- **Main-content extraction:** Strips menus, ads and cookie text.
- **Sitemap and link crawling:** Convert a docs section within limits.
- **RAG chunking:** Token-sized pieces with overlap.
- **JavaScript fallback:** Browser rendering only when needed.
- **PDF support:** PDFs convert at the page price.
- **Robots.txt respect:** Disallowed URLs are skipped and free.

## Good for

- Prepare documentation for a vector database
- Give an agent clean page text to read
- Archive a small site as Markdown
- Extract metadata from a list of URLs

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http url-to-markdown 'https://mcp.apify.com?tools=cleandata-labs/url-to-markdown'
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.apify.com?tools=cleandata-labs/url-to-markdown
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "url-to-markdown": {
      "url": "https://mcp.apify.com?tools=cleandata-labs/url-to-markdown"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "url-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=cleandata-labs/url-to-markdown"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "url-to-markdown": {
      "serverUrl": "https://mcp.apify.com?tools=cleandata-labs/url-to-markdown"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "url-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=cleandata-labs/url-to-markdown"
    }
  }
}
```

## Tools

- `cleandata-labs--url-to-markdown`: Convert URLs, PDFs or small sites to Markdown

## FAQ

### What does it cost?

$0.002 per converted page; failed and duplicate URLs are free.

### Does it follow robots.txt?

Yes, by default.

### Can it handle JavaScript pages?

Yes, with an automatic browser fallback.

### Can I cap spend?

Yes, a maximum cost per run stops the crawl cleanly.

### Is URL to Markdown Converter free?

No. URL to Markdown Converter is a paid product.

### How do I add URL to Markdown Converter to Claude Code?

Run this command in your terminal: claude mcp add --transport http url-to-markdown 'https://mcp.apify.com?tools=cleandata-labs/url-to-markdown'

### What are the best alternatives to URL to Markdown Converter?

The closest alternatives to URL to Markdown Converter are REA, Scrapling MCP Server, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/url-to-markdown-converter
