The quick answer
Paste comma-separated spreadsheet text, or drop a .csv, .tsv or .txt file saved from Excel, and the converter emits a GitHub-flavored Markdown table: the first row becomes the header, the separator row is written for you, pipes inside cells are escaped, and in-cell line breaks become <br> tags. The conversion runs in your browser; nothing uploads.
What the Excel to Markdown Table Converter does
The Excel to Markdown Table Converter takes spreadsheet text in and writes a Markdown table out. There are two ways in: a file drop that accepts .csv, .tsv and .txt (the label's suggestion: in Excel, Save As → CSV), and a paste box below it for typing or pasting rows directly. One way out: an output area with a Copy result button, a Download button that saves table.md, and a preview that truncates at 20,000 characters, with the full file on the download.
The parser is an RFC 4180-style comma parser: fields split on commas, quoted fields are read whole (a comma inside quotes is data, not a delimiter), and each row becomes one Markdown row. The first row is treated as the header, the second line of the output is the separator row the syntax requires, and every body row follows. Short rows are padded with empty cells to match the widest row, so ragged input still produces a rectangular table.
The output area also tells you the one rule that matters for hostile data: pipes inside cells are escaped with a backslash, and line breaks inside cells become <br>, which is what makes the output safe to paste into GitHub-flavored Markdown anywhere.
The reliable path out of Excel
One gotcha decides whether your paste works: the parser splits on commas, while Excel writes tabs between cells when you copy a range. A tab-separated paste therefore arrives as one column per row, tabs still inside the cells. The two reliable routes avoid that: in Excel, select the range and use File → Save As → CSV, then drop the file (Excel writes the commas for you); or paste your range into any text editor, replace tabs with commas, and paste the result here.
Numbers and formulas both arrive as their displayed values on every route: a CSV export writes computed values, not the formulas behind them, so the Markdown holds what the sheet showed. Dates arrive in the display format too, so a column showing 3/14/2026 exports exactly that string; format the column as ISO (2026-03-14) before exporting when the table is headed for international readers, because that is the only date format that sorts correctly as text.
How GitHub-flavored tables are built
Markdown's core specification has no tables at all; they arrived as a GitHub extension, formalized in the GitHub Flavored Markdown spec in 2017, and every major renderer supports them now: GitHub, GitLab, VS Code's preview and most static-site generators. The grammar is three pieces: a header row of cells, a delimiter row immediately after, then any number of body rows. Cells separate with pipes, and the delimiter row is where column count gets fixed.
| Plan | Rows | Price |
| --- | --- | --- |
| Basic | 1,000 | $9 |
| Team | 25,000 | $49 |
| Scale | 250,000 | $249 |
:--- left-aligns, :---: centers, ---: right-aligns, --- is no preference.
The converter always writes bare ---; alignment edits are manual.Worked examples, exactly as the tool prints them
Three inputs from real spreadsheets, run through the converter. The first is a plain pricing table; the second carries the two hostile characters (a pipe and an in-cell line break) inside quoted fields; the third is a ragged row.
Input
Plan,Rows,Price Basic,1000,9 Team,25000,49 Scale,250000,249
Output
| Plan | Rows | Price | | --- | --- | --- | | Basic | 1000 | 9 | | Team | 25000 | 49 | | Scale | 250000 | 249 |
Input
Product,Note Widget,"A|B combo" Gadget,"Line 1 Line 2"
Output
| Product | Note | | --- | --- | | Widget | A\|B combo | | Gadget | Line 1<br>Line 2 |
The pipe is escaped, so the first note stays one cell; the line break became <br>, so the second row stays one row. Quoted fields keep their commas too: "Austin, TX" converts as a single cell, not two. This is the whole specification the escaping has to meet: pasted into GitHub, the table renders exactly as the spreadsheet showed it.
Input
Plan,Rows,Price Basic,1000
Output
| Plan | Rows | Price | | --- | --- | --- | | Basic | 1000 | |
What Markdown tables cannot express
- Merged cells. There is no colspan or rowspan: a merge becomes its value in one cell and empties beside it. If the layout is the meaning, Markdown is the wrong destination.
- Two-tier headers. One header row of plain cells is all the syntax has, so a header cell spanning two columns needs restructuring into flat columns or a different format.
- Cell colors and conditional formatting. The GFM table has no styling vocabulary; red-for-negative does not travel. A marker column with trend words is the usual compromise.
- Formulas. Every route in carries displayed values, so the Markdown holds what the sheet showed, not the logic; a README wants the result, not the VLOOKUP behind it.
- Very wide tables. Horizontal scroll is renderer-dependent, and a 15-column table in a README is a readability problem no syntax fixes. Trimming to the columns a reader needs is documentation hygiene.
The clipboard never leaves your machine
Everything in this tool is local. The paste is read into the page's memory, the file drop is read with the browser's File API, and the Markdown is generated by JavaScript in the tab: no paste transmits, no workbook uploads, no conversion history is kept anywhere. The tables people convert are frequently internal, unreleased pricing, vendor evaluations, security-relevant configuration, and a converter that phoned the clipboard home would be a leak vector wearing a helpful face. Open the dev-tools network panel during a conversion and watch nothing leave.
Frequently asked questions
Why does my table break when the cell text contains a pipe character?
In GitHub-flavored Markdown, the pipe is the cell delimiter, so a literal pipe inside your text splits one cell into two. The fix is escaping it with a backslash: A\|B renders as A|B. The converter does this automatically, so every pipe inside cell content arrives escaped and the pasted table survives intact.
Why do my numbers come out as $1,250.00 instead of 1250?
Because CSV exports and the clipboard both carry displayed values: a currency-formatted cell exports as the string you see. The converter has no number-cleaning option; if you want raw numerals in the Markdown, reformat the column (or paste values only) before exporting the CSV.
Does the converter preserve bold text and links from my spreadsheet?
No. The converter reads plain text, so bold, hyperlinks and cell colors do not carry over, and every cell converts as its value. You can add Markdown emphasis by hand in the output; it renders fine inside a GFM cell.
What happens to line breaks inside a cell (Alt+Enter in Excel)?
They become <br> tags. GitHub-flavored Markdown tables cannot contain raw line breaks, because a newline would end the row, so the HTML break tag is the standard substitute that every renderer understands. Multi-line addresses and stacked notes convert cleanly this way.
Can the converter handle merged cells?
No, because Markdown tables cannot either: there is no colspan or rowspan in the GFM table syntax. A merged cell exports as its value in the top-left position of the merge and empty cells elsewhere. For layouts that depend on merges, a screenshot or an HTML table is the honest destination.
Can I control column alignment in the output?
The converter writes a bare --- separator row, so every column renders with your renderer's default, usually left. GFM expresses alignment by putting colons around the hyphens in that row: a leading colon for left, colons on both ends for center, a trailing colon for right. If you want a column right-aligned, that edit is a manual one after copying.
How many rows can it convert?
The conversion is instant and in-browser, and the output preview truncates at 20,000 characters with a note to download the full file; the Download button saves the complete table as table.md. GitHub renders large tables, though documentation beyond a hundred-plus rows usually serves readers better as a linked CSV.
Does it work with Google Sheets too, or only Excel?
Both, with the same caveat on both sides: the converter splits on commas, while copying cells from either app puts tabs between them, so paste comma-separated text (Save As → CSV does the conversion for you) or convert tabs to commas first.
Sources and further reading
The references are the table syntax's own sources: the GFM specification, GitHub's documentation for tables, the core spec it extends, and the format's history.
Sources and further reading
- GitHub Flavored Markdown Spec: the formal table syntax(github.github.com)
- GitHub Docs: Organizing information with tables(docs.github.com)
- CommonMark: the core specification GFM extends(commonmark.org)
- Wikipedia: Markdown(en.wikipedia.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.