Skip to content
New: Agenty MCP server.

Scrape websites, take screenshots and get datasets right from Claude, ChatGPT, Gemini or Cursor.

Connect your AI

Bulk URL to Markdown Converter & API

Paste a list of URLs and convert every page into clean, LLM-ready Markdown for RAG pipelines, AI agents, and docs migrations.

Bulk URL to Markdown
Paste one URL per line. Requests run one by one in your browser. 5 of 5 free requests left. Sign in for more.
API reference

Paste up to 50 URLs above and the converter turns each page into Markdown one by one. Copy a single result or download everything as one .md file. You get 5 free conversions without an account; see plans for more. To automate it, use the Markdown API reference.

The Agenty Markdown API converts any URL into clean, LLM-ready Markdown. It strips navigation, ads, and scripts, then preserves headings, lists, tables, code blocks (with language hints), and image alt text. The result is compact, token-efficient Markdown that you can drop straight into a vector store, RAG pipeline, or AI agent context window.

Use it to feed live web content into LLMs without writing custom scrapers, to migrate legacy HTML docs into static site generators, or to archive articles as portable Markdown files.

Features

  • LLM-ready output
    Compact, token-efficient Markdown for RAG and agents.
  • GitHub-flavored Markdown
    Tables, task lists, strikethrough, fenced code.
  • Code language hints
    Detected language is added to fenced code blocks.
  • Images with alt text
    Image URLs preserved with alt text for accessibility.
  • Heading hierarchy
    H1–H6 structure preserved for chunking.
  • Frontmatter support
    Optional YAML frontmatter with title, author, date.
  • JS rendering
    Renders SPAs before conversion.
  • Bulk conversion
    Paste a list of URLs and convert them in one run.

Use cases

  • Feed live web content into LLMs for RAG and AI agents
  • Build token-efficient context for ChatGPT, Claude, and Gemini
  • Migrate legacy HTML documentation to static site generators
  • Archive articles as portable Markdown for offline reading
  • Import web content into headless CMS platforms that use Markdown

Use it from Claude or ChatGPT

Connect the Agenty MCP server to Claude, ChatGPT, Gemini, Cursor or VS Code and ask for it in plain language. The assistant picks the Agenty tool it needs, usually get_page_markdown, and runs it in the same browser as this page. Paste a few URLs and it works through them in one go. Claude gets clean Markdown without navigation, footers or scripts, which uses far fewer tokens than raw HTML.

Prompts to try:

  • Read these 4 product pages as Markdown and summarise each one in a single line: https://scrapingsandbox.com/product/1, https://scrapingsandbox.com/product/2, https://scrapingsandbox.com/product/3, https://scrapingsandbox.com/product/4
  • Convert https://scrapingsandbox.com/data-table to Markdown so I can paste the first rows into my notes.
Claude reading four scrapingsandbox.com product pages as Markdown with the Agenty MCP server and summarising each product in one line
Convert a web page to LLM-ready Markdown with cURLbash
curl -X POST https://api.agenty.ai/v1/markdown \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/docs"
  }'
Convert to Markdown with absolute links and no external linksbash
curl -X POST https://api.agenty.ai/v1/markdown \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/blog/post",
    "relativeToAbsoluteLinks": true,
    "removeExternalLinks": true
  }'
Fetch LLM-ready Markdown in Node.js and send it to an LLMjavascript
// 1. Convert the page to Markdown
const res = await fetch('https://api.agenty.ai/v1/markdown', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ url: 'https://example.com/docs' }),
});
const { result: markdown } = await res.json();

// 2. Feed it straight into an LLM as context
const answer = await openai.chat.completions.create({
  model: 'gpt-4o-mini',
  messages: [
    { role: 'system', content: 'Answer questions using the provided docs.' },
    { role: 'user', content: `Docs:\n\n${markdown}\n\nQuestion: What does this page describe?` },
  ],
});
Convert a URL to Markdown in Python for a RAG pipelinepython
import requests

res = requests.post(
    "https://api.agenty.ai/v1/markdown",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"url": "https://example.com/docs"},
)
markdown = res.json()["result"]

# Chunk and embed for your vector store
chunks = markdown.split("\n## ")
print(f"{len(chunks)} chunks ready for embedding")

How Agenty compares

FeatureAgentyMarkDropHtml2MarkdownTurndown
URL to Markdown (hosted API)YesNoLibrary onlyLibrary only
LLM-ready outputYesPartialNoNo
Table supportYes (GFM)YesLimitedPlugin
Code language detectionYesNoNoNo
Frontmatter supportYesNoNoNo
Free tierYesYesOpen sourceOpen source

Frequently asked questions

What is the HTML to Markdown API?

The Agenty Markdown API converts any web page into clean, LLM-ready Markdown. It preserves structure (headings, lists, tables), keeps code blocks with language hints, and retains image references — so the output works in both RAG pipelines and static site generators. See the API reference for all options.

How do I convert multiple URLs to Markdown at once?

Paste your URLs into the bulk converter at the top of this page, one per line, and click Convert to Markdown. When it finishes, use Download all to save every page in a single Markdown file. With the API, call POST /v1/markdown once per URL. To find every URL on a site first, run the sitemap crawler.

Why is this better than raw HTML for LLMs?

Markdown is far more token-efficient than raw HTML — typically 3–5x smaller for the same article — and strips noise like <script>, ads, and inline styles. That means your LLM context window is spent on real content, not markup, which improves both cost and answer quality in RAG and agent workflows.

Does it support tables?

Yes. HTML tables are converted to GitHub-flavored Markdown tables. Complex tables with colspan or rowspan are flattened into simple aligned tables.

Can I include YAML frontmatter?

Yes. Pass a frontmatter array with field names like "title", "author", "date", and the API prepends YAML frontmatter to the Markdown output — ready for Hugo, Astro, Next.js, or Jekyll.

Is there a free tier?

You can convert 5 pages without an account. All new accounts include a free tier on top of that. See our pricing page for limits. Have PDFs instead of web pages? Use PDF to Markdown.

Can I use this tool from Claude or ChatGPT?

Yes. Add https://api.agenty.ai/mcp as a connector in your AI app, sign in to Agenty, and ask in plain language. The assistant usually runs get_page_markdown for you. See the MCP setup guide for each app.

API pricing

Pay only for successful requests

API calls use the same monthly credits as your agents. JavaScript pages cost 5 credits.

Compare all plans

Included in every plan

$29 /month

  • 200,000 credits monthly
  • Only successful requests billed
  • Credits shared with your agents

Credits per request

/v1/scrape
5
/v1/content
5
/v1/markdown
5
/v1/links
5
/v1/screenshot
5
/v1/pdf
5
/v1/extract
10
/v1/redirects
1
/v1/sitemap
1
/v1/emails
1
Web scraping agent

Web scraping with AI

Start scraping data from any website using the Agenty's web scraping agents with AI.

  • Custom web scraping at scale
  • Real-time price monitoring
  • LLM training data curation
  • Structured JSON & CSV exports
  • Anti-bot bypass built-in
  • 99.9% uptime SLA

Get a free sample dataset from any website before you commit.