ToolJutsu
All tools
Data Tools

Markdown Table to CSV

Convert a Markdown table back into CSV.

359 chars
CSV output options
Parsed table preview
ProductRegionUnits SoldRevenue
Wireless MouseNorth124018600
Mechanical KeyboardSouth86043000
USB-C HubWest203040600
4K MonitorEast415124500
CSV output
4 rows

Fields are quoted only when they contain the delimiter, a quote or a line break — "like, this".

Processed on your device. We never see your files.

How to use Markdown Table to CSV

What this tool does

This tool takes a Markdown table and converts it back into CSV. You paste the table — or drop a .md, .markdown or .txt file — and it produces clean comma-separated values that you can open in Excel, Google Sheets, Numbers or any database import wizard.

A Markdown table is a way of writing a table in plain text: each row is written between vertical bars (|), the first row holds the headings, and a row of dashes underneath separates the headings from the data. It looks tidy inside a README, a wiki or a chat message — but it is not a format you can do maths on. CSV (comma-separated values) is. This tool reverses the conversion, so numbers trapped inside a document become a working dataset again. It loads with a sample table so you can see exactly what valid input looks like.

A live preview shows the parsed table as a real grid, so you can confirm the columns lined up correctly before you copy or download the CSV.

Why and when you would use it

You will reach for this whenever useful data is “stuck” inside a document. A teammate posts a comparison table in a pull request, a product page lists pricing in a Markdown table, a wiki holds a table of results — and you need to sort it, total a column or chart it. None of that is possible while the data is Markdown.

Typical situations: pulling a results table out of a GitHub or GitLab README to analyse it, lifting figures from a Notion or Obsidian note into a spreadsheet, turning a table someone pasted into chat into an importable file, or extracting a data sample from documentation to merge with a larger export. It is the natural companion to the CSV to Markdown Table tool, which goes the other way. If you instead need to display a table on a web page, the CSV to Table tool and the Table Generator handle that, and the Markdown to HTML tool converts a whole Markdown document — tables and all — into HTML.

How to use it

  1. Paste your Markdown table into the input box, or drop a .md, .markdown or .txt file onto the dropzone.
  2. The tool finds the first pipe table, skips the dashes separator row, and shows the result in the parsed-table preview. Check that the columns look right.
  3. Choose the output delimiter — comma is standard, but semicolon, tab and pipe are available for tools that expect them.
  4. Decide whether to include the header row in the output, and whether to quote every field (some strict importers prefer that).
  5. Use Copy CSV to copy the result, or Download .csv to save it.

Common pitfalls and tips

The most common problem is input that is not actually a Markdown table. If the dashes separator row is missing, or the lines have no vertical bars, the tool cannot recognise a table and will tell you so — add the separator row or fix the bars and try again.

Ragged rows are handled automatically: if one row has fewer cells than the header, it is padded with blanks; if it has more, the extras are dropped. Check the preview if a row looks wrong in your source.

Be careful once the CSV reaches a spreadsheet. Excel loves to “helpfully” reformat data on import — it strips leading zeros from ZIP codes and SKUs, turns long numbers into scientific notation, and may misread dates. If a column must stay exactly as written, import it as text rather than letting the spreadsheet guess. Smart quotes and other curly punctuation copied from a document survive into the CSV unchanged; clean them up in the spreadsheet if a downstream system is fussy. Finally, if your document has several tables, only the first is converted — the tool shows a note when that happens.

Privacy

This converter runs entirely inside your browser. The Markdown you paste or the file you drop is parsed and turned into CSV by JavaScript on your own device. It is never uploaded, never stored and never logged, and closing the tab erases it. You can safely convert tables that contain customer data, internal metrics or anything else confidential — it never leaves your computer.

Frequently asked questions

What does a Markdown table look like?
A Markdown table is plain text where each row sits between vertical bar characters (|). The first line holds the column headings, the second line is a separator made of dashes — for example | --- | --- | --- | — and every line after that is a row of data. Outer bars at the start and end of each line are optional. If your pasted text follows that shape, this tool can turn it back into CSV; if it does not, you will see a message explaining what is missing.
Why turn a Markdown table back into CSV?
Markdown tables are great for reading inside documents, but you cannot sort, filter, chart or run formulas on them. CSV is the format spreadsheets understand. Converting a Markdown table to CSV lets you open numbers from a README, a wiki page or a chat message in Excel or Google Sheets and actually work with them — build a pivot table, sum a column, or merge the data with another file.
What is the row of dashes in a Markdown table for?
That second line is the alignment separator. It tells the renderer where the headings stop and the data begins, and the colons in it (:---, :---: or ---:) set whether each column is left, centre or right aligned. It is part of the table's formatting, not real data, so this tool detects that row and skips it — it never appears in your CSV output.
What if my text contains more than one table?
The tool converts the first Markdown table it finds and shows a note telling you that others were skipped. To convert another table, delete the ones you do not need so the one you want is first, or paste each table separately and convert them one at a time.
Is my data private when I use this tool?
Yes. The Markdown text you paste, or the file you drop, is read and converted by JavaScript inside your own browser. Nothing is uploaded to a server, nothing is stored after you leave, and nothing is logged. The data never leaves your device, so it is safe to convert tables that contain customer details, internal figures or any other sensitive information.

Related tools