Table Converter (Excel tables to Markdown, HTML, Backlog, Confluence/Jira and LaTeX, and Markdown tables back to Excel)
Completely free, with no extra charges. You may freely use the output commercially.
About this tool
Select a range in Excel or Google Sheets, copy it, and paste it here. The tool converts it to a Markdown table for GitHub or Qiita, an HTML table for web pages, Backlog notation, Confluence and Jira wiki markup, Redmine Textile, or a LaTeX tabular for papers and reports. (Backlog, Qiita and Redmine are services widely used by Japanese development teams.) It saves you from typing | by hand and from repairing tables whose columns have drifted out of line.
It also works in reverse: a Markdown table from a README or an Issue, or an HTML table from a web page, can be turned back into tab-separated text or CSV that you can paste into Excel. Line breaks inside a cell are rewritten in each format's own notation (<br>, &br;, \\), and numeric columns are right-aligned automatically. In Markdown source, full-width characters (such as Chinese, Japanese and Korean text) are counted as two columns wide so that the table stays readable as plain text. All processing happens entirely in your browser (no data is sent).
Paste a table and convert it
Preview of the parsed table
Check here that the cell boundaries were read correctly.
How to use
- In Excel or Google Sheets, select the table range including the header and copy it (Ctrl+C, or ⌘+C on a Mac).
- Clear the contents of “Table to convert” and paste. The input format is detected automatically, and the parsed table appears in the preview below.
- Choose the “Output format”, take the result out with “Copy result”, and paste it into a GitHub Issue, a Backlog ticket, a Confluence page or wherever you need it.
The default example is a sales table by city copied from Excel. The Seattle manager cell contains an in-cell line break (Alt+Enter), and Excel copies such a cell wrapped in quotes, like "Brown⏎(from April)". The tool reads a line break inside quotes as part of the same cell, so the rows do not shift. Converted to Markdown it becomes Brown<br>(from April), and because the sales and year-over-year columns contain only numbers they are right-aligned (---:).
Turning a Markdown table back into Excel
To total up a table written in a README or a GitHub Issue, paste the Markdown table as is, set “Output format” to “Tab-separated (paste into Excel)”, copy the result and paste it into cell A1 in Excel. \| is turned back into |, and <br> into a line break inside the cell. Tables copied from a web page in a browser are usually tab-separated already, so they can be pasted directly. HTML that contains <table> copied from the page source is also readable.
Press “Use result as input” to move the converted result into the input box and keep converting it to other formats.
How each format is written and what changes in conversion
- Markdown (GFM) Output follows the GitHub Flavored Markdown table syntax. A Markdown table requires a header row, so if you turn off “Use the first row as the header”, an empty header row is added.
|inside a cell becomes\|and line breaks become<br>. It can also be pasted into Qiita, Zenn, GitLab and Redmine (CommonMark Markdown). - HTML The header row becomes
<thead>and<th>, and the rest becomes<tbody>and<td>. Characters such as<and&are escaped, and right-aligned or centered columns getstyle="text-align: right". - Backlog notation The header row ends with
h, as in|City|Manager|h, and line breaks inside a cell become&br;. If your project's wiki syntax is set to Markdown, choose Markdown instead. - Confluence / Jira Headers are written as
||City||Manager||and body rows as|New York HQ|Smith|, with line breaks inside a cell as\\. An empty cell followed by another|would read as a header separator, so one space is inserted.[and{get a\so they are not read as links or macros. - Redmine (Textile) Header cells get
_.and right-aligned cells get>.. Textile tables cannot hold a line break inside a cell, so in-cell line breaks are replaced with spaces. - LaTeX Output uses the
tabularenvironment with column alignment such as{llrr}. Characters such as&,%,_and$are escaped. Tables containing Japanese, Chinese or Korean text must be compiled with an engine that supports them, such as upLaTeX or LuaLaTeX. - Tab-separated and CSV Cells that contain line breaks, tabs or
"are wrapped in", and each inner"is doubled. Saved files are UTF-8 with a BOM so that they open in Excel without garbled text.
In Backlog and Redmine (Textile), a | inside a cell would be read as a column separator, so it is replaced with a full-width |. Whenever a replacement is made or merged cells are split, the tool lists what it changed below the result.
When the conversion does not look right
- Columns are shifted If an Excel table has numbers with commas (such as 12,480), a single-column table without tabs may be mistaken for CSV. Set “Input format” to “Tab-separated”.
- Merged cells When an Excel merged cell is copied, only the top-left cell holds the value and the rest are empty. HTML
colspanandrowspanare likewise split into empty cells, because Markdown, Backlog and similar formats have no syntax for merging cells. - Number display Excel passes values as they are displayed in the cell (thousands separators, %, rounded decimals). If you need the original precision, change the number format in Excel before copying.
- Formatting Bold, colors, links and other formatting are not carried over; only the text of each cell is converted.