HTML→Markdown

Export Knowledge Base to Markdown

Enterprise knowledge bases like Confluence, Notion, SharePoint, and MediaWiki let you export content as HTML. That HTML comes cluttered with platform-specific markup, inline styles, and wrapper elements that make it hard to reuse anywhere else.

This tool converts those exports into clean, portable Markdown for AI assistants, static site generators, Obsidian vaults, or version-controlled documentation.

The export-to-Markdown problem

When you export from a knowledge base platform, you usually get one of these:

  • Confluence: HTML export with deeply nested <div> soup, platform CSS classes, and macro containers
  • Notion: HTML files with block-level wrappers, inline database embeds, and Notion-specific data attributes
  • SharePoint: Word-like HTML with mso-* styles, XML namespaces, and conditional comments
  • MediaWiki: HTML rendering with template output, category links, and navigation frames

The density algorithm handles all of these the same way. It doesn't parse platform-specific markup; it finds where the content sits and extracts that.

How it works

  1. Export from your platform: use the built-in HTML export (Confluence Space Export, Notion Export as HTML, and so on)
  2. Upload the ZIP: most platforms already export as a ZIP, so drop it straight onto the converter
  3. Download Markdown: each page becomes a .md file that keeps its headings, lists, tables, and code blocks

What's preserved

  • Heading hierarchy (h1 to h6 becomes # to ######)
  • Tables (converted to GFM pipe tables)
  • Code blocks with language hints where available
  • Ordered and unordered lists (including nested)
  • Bold, italic, and strikethrough formatting
  • Links (href preserved as inline Markdown links)

What's stripped

  • Platform navigation and breadcrumbs
  • Sidebar menus and table-of-contents widgets
  • Inline styles and CSS classes
  • Script tags and interactive elements
  • Cookie banners and notification bars
  • Comment sections and metadata blocks

What people use it for

  • Feed to AI: load your team's knowledge base into ChatGPT, Claude, or a custom RAG system
  • Migrate platforms: move from Confluence to a Git-based docs system (MkDocs, Docusaurus, GitBook)
  • Create an Obsidian vault: import your wiki into Obsidian for personal knowledge management
  • Archive: keep a portable, version-controllable copy of your documentation

Privacy

Your knowledge base content never leaves your device. The browser does the conversion through WebAssembly, with nothing uploaded or stored. Safe for internal and confidential documentation.

Related