Excel Table Converter

Turn a table copied from Excel or Sheets into Markdown, HTML or CSV. Your text never leaves your browser.

How do I turn an Excel table into a Markdown table?

Paste the copied table and get Markdown, HTML or CSV.

How to use it

  1. Select the cells of the table in Excel or Google Sheets, copy them and paste above.
  2. Choose the output format (Markdown, HTML or CSV). If the first row is a header, keep "First row is a header" ticked.
  3. Copy the result into your document, README, email or web page. It updates as you change options.

Example

Say you copied this table from Excel. The results below were produced by running this tool's own function.

NameDeptPhone
KimSales010-1234-5678
LeeDev010-9876-5432

As a Markdown table it looks like this.

| Name | Dept | Phone |
| --- | --- | --- |
| Kim | Sales | 010-1234-5678 |
| Lee | Dev | 010-9876-5432 |

As CSV you get 3 lines starting with Name,Dept,Phone. As HTML you get a <table> split into <thead> (header row) and <tbody> (data rows).

What it is for

Things to watch

How this tool calculates

Worked example

Paste a header row "Name, Dept, Phone" with two people below it and choose Markdown: you get the header, a --- divider and two data rows, 4 lines in all (3 rows x 3 columns). Choose CSV and you get 3 lines starting with "Name,Dept,Phone". These values were produced by running this tool's own function.

Things to know before you use it

The full counting rules and the sources for service limits are on Methods and standards.

Frequently asked questions

How do I turn an Excel table into a Markdown table?

Select the cells in Excel, copy them, paste into the box above and choose "Markdown table". If the first row is a header, keep "First row is a header" ticked. You can paste the result straight into a GitHub README, Notion or a wiki.

Does it work with Google Sheets or Word tables?

Yes. Cells copied from Google Sheets or Word arrive tab-separated, exactly like Excel, and are read the same way. A table dragged from a web page usually arrives tab-separated too.

What happens to line breaks or | inside a cell?

When a cell has a line break, Excel wraps it in quotes on copy; the tool unwraps it and reads one cell. In Markdown a line break becomes <br> and | becomes \| so the table does not break; in CSV the cell is wrapped in double quotes.

My CSV looks garbled when opened in Excel.

The CSV made here is plain UTF-8 without a BOM. If you save it as a .csv file and double-click it, Excel may show non-English text garbled. Use "Get Data" (import) in Excel and choose UTF-8 as the file origin.

Is my table sent to a server?

No. The conversion is calculated inside this page and your table is never stored or sent anywhere.

More text tools