Online HTML Table to Markdown converter: transforms HTML table elements into Markdown table syntax for README files and documentation. Preserves alignment and structure. All processing is done locally.
TL;DR: Free online HTML table to Markdown converter that transforms table elements into Markdown table syntax while preserving structure and alignment. Perfect for READMEs and technical docs. Runs locally.
This tool runs entirely in your browser. Open DevTools → Network panel and search your input — it appears in no request.
Usage Guide
Web tables need to go into GitHub READMEs or technical docs — but HTML table tags cannot be pasted directly into Markdown. This tool parses HTML <table> into standard Markdown table syntax with pipe delimiters, preserving header semantics and handling colspan merges, all local.
1. How to use
- Inspect Element in the browser, copy the <table> HTML source, paste into the input area.
- Auto-detects headers (<th> or first row) and generates Markdown table with alignment markers.
- Copy output to your Markdown editor or .md file.
2. Alignment and format handling
- HTML align attributes convert to Markdown alignment markers (:--- left, :---: center, ---: right).
- colspan-merged cells are flattened and repeated — Markdown natively does not support cell merging.
- Inline styles (style="color:red") are not preserved — Markdown is plain text with no styling capability.
- Tables using <thead>/<tbody> get automatic header detection with separator lines.
3. Best practices for documentation
The most common scenario is migrating tables from company Wikis, Confluence or Notion to GitHub docs. After conversion: (1) check column alignment — it does not affect rendering but aligned source is easier to maintain; (2) add a table title (## Table name) and data description — Markdown tables have no caption element, so text descriptions are essential for reader understanding.
FAQ
Completely free with no registration. Conversion runs locally in your browser with no server upload.
Yes. Rows, columns, and headers are fully mapped into Markdown pipe-table syntax.
Yes. The output is GitHub Flavored Markdown compatible and renders correctly in READMEs, docs, and issues.
Related Tools
Related Articles
The Complete Guide to Table Format Conversion: Excel, CSV, JSON, Markdown, and HTML
A full walkthrough of converting between Excel, CSV, JSON, Markdown, and HTML tables: format characteristics, conversion paths, hands-on workflows, and common pitfalls — 12 free online converters in one place.
HTML Table to JSON: How to Preserve Rows, Columns and Structure
Converting an HTML table from a web page to JSON — how to keep headers, handle merged cells and nested structure? Step-by-step with our HTML table to JSON tool.
Online HTML/Markdown Converter: Convert Between Document Formats
Learn how to convert between HTML and Markdown formats. Understand Markdown syntax features and applications in documentation, blog publishing, and README creation.