CSV to Markdown Table

Convert CSV to a Markdown table instantly in your browser. Supports quoted fields, auto-detects headers, and lets you choose left, center, or right column alignment. 100% client-side.

100% Client-Side Your data never leaves your browser Free · No Sign-Up

How to Use

  1. Paste your CSV data into the left panel.
  2. Choose a column alignment: Left, Center, or Right.
  3. The Markdown table appears in the right panel automatically.
  4. Click Copy to copy the result to your clipboard.

Markdown Table Syntax

A Markdown table consists of a header row, a separator row, and data rows. Pipe characters (|) delimit columns.

| Name  | Age | City     |
| :---- | :-- | :------- |
| Alice | 30  | New York |
| Bob   | 25  | London   |

The separator row controls alignment: :--- = left, :---: = center, ---: = right.

Tips

  • Pipe characters (|) inside cell values are automatically escaped as |.
  • Newlines within quoted CSV fields are collapsed to a single space in the output.
  • Use the CSV to JSON tool if you need JSON output instead.

FAQ

What CSV formats are supported?

The converter handles standard comma-separated values including quoted fields that contain commas or newlines, and escaped double-quotes (RFC 4180 style).

How does column alignment work?

Select Left, Center, or Right before converting. The separator row uses :---, :---:, or ---: notation respectively to control Markdown renderer alignment.

Does the first row become the table header?

Yes. The tool always treats the first row as the header and places it above the separator line.

Is any data sent to a server?

No. All conversion happens entirely in your browser with JavaScript. Nothing is uploaded or transmitted.

Can I paste the output directly into GitHub or GitLab?

Yes. The output uses GitHub Flavored Markdown (GFM) table syntax which renders natively on GitHub, GitLab, Notion, and most Markdown editors.