HTML to Markdown Converter
Turn rich text copied from a web page, or raw HTML, back into clean Markdown for prompts and docs.
FreeNo sign-up
Options
Input
Click into the box and press Ctrl+V. Styled content becomes paragraphs, and images and links follow the switches above.
Output
Results appear here as you type.
Turn rich text copied from a web page, or raw HTML, back into clean Markdown for prompts and docs.
Anything you copy off a web page arrives wrapped in HTML and inline styles — which burns tokens in an AI prompt and turns into a mess in a document. This tool runs turndown in your browser to rebuild clean Markdown: headings, lists, links, code and tables come back in standard syntax, and you decide whether image and link URLs survive.
How to use it
- 1Switch to "Paste rich text" and hit Ctrl+V, or use the HTML source tab if you already have markup.
- 2Toggle whether images, links and tables are kept.
- 3Copy the result, or download it as a .md file.
FAQ
Related tools
- Markdown to Social CardLay Markdown out as a Xiaohongshu, dark-geek or Apple-gradient card and export a PNG in one click.
- Markdown Table ExporterPaste Markdown containing tables, detect the columns, then export Excel, CSV or JSON.
- Markdown Text StripperStrip #, **, > and code fences down to clean prose that pastes into Word without breaking.
- Markdown to WeChat FormatterWrite Markdown on the left, preview on the right, then copy styled rich text straight into WeChat.
- Markdown TOC GeneratorScan the headings and generate an anchored table of contents so long docs become navigable.