# HTML to Markdown

> Convert HTML to clean Markdown in your browser. Keeps headings, lists, links, tables and code, and drops scripts and styling. Free and private.

Canonical: https://promptitin.com/free-tools/html-to-markdown
Last updated: 2026-11-13

Paste HTML or open an .html file and get tidy Markdown back, ready for ChatGPT, Claude, docs or notes.

This is an interactive tool. Use it at https://promptitin.com/free-tools/html-to-markdown.

## How to use it

1. Paste HTML source, open an .html file, or tap Try an example.
2. Choose whether to keep links and images.
3. Copy the Markdown, or download it as a .md file.

## Tips

- Markdown uses far fewer tokens than HTML, so the AI reads more of your content for the same cost.
- Turn images off when you're feeding text to an AI. Image links add tokens and little meaning.
- Scripts, styles and hidden elements are dropped for you.
- To convert a web page, open it, select the content, copy it and use Paste to Markdown.

## FAQ

### What HTML does it convert?

Headings, paragraphs, bold, italics, links, images, lists (nested ones too), tables, quotes, code blocks and dividers. Tags it doesn't know keep their text.

### Why convert HTML before giving it to an AI?

HTML is full of tags and attributes that cost tokens and distract the model. Markdown keeps the structure with almost none of the noise.

### Which Markdown does it write?

GitHub-style Markdown with pipe tables and fenced code blocks, which ChatGPT, Claude and Gemini all read well.

### Is my HTML uploaded?

No. It's converted in your browser, and nothing in it runs.

## Related

- [Paste to Markdown](https://promptitin.com/free-tools/rich-text-to-markdown)
- [JSON to Markdown](https://promptitin.com/free-tools/json-to-markdown)
- [Markdown to Plain Text](https://promptitin.com/free-tools/markdown-to-plain-text)
