Table to Markdown from any app
Copy a table from a web page, a spreadsheet, Word or Notion and paste it here: table to markdown in one step, with the columns lined up.
How to convert a table to markdown from anywhere
Writing a markdown table by hand is slow: every row needs pipes in the right places and a separator line under the header. Copying is faster. Most apps put two versions of a table on the clipboard when you copy it: a rich HTML version and a plain text version. This tool reads the HTML first, so an HTML table to markdown conversion keeps every row and column exactly as it was on the page. Cells that span several columns are expanded with empty cells, so the result stays a proper grid.
When there is no HTML, the plain text is used. Tab-separated cells from Excel or Google Sheets, comma-separated text and an existing pipe table are all recognised, and as a last resort columns are split on runs of two or more spaces. That last case covers many tables copied out of a PDF or a terminal, though you may want to check the columns afterwards.
Only the cell text is kept. Links, bold, colours, images and cell borders are dropped so the table to markdown result stays short and readable, and pipe characters inside cells are escaped. You choose whether the first row is a header and how columns align: numbers right, or everything left, centred or right. Need to change a cell, add a row or sort the table? Open the result in the markdown table generator, or copy it and paste it wherever you write markdown. Nothing you paste leaves your browser.
Why use this Table to Markdown tool
Works with any source
HTML tables from web pages, cells from Excel and Google Sheets, Word and Notion tables.
Merged cells handled
Cells spanning several columns are expanded so the table stays rectangular.
Clean output
Padded columns and right-aligned numbers.
How to convert a table to Markdown
- Copy a table from any app or page.
- Click the paste box and press Ctrl V.
- Copy the markdown table.
Common uses for Table to Markdown
- Copy a comparison or pricing table from a website into your notes or a research document, with the columns kept in order.
- Move a range of cells from Excel or Google Sheets into a GitHub issue or pull request, without saving a file first.
- Convert a table from a Word report or a Google Doc into markdown documentation that lives next to your code.
- Take a table out of Notion or Confluence for a README, a wiki or a static site when you move your documentation.
- Rescue a table from a PDF by selecting it in your PDF reader and pasting it here; for the whole document try PDF to Markdown.
- Clean up a messy, badly aligned pipe table you were sent in a chat or an email by pasting it back in and copying the tidy version.
Frequently asked questions
Can I edit the table first?
Yes, open it in the table generator.
Does it keep links inside cells?
Only the text is kept, so the table stays simple.
What about CSV files?
Use CSV to Markdown.
Does table to markdown work on a phone?
Yes, as long as your phone's browser or app can copy a table. Tap the paste box, choose Paste, and the markdown appears. It is free, with no sign-up or app to install.
Is the pasted table uploaded?
No. The clipboard is read in your browser and nothing is sent to a server, so tables with salaries, customer names or internal figures stay private. Press Clear to empty the paste box when you are done.
How do I convert a whole web page?
Use HTML to Markdown or URL to Markdown to keep the text, headings and links as well as the tables.
Open editor