Free tool · for LLMs, notes and docs

URL to markdown

Enter a URL and get the main content of the page as markdown: headings, lists, links, tables and code blocks, without navigation, ads and cookie banners. The page is rendered in a real browser first, so text that JavaScript builds is included.

The page is rendered in a real browser (Chromium) with cookie banners and ads blocked, then converted. Usually takes a few seconds; pages that need more than about 12 seconds are stopped.

What the markdown contains

  • Headings, paragraphs and lists, including nested lists.
  • Links and images with absolute URLs, so they still work outside the page.
  • Tables as GitHub-flavored markdown tables.
  • Code blocks as fenced blocks, with the language when the page marks it (language-* classes).

Cookie banners and ads are blocked before the conversion, and hidden elements are left out.

Main content or the whole page

With Main content only (the default), you get the article of the page without navigation, sidebars, header and footer, starting with the page’s main heading. When no clear article is found, or the article detection would lose tables or code blocks, the main region of the page is converted instead. Untick it to convert the whole page body.

What people use it for

UseWhy markdown
Context for ChatGPT, Claude and other LLMsThe text and structure of a page without the HTML around it
RAG and search indexesText with headings that splits into chunks for embedding
Notes and knowledge basesPaste into Obsidian, Notion or a wiki, with links and tables as markdown
Documentation migrationMove pages from an old CMS into a docs-as-code repository

Limits

LimitValue
Time per pageabout 12 seconds to load and convert the page; slower pages are stopped
Page sizevery large pages are refused: more than about 2 million characters of HTML, or too much memory to convert
Pages you can openpublic http and https pages; no logins, no private network addresses

Convert URLs to markdown automatically

The screenshotbase API does the same from your code: one GET request with format=markdown returns the markdown as text, or with response_type=json as JSON with the page’s title and description. AI agents can use it through the MCP server, where the take tool returns markdown as text. See the URL to markdown API.

Frequently asked questions

How do I convert a URL to markdown?

Paste the address of the page into the field and click Convert to markdown. The page is opened in a browser on our servers, its main content is converted, and after a few seconds you can copy the markdown or download it as a .md file.

What is left out of the markdown?

With Main content only, navigation, sidebars, headers, footers and banners. Always left out: scripts, styles, form controls, embedded media, hidden elements, tracking pixels and consent dialogs. Content inside iframes and shadow DOM is not included.

Why is part of the page missing?

Main content only keeps the article of the page. If it picks too little, untick it to convert the whole page. Pages behind a login cannot be converted, and content inside iframes is not included.

Is the markdown stored?

No. The markdown is sent to your browser and not stored on our servers. Copy or download it before you leave the page.

Why use markdown for LLMs?

Markdown keeps the structure of a page, its headings, lists, tables and code blocks, without the HTML markup around them. That makes it a common format for giving web pages to language models and for retrieval (RAG) pipelines.

How many pages can I convert for free?

The free tools allow 5 requests an hour and 30 a day per visitor, shared with our other free tools. For more, use the API: the free plan includes 300 requests a month, and each conversion counts as one.

Markdown API

Convert web pages to markdown from your code

GET /v1/take with format=markdown renders the page in a real browser and returns its content as markdown, as text or as JSON with the title and description. For LLM pipelines, search indexes and AI agents.

/v1/take documentation URL to markdown API All documentation

300 free requests every month, and each conversion counts as one. No credit card required.

GET https://api.screenshotbase.com/v1/take?url=https://example.com&format=markdown

curl -G "https://api.screenshotbase.com/v1/take" \
  --data-urlencode "url=https://example.com" \
  -d format=markdown \
  -H "apikey: YOUR-API-KEY"

# Response: the markdown (text/markdown), shortened

# Example Domain

This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.

…

[Learn more](https://iana.org/help/example-domains)

More free tools

Start using our Screenshot API for free today!

Get 300 requests / month for free