Transform raw HTML into structured Markdown without installing additional software. Paste the source code from any web page—accessible via your browser's "View Source" feature—to convert headings, paragraphs, lists, links, images, code blocks, and tables into standard Markdown syntax. Use the toggle options to preserve or strip hyperlinks, image references, and code formatting. The conversion runs locally using JavaScript, ensuring your HTML never leaves your device.
Right-click anywhere on the page and select "View Page Source" (Chrome/Firefox) or "View Source" (Safari/Edge). A new tab will open displaying the raw HTML. Press Ctrl+A (Windows) or Cmd+A (Mac) to select the entire content, then copy and paste it into the input field above.
The following elements are supported:
<h1>–<h6> tags correspond to #–######<p> tags are converted into text separated by blank lines<a href="url">text</a> becomes [text](url)<img src="url" alt="text"> becomes <ol>) and unordered (<ul>) lists are supported<code> is used for inline spans, while <pre><code> creates fenced blocks<blockquote> maps to > lines[text](url) format. When disabled, links are converted to plain text.. When disabled, images are removed from the output.<code> and <pre> elements are wrapped in backticks. When disabled, code formatting is stripped, leaving only the text content.Webpage source code often contains navigation bars, sidebars, advertisements, and scripts that are not part of the main article. This converter extracts semantic elements—like headings and paragraphs—but ignores all CSS styling. For a cleaner result, use your browser's Reader Mode before copying the source, or paste only the specific HTML section that contains the article.
Yes. The converter automatically skips <style>, <script>, and <link> tags because Markdown does not support CSS or JavaScript. Inline style attributes are also ignored to ensure the output contains only structural content.
Standard HTML tables are converted into Markdown pipe tables using | delimiters and a --- separator row. Tables that utilize colspan, rowspan, or nested structures may require manual adjustments after the conversion.
No. The conversion process happens entirely within your browser using client-side JavaScript. Your HTML input is never uploaded or transmitted to any external server.
Markdown is the standard format for documentation on platforms like GitHub, GitLab, Reddit, and Stack Overflow. Converting HTML to Markdown allows you to archive web articles as plain text, migrate blog posts between platforms, or create README files from existing web content without retyping everything manually.
Malformed markup or complex, deeply nested layouts can occasionally produce imperfect results. If this happens, try running the source through an HTML Formatter first to correct structural errors. For large pages, it is often more effective to copy only the relevant HTML section—such as the <div> wrapping the main article—rather than the full page source.