My Tools Garage

CSV to Markdown Table

Turn CSV into a clean GitHub-flavored Markdown table.

in-browser

How to use

  1. 1 Paste your CSV, including a header row, into the input box.
  2. 2 Pick the matching delimiter and a column alignment.
  3. 3 Review the generated Markdown table on the right.
  4. 4 Copy the Markdown and paste it into your document.

About CSV to Markdown Table

Markdown tables are everywhere — README files, GitHub issues, pull-request descriptions, wikis and static-site docs — but writing the pipe-and-dash syntax by hand is tedious and error-prone.

This tool converts a block of CSV into a tidy, GitHub-flavored Markdown table in real time.

Paste your data, and the first row becomes the table header while every following row becomes a body row, complete with the `| --- |` separator that Markdown renderers require.

The converter understands real CSV, not just comma-splitting: quoted fields, commas inside quotes, escaped double quotes and embedded newlines are all parsed correctly, so spreadsheet exports and copied ranges convert cleanly.

You can switch the delimiter to a semicolon, tab or pipe to match your source, and choose left, center or right column alignment, which is emitted using the standard `:---`, `:---:` and `---:` separator forms.

Cells containing pipe characters are automatically escaped, line breaks within a cell collapse to a `<br>`, and short rows are padded so the table always stays rectangular and valid.

Everything happens locally in your browser.

Nothing is uploaded, logged or stored, which makes it safe for private or internal data, and it keeps working offline once the page has loaded.

When you are happy with the result, copy the Markdown with one click and paste it straight into your document, issue or commit message.

FAQ

Does it handle commas inside quoted fields?

Yes. The parser follows CSV rules, so quoted fields containing commas, escaped quotes and newlines are handled correctly rather than being split naively.

What happens to pipe characters in my data?

Pipes are escaped as \| so they display as literal characters instead of breaking the table layout. Newlines inside a cell become <br>.

Can I change the column alignment?

Yes. Choose left, center or right and the separator row is written using the standard :---, :---: or ---: syntax that Markdown renderers understand.