Markdown Comment Remover

Strip HTML-style comments from Markdown documents automatically

Removes draft blocks and comments from README files or markdown documents.

도구를 불러오는 중…

🔒 Everything runs 100% in your browser. Your files and input are never uploaded to any server.

How to use

  1. Paste your Markdown document.
  2. Configure blank line cleanups.
  3. Run remover and copy clean text.

FAQ

Does it touch code block contents?
No, it specifically deletes only HTML comment lines.
Does it correctly remove a comment that spans multiple lines (starts with <!-- and closes with --> several lines later)?
Yes, even if the opening <!-- and closing --> are several lines apart, everything in between is treated as one comment block and removed entirely. This works as long as comment blocks are sequential rather than nested — a <!-- appearing inside another unclosed comment isn't supported.
Does it correctly remove a comment that spans multiple lines (starts with <!-- and closes with --> several lines later)?
Yes, even if the opening <!-- and closing --> are several lines apart, everything in between is treated as one comment block and removed entirely. This works as long as comment blocks are sequential rather than nested — a <!-- appearing inside another unclosed comment isn't supported.

← Back to all tools

See pricingFree chat consult