# Free URL to Markdown converter

> Convert any public web page to clean Markdown in your browser, free and without sign-up. When a page can’t be read, you get the reason.

The page: /tools/url-to-markdown/

## What is Octocrawl’s URL to Markdown converter?

A free tool from Octocrawl that turns a public web page into clean Markdown: it keeps the page’s headings, lists, tables and links, and leaves out menus, scripts and styling, so a model reads the content in fewer tokens than the raw HTML. Use it here in your browser without signing up, five pages a day, or give the same conversion to your AI agent or script.

## The same conversion, from your own tools.

**REST API.** Hosted, no key for 20 pages a day; a free account’s key for 500 credits a month. [Make your first call](/docs/scrape/#first-call)

```bash
curl https://api.octocrawl.dev/v1/scrape -H 'content-type: application/json' -d '{"url":"https://example.com","formats":["markdown"]}'
```

**MCP.** Claude Code, Cursor, Codex and OpenCode read pages through Octocrawl’s tools. [Connect MCP](/docs/connect-mcp/)

```bash
claude mcp add --transport http octocrawl https://mcp.octocrawl.dev/mcp
```

**CLI.** On your own computer, with no daily limit, plus crawl and batch. [Advanced reference](/docs/reference/)

```bash
npx octocrawl scrape https://example.com --markdown
```

## From a link to clean Markdown.

1. **Paste a public URL**: Any page anyone can open without signing in: an article, documentation, a product page, a PDF. Five a day, no account.
2. **Octocrawl checks, then reads**: It reads the site’s robots.txt first, then fetches the page over HTTP and keeps its main content, leaving out menus, headers and footers.
3. **Take the Markdown**: Read it rendered or as source, copy it, or download it as a `.md` file. Page info shows the final URL and what the page says about itself.

## Keep the structure your workflow needs.

It keeps a page’s headings, paragraphs, lists, tables and links, and drops the markup, scripts and styling around them.

- **AI agents and RAG**: Keep headings, links and tables for a model or retrieval pipeline. Check token use with your model’s tokenizer. Headings give natural places to split it into chunks. See [web scraping for RAG](/blog/web-scraping-for-rag/).
- **Notes and archives**: Keep a readable copy of an article or a doc page in Obsidian, Notion or a Git repository.
- **Moving content**: Bring pages from an old site or a wiki into a static site generator or a new docs tool.

## An empty file is not an answer.

Review the result state and the returned content before using it. A page read is not proof that your task is complete.

- **robots.txt disallows it**: It stops before fetching and says the site’s rules don’t allow it. If robots.txt can’t be reached at all, it stops too, and says that instead.
- **The site blocks the request**: Recognized verification pages, CAPTCHAs and block pages are reported as blocked. Inspect the output: an unrecognized block or wrong region can still need review.
- **The page needs a login**: These tools don’t sign in. A login wall can leave blocked or incomplete content. With authorization, Octocrawl on your own computer can use your signed-in Chrome.
- **It is drawn by JavaScript**: These tools don’t run scripts, so the result can be incomplete or empty. Check the returned content. For eligible pages, an account’s hosted API can use the browser lane.

## Questions

### Is it free? Do I need an account?

Yes, and no. You get five conversions a day without signing up, the same allowance as the preview on the home page (with at most 150 a day for the whole site); it resets at 00:00 UTC. With a free account you get 500 credits a month for the hosted API and MCP, and Octocrawl on your own computer has no limit.

### Does it work on pages that need JavaScript?

This page reads a page over HTTP and does not run its JavaScript, so a page that draws its content in the browser can come back incomplete, and the result says so. With an account, the hosted API reads such pages in a browser (5 credits a page), and Octocrawl on your own computer can use your own Chrome.

### Are tables and links kept?

Yes. Tables come through as Markdown (GFM) tables, and links keep their addresses. Tables used only to lay out a page aren’t kept as tables, and images stay as Markdown image links; they aren’t downloaded.

### Does it respect robots.txt?

Yes. It reads the site’s robots.txt before fetching the page, and stops if the page is disallowed, or if robots.txt can’t be reached at all (a server error or no answer); the result then says which. A robots.txt that answers 404 counts as no rules. It never signs in, solves a CAPTCHA or gets past a verification page.

### How big a page can it convert?

Pages up to 2 MiB and files such as PDFs up to 5 MiB, and it stops after 40 seconds. A very long page returns its first 1,000,000 characters of Markdown, and the result tells you when that happened.

### Can I convert many URLs, or call it from code?

This page converts one URL at a time. For many pages, call the hosted API (`https://api.octocrawl.dev/v1/scrape`) or the MCP server from your agent, or run `npx octocrawl serve` on your own computer, which also crawls a site and reads up to 1,000 URLs in a batch.

### Do you keep the pages I convert?

No. Your results live in this page and are gone when you leave it. Each conversion logs its state and the host of the page, never its path, as the [privacy page](/docs/privacy/) says.

More free tools: [Website to Text](/tools/website-to-text/), [Link Extractor](/tools/link-extractor/), [all free tools](/tools/).
