# HTML to Markdown converter: run it free, or from your agent

Converts pasted HTML to GitHub flavoured Markdown with tables, code blocks and task lists, in your browser.

## Prompt

Use looot to turn a web page into clean Markdown for my notes. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for an endpoint that returns a page as markdown and check its price before you call. 3. Fetch [URL] as markdown. 4. Keep the main article only, drop navigation and footers. 5. Return the Markdown and the total cost.

## What it needs

HTML text or a page source

## What comes back

- Markdown text
- headings and lists
- links and images
- tables and code blocks

## Endpoints and providers

- context-dev: context-dev-web-scrape-markdown

## What it costs

Nothing. The tool on the web page runs in the visitor's browser: no account, no API call and no limit per hour. The prompt above runs the same job from your own looot account with current data, billed per call.

## Context for an LLM

Turn a page or an email template into Markdown before you paste it into a prompt. It drops the tags and keeps the structure.

## Move content to a docs site

Convert old HTML pages or a CMS export to Markdown for a static site or a README.

## Notes and wikis

Paste a copied page into Notion, Obsidian or GitHub as Markdown instead of raw HTML.

## Check what a page says

Read the text structure of a page without its layout, menus and scripts.

## How do I convert HTML to Markdown?

Paste the HTML in the left box. The Markdown updates as you type. Use Copy Markdown, or download it as a .md file named after the page title.

## Which HTML elements are converted?

Headings, paragraphs, bold, italic, strikethrough, inline code, pre blocks with their language, links with titles, images, ordered, unordered and nested lists, checkboxes as task lists, block quotes, horizontal rules, definition lists and tables.

## What happens to scripts, styles and forms?

Scripts, styles, iframes, SVG, video, buttons and select boxes are dropped with their content. With Main content only on, nav, header, footer, aside and forms are dropped too.

## Can I paste a whole web page source?

Yes. Paste the full source from view-source. With Main content only on, the converter keeps the main or article element when the page has one and drops the page chrome.

## Can I convert a URL instead of pasted HTML?

Not on this page. The website to Markdown tool linked below fetches a live URL and returns it as Markdown.

## Are tables supported?

Yes, as GitHub tables. The first row becomes the header row. Merged cells are not kept, and line breaks inside a cell become spaces.

## Are links safe?

Links keep http, https, mailto, tel and relative targets. Any other scheme, such as javascript:, is removed and only the link text stays.

## Is my HTML uploaded?

No. The conversion runs in your browser with no server call.

## Related tools

- /free-tools/website-to-markdown
- /free-tools/markdown-to-html
- /free-tools/llms-txt-generator

## Last reviewed

2026-10-16.

## Agent skill for this page

https://looot.ai/free-tools/html-to-markdown/skill.md sets an agent up for exactly the jobs on this page, with the live price of each, and offers the page's starter task once the user has picked a job and seen the price. The line to give an agent is under "Give this to your agent" below.

## For agents

### Give this to your agent

```text
set up looot for HTML to Markdown converter - https://looot.ai/free-tools/html-to-markdown/skill.md
```
