Free tools / HTML table to Markdown
HTML table to Markdown
Paste HTML that contains a table, or copy a table straight from a web page, and get a clean Markdown table. Merged cells are expanded and footnote markers are removed.
Preview as a table
Is there personal data in what you are about to paste into an AI chat? Scrub it first, also in your browser.
How it works
Paste the HTML
Paste the source of the table, or select the table on a web page, copy it and paste it here.
Check the result
Open the preview to see how rowspan and colspan were expanded.
Copy the Markdown
Copy the table or switch to CSV or JSON.
Questions
Can I paste a table copied from a website?
Yes. Select the table on the page, copy it and paste it here. Your browser puts the HTML of the table on the clipboard and the converter reads that.
What happens with colspan and rowspan?
Merged cells are expanded so every row has the same number of columns, which is what a Markdown table needs. The value is repeated in each position.
There are several tables in my HTML.
The largest table is converted. To convert another one, paste only that table.
Is my data uploaded?
No. The conversion runs in JavaScript on this page, on your own computer. There is no account and nothing you paste is sent to a server. Once the page has loaded it keeps working without an internet connection.
More free tools
- Table converter: Any table in, Markdown, CSV, JSON or HTML out.
- Excel to Markdown: Copy cells in Excel or Sheets, get a Markdown table.
- CSV to Markdown: CSV with commas, semicolons or tabs to a Markdown table.
- Markdown table to Excel: Turn a table from an AI answer into spreadsheet cells.
- CSV to JSON: One JSON object per row, numbers as numbers.
- HTML to Markdown: HTML or a copied piece of a web page to clean Markdown.
- Word and Google Docs to Markdown: Paste formatted text, get Markdown with headings and lists.
- Scrub online: hide emails, phone numbers, IBANs and API keys in text before you paste it into an AI chat.
Copy tables without the mess
Tables for AI copies any web table as Markdown for AI chats, or as CSV, TSV, JSON and Excel. Merged cells, footnotes and hidden rows are handled for you. Free, no account.