# HTML to Markdown converter

Convert HTML to readable Markdown. Scripts, styles and unsafe links are removed.

Canonical page: https://aismarty.com/tools/convert-html-to-markdown

## Purpose

Convert HTML you already have into Markdown. Paste a snippet or a full page and the tool keeps headings, lists, links, emphasis and tables.

## How to use this tool

1. Paste your content or open a file from your device.
2. Choose Convert to Markdown. Conversion happens in your browser.
3. Review the Markdown, then copy or download it.

## Example inputs

- HTML: <h2>Opening hours</h2>
<p>We are open <strong>Monday to Saturday</strong>.</p>
<ul><li>Weekdays: 9am to 6pm</li><li>Saturday: 10am to 4pm</li></ul>
<p><a href="https://example.com/book">Book online</a></p>

## Limits and what to check

The conversion runs entirely in your browser and nothing is uploaded. Input is limited to 500,000 characters. Scripts and styles are not carried over, and unusual markup may be simplified, so read the result before you use it.

## Frequently asked questions

### Is the HTML run or loaded?

No. The HTML is read as text. Scripts never run, images and styles are not loaded, and links with unsafe schemes are kept as plain text.

### Is my HTML sent to a server?

No. The HTML is converted in your browser and nothing is sent to AI Smarty. Input is limited to 500,000 characters.

### Which HTML elements are converted?

Headings, paragraphs, lists, links, emphasis, code blocks and tables. Scripts, styles and forms are not carried over.

### Can I convert a whole page I saved?

Yes. Open a saved .html file or paste the full source. Navigation and footer text are included, so remove what you do not need.

## Related tools

- [Rich text to Markdown converter](https://aismarty.com/tools/rich-text-to-markdown)
- [RTF to Markdown converter](https://aismarty.com/tools/convert-rtf-to-markdown)
- [CSV to Markdown converter](https://aismarty.com/tools/convert-csv-to-markdown)
- [All tools](https://aismarty.com/tools)
