PromptItIn logoPromptItIn
Convert to Markdown

HTML to Markdown converter

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

Free tool · Updated

Keep
Markdown

Paste HTML above and the Markdown shows here.

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.

Frequently asked questions

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.

Paste to MarkdownPaste formatted text from a web page, Word, an email or a doc and get Markdown with headings, bold, lists, links and tables kept. Free.JSON to MarkdownTurn JSON into readable Markdown: lists of records become tables, and nested objects become headings and lists. Free, runs in your browser.Markdown to Plain TextPaste a ChatGPT, Claude or Gemini answer and get clean plain text without asterisks, hashes or stray formatting. Free and private.

All free tools

Want a full prompt, not just keywords?

PromptItIn turns a rough idea into a clear prompt for ChatGPT, Claude, Gemini or any image model. Free to start.

Open the prompt generatorAdd to Chrome, free