πŸ“‹ HTML Table to Markdown

εΉΏε‘Šδ½ι’„η•™οΌˆι‘Άιƒ¨οΌ‰

πŸ“ Paste HTML Table Code

πŸ“₯ HTML InputPaste HTML with <table> tags
πŸ“€ Markdown Output
εΉΏε‘Šδ½ι’„η•™οΌˆεΊ•ιƒ¨οΌ‰

πŸ“– How to Use

Paste HTML table code into the input area, select alignment, and click Convert. The tool automatically extracts all table elements, headers (th), cells (td), handles rowspan and colspan, and generates GitHub Flavored Markdown tables.

⚑ How It Works

This tool uses DOMParser to parse HTML, traverses all table elements, extracts row and column data, and generates GFM-compatible Markdown tables. It supports thead/tbody/tfoot differentiation, align attributes, and merged cells.

❓ FAQ

❓ Is HTML Table to Markdown free?
Yes, it's completely free to use. No registration or login required.
❓ What HTML table features are supported?
The tool recognizes thead, tbody, th, td, rowspan, colspan, and align attributes. Merged cells are handled automatically.
❓ Can I convert multiple tables at once?
Yes. If your HTML contains multiple table elements, each will be converted separately and separated by a divider.
❓ Is the output compatible with all Markdown editors?
Yes, the output follows GitHub Flavored Markdown (GFM) standard, compatible with GitHub, GitLab, Typora, and most Markdown editors.
❓ Can I customize alignment?
Yes. Choose default alignment (left, center, right) before conversion. If HTML cells have align attributes, those take priority.
βœ… Copied to clipboard