Wall of Tools

Table to Markdown or HTML: Paste Cells From Excel, Get a Table

Paste cells from Excel or Google Sheets and get a tidy Markdown, HTML or plain text table with aligned columns. Paste a Markdown table to turn it back into cells.

  • Runs in your browser, nothing is uploaded
  • Free, no sign-up
  • 25 automated checks

Turn a spreadsheet table into Markdown or HTML

Notion, GitHub, Confluence, Jira, Obsidian, Slack canvases and many chat tools understand Markdown tables, but nobody wants to type the pipes and dashes by hand. Web pages, emails and content systems want an HTML table. And a table copied from a README or an AI answer often needs to go back into Excel as real cells.

Copy the cells from Excel or Google Sheets, paste them here, and the table comes out in the format you choose, with tidy, lined-up columns. It works in the other direction too: paste a Markdown table and choose Cells to get text that pastes into separate spreadsheet cells. Nothing is uploaded.

How to use it

  1. Paste your table. Cells copied from a spreadsheet, comma-separated text, or a Markdown table all work; the tool recognises which one it is.
  2. Pick the output. Markdown for GitHub, Notion, Obsidian and chat tools. HTML for web pages and email templates. Plain text for a fixed-width table that lines up in emails, code comments and terminals. Cells to paste back into Excel or Google Sheets.
  3. Set the alignment. Columns of numbers are right-aligned automatically, so they are easy to compare. Click a column name under the boxes to switch it between left, centre and right.
  4. Copy the result and paste it where you need it. The preview at the bottom shows how the table will look.

Details that are taken care of

  • Pipes inside cells are escaped as \| in Markdown, so a cell such as "A | B" does not break the table.
  • HTML special characters such as <, > and & are escaped, so the table shows the text instead of being broken by it.
  • Line breaks inside a cell become <br> in Markdown and HTML, because a Markdown table row must stay on one line.
  • Ragged rows with fewer cells than the header are filled with empty cells, so every row has the same number of columns.
  • Columns line up in Markdown and plain text, even with accented letters, so the source is readable as well as the result.

Good to know

  • Formatting is not copied. Bold, colours and merged cells are not part of the pasted text, so they are not carried over.
  • Markdown tables need a header row. If your table has none, untick First row is headings and the tool adds numbered headings.
  • Nothing is stored. The table is converted in this page.

How this tool was tested

Before publishing, I ran 25 automated checks on the finished page in Microsoft Edge, which is built on Chromium like Chrome. Last full run: 15 November 2026.

  • Reading: cells copied from a spreadsheet, CSV with quotes, and Markdown tables with alignment and escaped pipes.
  • Writing: Markdown with lined-up columns and right-aligned numbers, HTML with special characters escaped, the plain text box table, line breaks inside cells, ragged rows and tables without a header row.
  • 300 random tables containing pipes, ampersands, angle brackets and accented letters were written as Markdown and as cells and read back. The cells came back unchanged every time.
  • Accented letters line up in the Markdown source, and the HTML table holds the right text when a browser reads it.
  • Using the tool: the sample, changing a column's alignment, every output, the note for ragged rows and HTML shown as text in the preview.

What the tests did not cover: Safari and Firefox were not tested, and the Markdown was checked by reading it back, not in each app (GitHub, Notion and so on). Something not working? Tell me on the contact page.

FAQ

Does it work with Google Docs tables?

Copy the table from Google Docs and paste it here; the cells arrive separated by tabs, like a spreadsheet.

Can I convert a Markdown table back to Excel?

Yes. Paste the Markdown table, choose Cells, copy, and paste into Excel or Google Sheets.

Why are some columns right-aligned?

Columns where every value is a number are right-aligned so the digits line up. Click the column name to change it.

Published 16 November 2026