Runs onWeb Scraping API

Website to Markdown API

Convert any URL to clean Markdown for LLM ingestion, RAG pipelines and docs migration.

Get a free API key
4.9average across
G2 — 4.8 out of 5Google — 4.9 out of 5Product Hunt — 5.0 out of 5
Request
{
  "url": "example.com",
  "format": "markdown"
}
Output
Markdown
Cost
From 0.25 credits a page
Best for
RAG and docs migration
  • 500 free credits every month
  • No card to start
  • Failed requests cost nothing

Try it on your own URL

Try:
Trusted by teams at
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon

Raw HTML fights your LLM

  • Nav bars, ads and markup waste tokens and pollute context
  • Layout changes silently break brittle parsers
  • You maintain headless browsers, proxies and CAPTCHA solvers yourself

Clean Markdown

Far fewer tokens
  • Headings, lists, links and tables preserved, boilerplate stripped
  • markdown-llm strips nav and ads further for token-efficient RAG context
  • Rendering, proxies and anti-bot handled for you

There is no separate endpoint to learn. Set format: "markdown" — or "markdown-llm" — on the Web Scraping API.

Structure in, structure out.

The conversion keeps what carries meaning and drops what carries layout, so chunks land on real boundaries instead of mid-sentence.

Preserves structure

Headings, lists, links and tables convert to proper Markdown, not flattened text.

# ## - | |

LLM-ready variant

markdown-llm additionally strips navigation, ads and cookie banners, leaving the content you meant to embed.

format: "markdown-llm"

Handles JS-rendered pages

Headless Chrome renders React, Vue and Angular pages fully before the Markdown conversion runs.

renderJS

Chunks predictably

Because headings survive, your splitter can cut on sections rather than on an arbitrary character count.

RAG-ready

Several formats at once

Ask for Markdown and HTML in the same request when you need both, at the price of one.

format: ["markdown", "html"]

Same price as HTML

Markdown costs no more than raw HTML, and your credits work on every other Geekflare API too.

From 0.25 credits

How teams run Markdown in production.

Split on headings, not on a character count

Fixed-size chunking cuts mid-sentence and strands a table from its caption. Because the conversion keeps H1–H6, your splitter can cut on sections, so each chunk is a coherent idea with a heading you can cite in the answer.

  • Heading levels survive so sections are addressable
  • Tables stay with the text that introduces them
  • Cite the heading back to the user as the source
Typical request
POST /webscraping
{
  "url": "https://docs.example.com/billing",
  "format": ["markdown-llm"]
}
What the splitter sees
## Billing cycleschunk boundary
tablekept whole
inside its own section
mid-sentence cutsnone

One request, Markdown back.

quickstart.pyofficial SDK
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import WebScrapeDto

with GeekflareClient(api_key="<api-key>") as client:
    result = client.web_scrape(
        WebScrapeDto(
            url="https://example.com",
            format=["markdown"]
        )
    )
    print(result)

One API. Every stack.

One account works from an agent, a workflow builder, an SDK or your own service.

MCP server

Sign in once and Claude, ChatGPT, Cursor or Codex can use Geekflare's tools directly, with no glue code to write.

ClaudeChatGPTCursorCodexAny MCP client
Set up the MCP server

LLM & agent pipelines

LLM-ready Markdown straight into a retrieval pipeline, with the boilerplate stripped so you spend context on content, not navigation.

RAGAgentsClean MarkdownGrounded search
See the solutions

Workflow builders

Run any endpoint as a step in a visual scenario. Useful when the person who needs the data does not write code.

ZapierMaken8n
Browse integrations

SDKs & REST

First-party typed SDKs for Python and Node. Everything else talks plain REST, from any language.

PythonNode.jsPostman
Open the API reference

How many pages each plan covers.

Every format costs the same. A page is charged for what it needed, and failed requests cost nothing.

2 months free
  • Free
    $0/mo
    No card
    Credits a month
    500
    Pages without a browser0.25 credits
    2,000
    Pages with JavaScript1 credit
    500
    Pages with a premium proxy5 credits
    –
    Requests per second
    1
  • Starter
    $19/mo
    Credits a month
    20,000
    Pages without a browser0.25 credits
    80,000
    Pages with JavaScript1 credit
    20,000
    Pages with a premium proxy5 credits
    4,000
    Requests per second
    5
  • GrowthMost popular
    $69/mo
    Credits a month
    100,000
    Pages without a browser0.25 credits
    400,000
    Pages with JavaScript1 credit
    100,000
    Pages with a premium proxy5 credits
    20,000
    Requests per second
    10
  • Business 500K
    $299/mo
    Credits a month
    500,000
    Pages without a browser0.25 credits
    2,000,000
    Pages with JavaScript1 credit
    500,000
    Pages with a premium proxy5 credits
    100,000
    Requests per second
    25
  • Business 1M
    $499/mo
    Credits a month
    1,000,000
    Pages without a browser0.25 credits
    4,000,000
    Pages with JavaScript1 credit
    1,000,000
    Pages with a premium proxy5 credits
    200,000
    Requests per second
    25
Start freeCompare plans and credit packsEvery account starts free. Upgrade when you need more, or buy a credit pack from $10.

What customers say.

Read all reviews
“Found Geekflare API to get markdown from URL for my AI agents. It is fast and cheaper and works on almost every website.”
Ram DasiArchitect, PA Consulting
“After trying many scraping services, I selected Geekflare to scrape public directories. Mainly for two reasons - it is cheaper and fast.”
Vishu SharmaCTO
“Documentation was easy to follow. We were scraping dynamic pages within hours. Very reliable service.”
Marco SilvaAnalytics Engineer

Markdown, specifically.

General scraping questions are answered on the Web Scraping API page.

Open the Web Scraping API page

markdown converts the page's structure faithfully — headings, links, tables, images. markdown-llm additionally strips navigation, ads, cookie banners and other boilerplate that isn't useful context for a model.

Yes. Tables convert to Markdown table syntax, links keep their href as standard [text](url) Markdown, and heading levels H1–H6 are preserved.

Yes, that's the main reason format: "markdown-llm" exists. Boilerplate-free Markdown chunks more predictably than raw HTML and avoids spending embedding budget on layout noise.

This endpoint converts one URL per request. To convert a whole site in one job, use the Crawl API, which returns every page as Markdown at the same price per page.

Yes. The request runs through headless Chrome first, so client-side-rendered content is present before the conversion happens.

Turndown converts HTML you already have. This API also fetches the page for you, handling JavaScript rendering, proxy rotation and anti-bot challenges.

A page costs 0.25 credits when it loads without a browser, 1 credit with JavaScript and 5 credits with a premium proxy, the same as any other Web Scraping format. Asking for several formats in one request costs no more. Failed requests cost nothing.

Start extracting Markdown today.

Create a free account to test URLs in the playground and grab your API key. 500 credits a month, no card.