Markdown Magic
Browser-only tool

CSV to Markdown Table Converter

Convert CSV or TSV into a GitHub-Flavoured Markdown table locally, with quoted commas, escaped pipes, examples, copying and .md download.

Everything runs locally in this browser: your source text is not uploaded or saved by this tool.

Ready. Paste your content or load the safe example.

How it works

The first row becomes the table heading. Comma-separated CSV and tab-separated TSV are detected from the heading row; quoted commas, escaped double quotes and Windows or Unix line endings are handled before Markdown cells are escaped.

Tips for a clean result

  • Export only the rows and columns you need
  • Keep the heading row descriptive and concise
  • Review line breaks and very long cell values after conversion

When this tool is useful

Turn a spreadsheet export, report extract or small dataset into a table suitable for a README, issue, documentation page or pull request.

The important edge case

CSV is a data format, not simply text split at every comma. Quoted commas, doubled quotation marks, blank cells and different line endings need to be parsed before Markdown escaping.

Three checks before publishing

  1. Count the source and output columns
  2. Check cells containing commas, quotes or vertical bars
  3. Confirm that no confidential columns were included in the export

Worked example

Select Load example to place a deliberately small, non-sensitive input in the editor. Convert it, compare every row and then alter one awkward value—such as a comma, quote or vertical bar—to see how the output is escaped. This makes the conversion behaviour visible before you use your own material.

Compatibility

Markdown tables are a common extension rather than part of every minimal Markdown implementation. Preview the result in the exact renderer—such as GitHub, a documentation platform or a static-site generator—that will publish it.

Private, quick and reversible

No account is required and conversion happens in your current browser tab. The tool does not transmit or retain the input, but you should still avoid placing confidential data in any device or browser you do not trust.

For the formal baseline behind portable Markdown, see the CommonMark specification; table behaviour is renderer-specific.