About this tool
Paste Excel, CSV or Markdown tables, edit cells in a grid, add or remove rows and columns, set alignment, and generate a Markdown table or export CSV. Great for READMEs, docs and blogs.
Typical uses
- Turn Excel data into a Markdown table for a README
- Edit an existing Markdown table
- Quickly create aligned tables for documentation
How to use
Paste Excel TSV, CSV or a Markdown table, or import a UTF-8 text file and choose whether the first row is a header.
Edit headers and cells, add or remove rows and columns, choose alignment, then preview and copy or download Markdown or CSV.
Copy rows and headers from Excel, import as TSV, right-align numeric columns and copy the Markdown. Pipes and line breaks in cells are handled automatically.
Up to 200 data rows, 30 columns and 2000 cells including headers; 1 MB input and 2 MB output. Plain text is escaped for Markdown/HTML, with line breaks written as <br>. Markdown import preserves displayed text rather than emphasis or link formatting. CSV protects formula-like text.
Produces safe plain-text table cells without executing HTML. Import preserves displayed text rather than original Markdown syntax or styles. CSV export protects formula-like content.
What the generated Markdown looks like
The tool writes GitHub Flavored Markdown (GFM) tables: every line starts with “| ” and ends with “ |”, cells are separated by “ | ”, and the second line is the delimiter row that carries the alignment. Here is the complete export of a three-column table with the city left-aligned, the population right-aligned and the notes centred:
| Exported line |
|---|
| | City | Population | Notes | |
| | :--- | ---: | :---: | |
| | Leeds | 536,280 | West Yorkshire | UK | |
| | Austin | 974,447 | **state capital** | |
Two things to notice. First, cells are not padded with spaces to line the columns up in the source, and wide CJK characters are not padded by display width either. Renderers such as GitHub, GitLab or Typora lay the table out themselves, and compact rows mean that editing one cell never forces you to re-pad the whole table. Second, the pipe and the asterisks inside cells have become character references (see the next section), so “West Yorkshire | UK” stays one cell and “**state capital**” shows its asterisks instead of turning bold.
| Column header drop-down | Delimiter cell | Notes |
|---|---|---|
| Default | --- | No colon; the renderer decides, usually left. The tool’s “Live preview” also shows these columns left-aligned. |
| Left | :--- | Colon on the left. |
| Center | :---: | Colons on both sides. |
| Right | ---: | Colon on the right; useful for amounts and counts. |
How cell content is escaped
Every cell is treated as plain text: what you type is exactly what the rendered table shows, never interpreted as Markdown or HTML. The tool achieves this by replacing characters that could start syntax with HTML character references, for example | becomes |. The middle column is the tool’s real output for the cell on the left (↵ marks a line break, ␣ a space):
| Cell content | Markdown source | Why |
|---|---|---|
| A | B | A | B | A raw pipe would end the cell. |
| <b>x</b> | <b>x</b> | Tags are neither run nor rendered. |
| **bold** | **bold** | Does not turn bold. |
| [x](y) | [x](y) | Does not turn into a link. |
| ~~x~~ | ~~x~~ | Does not turn into strikethrough. |
| C:\temp | C:\temp | Colons and backslashes are escaped. |
| user@example.com | user@example.com | @ and . are escaped so renderers do not auto-link the e-mail address. |
| https://doc80.com | https://doc80.com | “:” and “.” are escaped so the URL is not auto-linked. |
| ␣␣indented␣ |   indented  | Edge spaces become  , otherwise the table syntax trims them. |
| Tom & Jerry | Tom & Jerry | & is written as &. |
| © | &copy; | An existing entity stays visible as “©” instead of becoming ©. |
| Line 1↵Line 2 | Line 1<br>Line 2 | Line breaks become <br>, the only line break GFM tables allow. |
| # h | # h | # has no meaning inside a cell, so it is left alone. |
| +1 | +1 | +, - and = are not escaped here; only the CSV export treats them. |
The escaped source is harder to read by eye, but it imports back cleanly: paste the exported Markdown into the tool, choose “Markdown / GFM”, and you get exactly the same headers, cells and alignments. If you want a link or bold text to work inside a cell, edit the source after exporting, or write that table by hand in a Markdown editor.
Rules for importing Markdown, Excel and CSV
In “Paste / import a table”, with “Input format” set to Markdown / GFM, the tool accepts exactly one complete table. The GFM spec says that a body row with fewer cells than the header gets empty cells, and that extra cells are ignored. The tool is stricter about extra cells and refuses the import, so nothing is dropped silently. Real results (¦ separates cells, / separates rows):
| Pasted text | Imported table | Notes |
|---|---|---|
| | a | b |↵|---|:-:|↵| **x** [link](https://e.com) `c` | y<br>z |↵| only | | a ¦ b / x link c ¦ y↵z / only ¦ ∅ | Bold, links and inline code keep only their display text; <br> becomes a line break again; the short second row is padded; the centre alignment is read. |
| | a | b |↵|---|---|↵| 1 \| x | 2 | | a ¦ b / 1 | x ¦ 2 | An escaped \| becomes an ordinary pipe. |
| | a | <b>x</b> < |↵|---|---|↵|  | ~~d~~ | | a ¦ <b>x</b> < / alt ¦ d | HTML tags stay as text and < decodes to <; an image gives its alt text; strikethrough is dropped. |
| | a | b |↵|---|---|↵| 1 | 2 | 3 | | “A Markdown row has more cells than its header. Import was cancelled to avoid losing data. Add headers or escape | inside cells.” | The third cell has no header. |
| Intro↵↵| a |↵|---|↵| 1 | | “Paste exactly one complete GFM table with a header and --- separator row, without code fences or surrounding text.” | No paragraphs before or after the table, and no code fence. |
Cells copied from Excel arrive tab-separated (TSV). When a cell contains a line break, Excel wraps it in double quotes, and the tool reads it back as one cell with a line break. Short rows are padded at the end. With “First row is the header” unticked, headers are named Column 1, Column 2 and so on:
| Pasted text | Imported table | Notes |
|---|---|---|
| Name⇥City↵"Line1↵Line2"⇥Tokyo↵Only↵ | Name ¦ City / Line1↵Line2 ¦ Tokyo / Only ¦ ∅ | The quoted line break is kept; the “Only” row gets an empty City. |
| a,b↵1,2↵ | Column 1 ¦ Column 2 / a ¦ b / 1 ¦ 2 | The first line becomes data. |
| a;b↵"1,5";2 | a ¦ b / 1,5 ¦ 2 | With “CSV (;)”, the comma inside quotes is just a decimal comma. |
| a,"b↵1,2 | “Invalid CSV / TSV quoting. Check the quotes and delimiter.” | The quote is never closed. |
Every import is a “Replace current table” step and goes into the undo history, which keeps 20 steps. File import accepts .csv, .tsv, .txt, .md and .markdown in UTF-8 only; .md files are always parsed as Markdown, .tsv files as TSV.
Size limits, error messages and CSV export
Three limits apply together: at most 200 data rows, 30 columns, and 2,000 cells including the header row. The more columns a table has, the fewer rows fit:
| Columns | Most data rows | Cells incl. header |
|---|---|---|
| 1 | 200 | 201 |
| 5 | 200 | 1,005 |
| 9 | 200 | 1,809 |
| 10 | 199 | 2,000 |
| 20 | 99 | 2,000 |
| 30 | 65 | 1,980 |
| Message | When it appears |
|---|---|
| Limit: 200 data rows, 30 columns and 2,000 cells including headers. Split the table before importing. | Any limit in the table above is exceeded. Checked on import and when adding rows or columns. |
| A cell cannot exceed 10,000 characters. | One cell is longer than 10,000 characters (JavaScript string length). |
| Input or total cell text cannot exceed 1 MB. | The paste box or imported file is over 1 MB, or all cell text together is over 1 MB of UTF-8. |
| Escaped output exceeds 2 MB. Reduce the content before exporting. | The escaped Markdown or CSV is over 2 MB. Escaping makes text longer: one “|” becomes six characters. |
| The file must use UTF-8 encoding. | The imported file is not valid UTF-8, for example a CSV saved as Windows-1252 or GBK. |
| Remove NUL characters before importing; they cannot be reliably exported. | The content contains the U+0000 NUL character. |
“Download CSV” writes CSV with a UTF-8 byte order mark and CRLF line endings, so Excel opens it with the right characters. Text starting with =, +, - or @ gets a leading apostrophe so a spreadsheet will not run it as a formula; plain numbers such as -5 are left as they are. A real export (the BOM is not shown):
| CSV line |
|---|
| SKU,Formula,Delta,Owner |
| 001,'=SUM(A1:A3),-5,'@ops |
Sources
Frequently asked questions
How are line breaks in cells handled?
They are written as <br>, and special characters are escaped.
Does importing Markdown keep bold and links?
Only the displayed text is kept, not emphasis or link formatting.
Table size limits?
Up to 200 data rows, 30 columns and 2000 cells.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.