<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Christoph Dieck</title>
    <description>The latest articles on DEV Community by Christoph Dieck (@cdieck88).</description>
    <link>https://dev.to/cdieck88</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4073607%2F596a09f7-799c-4bbd-b0bf-fb737de650de.jpg</url>
      <title>DEV Community: Christoph Dieck</title>
      <link>https://dev.to/cdieck88</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cdieck88"/>
    <language>en</language>
    <item>
      <title>ShowDev: I built a bulk HTML-to-Markdown converter that runs entirely in the browser</title>
      <dc:creator>Christoph Dieck</dc:creator>
      <pubDate>Tue, 11 Aug 2026 18:52:10 +0000</pubDate>
      <link>https://dev.to/cdieck88/showdev-i-built-a-bulk-html-to-markdown-converter-that-runs-entirely-in-the-browser-3p3e</link>
      <guid>https://dev.to/cdieck88/showdev-i-built-a-bulk-html-to-markdown-converter-that-runs-entirely-in-the-browser-3p3e</guid>
      <description>&lt;p&gt;Most HTML-to-Markdown tools handle one file at a time. You paste some HTML, get Markdown back, repeat. That works for a quick snippet but not when you have 200+ pages from a help center export sitting in a folder.&lt;/p&gt;

&lt;p&gt;I needed exactly that. I had a full site mirror (grabbed with &lt;code&gt;wget --mirror&lt;/code&gt;) and wanted clean Markdown I could feed into an LLM knowledge base. Nothing I found could handle it without uploading files to a server or converting one by one.&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://www.html-to-markdown-ai.com" rel="noopener noreferrer"&gt;HTML to Markdown AI&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;You drop a ZIP file (or individual HTML files) into the browser&lt;/li&gt;
&lt;li&gt;A Go-based conversion pipeline compiled to WebAssembly processes everything locally&lt;/li&gt;
&lt;li&gt;You get a ZIP back with clean GitHub-Flavored Markdown, folder structure preserved&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No server involved. Your files never leave your machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  The conversion pipeline
&lt;/h2&gt;

&lt;p&gt;The heavy lifting happens in Go/WASM. The pipeline:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Strips navigation, footers, scripts, styles, and other boilerplate noise&lt;/li&gt;
&lt;li&gt;Extracts the main content from the page&lt;/li&gt;
&lt;li&gt;Converts to GFM with proper heading hierarchy, tables, code blocks, and links&lt;/li&gt;
&lt;li&gt;Handles batch processing so you can throw hundreds of files at it&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why no built-in crawler?
&lt;/h2&gt;

&lt;p&gt;Intentional decision. Downloading HTML from someone else's site has legal implications depending on jurisdiction and terms of service. I don't want to be in that business.&lt;/p&gt;

&lt;p&gt;Downloading is also the easy part:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wget &lt;span class="nt"&gt;-r&lt;/span&gt; &lt;span class="nt"&gt;-l&lt;/span&gt; 0 &lt;span class="nt"&gt;-np&lt;/span&gt; &lt;span class="nt"&gt;-k&lt;/span&gt; &lt;span class="nt"&gt;-E&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nv"&gt;robots&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;off &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--reject-regex&lt;/span&gt; &lt;span class="s1"&gt;'\.(png|jpe?g|gif|svg|webp|woff2?|ttf|css|js|zip|pdf)$'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-w&lt;/span&gt; 0.5 &lt;span class="nt"&gt;--random-wait&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  https://docs.example.com/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gives you a local folder with all the HTML. The hard and annoying part is turning that into clean, usable Markdown. That's what this tool solves.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Astro + Tailwind&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Conversion engine:&lt;/strong&gt; Go compiled to WebAssembly&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Processing:&lt;/strong&gt; Entirely client-side, zero backend&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.html-to-markdown-ai.com" rel="noopener noreferrer"&gt;https://www.html-to-markdown-ai.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Use cases I've tested it with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Help center exports (Zendesk, Confluence, custom wikis)&lt;/li&gt;
&lt;li&gt;Documentation sites mirrored with wget/httrack&lt;/li&gt;
&lt;li&gt;Scraped content for RAG pipelines&lt;/li&gt;
&lt;li&gt;Training data prep for fine-tuning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you work with LLMs and regularly need to get web content into a format they can digest, this might save you some time.&lt;/p&gt;

&lt;p&gt;Feedback welcome. What would make this more useful for your workflow?&lt;/p&gt;

</description>
      <category>go</category>
      <category>ai</category>
      <category>webassembly</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
