Markdown Table Generator

A Markdown table generator. Paste comma- or tab-separated data and get a properly aligned Markdown table you can drop into a README, a pull request, or docs — with a live rendered preview and a choice of column alignment. Everything runs in your browser.

Align
| Name  | Role          | Commits |
| :---- | :------------ | :------ |
| Ada   | Engineer      | 421     |
| Grace | Compiler Lead | 1980    |
| Linus | Kernel        | 99999   |
NameRoleCommits
AdaEngineer421
GraceCompiler Lead1980
LinusKernel99999

Markdown tables are simple to render but tedious to type by hand. The format is just rows of cells between pipes, with a separator line under the header — but aligning the columns so the raw source is readable, and remembering the colon syntax for alignment, is exactly the kind of fiddly work a tool should do for you.

So this one takes the data you already have. Paste comma-separated text, or copy a block straight out of a spreadsheet (which comes across tab-separated), and it detects the delimiter, treats the first row as the header, and builds the table: a header row, a separator row carrying the alignment markers (:---, :---:, ---:), and one line per record. It pads each column so the source lines up in a monospace editor, and shows a rendered preview so you can confirm before copying.

The details that trip people up are handled: a literal pipe inside a cell is escaped so it does not split the row, and alignment is set through the separator colons rather than any per-cell markup. Paste it into a README, a pull-request comment, or any docs that render Markdown, and it just works — while the padding that makes the raw text tidy is invisible to the renderer, which lays out the table from the pipes alone.

How it works

  • Detects comma or tab delimiters (paste straight from a sheet).
  • Emits an aligned Markdown table with a live preview.
  • Left / center / right column alignment via separator colons.
  • Escapes pipe characters so cells never break the table.

Frequently asked questions

How do I use it?

Paste your data with the first row as the header, using commas or tabs to separate columns — you can copy a range straight out of a spreadsheet (which gives tab-separated values). The tool detects the delimiter, builds a Markdown table with a properly aligned header separator, and shows a rendered preview. Copy the Markdown and paste it into any file or comment that renders Markdown, like a GitHub README or pull request.

How does column alignment work in Markdown?

Markdown controls alignment through colons in the separator row beneath the header: :--- is left-aligned, :---: is centered, and ---: is right-aligned. This tool writes those markers for you based on the alignment you pick, so numeric columns can be right-aligned and text left-aligned. Note that not every Markdown renderer honors alignment, but GitHub and most documentation tools do.

What if my data contains a pipe character?

The pipe (|) is the column separator in Markdown tables, so a literal pipe inside a cell would break the table. This tool escapes pipes in your data (as \|) so the table stays intact. Line breaks inside a cell are also not supported by Markdown tables; keep each row on one line, or replace an in-cell newline with a <br> tag if your renderer allows it.

Why do the extra spaces in the raw Markdown not matter?

The generator pads each column so the raw Markdown lines up in a monospace editor, which makes the source itself readable. Those spaces are cosmetic — Markdown renderers ignore the padding and lay the table out based on the pipes and the separator row. So you get a table that looks tidy both as raw text and when rendered.