TXT · Text & Data tools

Markdown Table Builder

Separator
Alignment
Input data
Markdown table
0rows0columns

Convert tabular data into Markdown tables. This removes the manual formatting required to align pipes (|) and dashes (-) when writing documentation, README files, or blog posts.

Paste raw data into the input field. The builder calculates the width of the longest string in each column and pads the rest of the cells to match, keeping the raw markdown readable in an editor.

Separator detection

By default, the builder reads the first few lines to guess whether the input uses commas, tabs, or semicolons. If the data contains mixed characters or commas within quoted strings, manually select the separator to ensure columns split correctly.

Headers and alignment

Markdown tables require a header row. If the data includes headers, keep the First row is header option checked to generate the separator row immediately after it.

Column alignment settings apply to all columns at once:

  • Left: :---
  • Center: :---:
  • Right: ---:

The output pane updates live and can be copied directly.

Handling pipes and newlines

Markdown tables break if a cell contains a literal pipe (|) or a newline character. If your raw CSV contains these characters, you must escape or replace them before conversion to ensure the table renders correctly in standard Markdown parsers.

Frequently Asked Questions

The input accepts comma-separated (CSV) or tab-separated (TSV) values. The separator is detected automatically, or you can force a specific delimiter.

Setting the alignment to left, center, or right adds colons to the markdown separator row (for example, :---: for center). The Markdown renderer uses these colons to align the rendered text.

The builder calculates the length of the longest string in each column and adds spaces to shorter cells. This keeps the raw text columns vertically aligned in a code editor.

Yes. When you copy cells from Excel or Google Sheets, they are placed on your clipboard as tab-separated values (TSV), which the builder detects automatically.

If your raw data contains unescaped commas within a CSV but lacks quotes around the cell, the builder may split the cell incorrectly. Ensure your CSV is properly quoted.

Explore Our Tools

Browse all tools