Developer Tools

Markdown Table Generator

Build a Markdown table from spreadsheet cells or quoted CSV, then edit the headers and data directly. Set each column’s alignment and copy source that is ready for a README or another GitHub-style Markdown editor.

Free online tool

Loading tool…

Edit cells and alignment

Paste tab-separated cells into any cell to fill a rectangle. Use Enter inside a cell for a line break. Table content is treated as literal text; Markdown punctuation and HTML are escaped.

RowActions
Header
1
2

2 data row(s), 3 column(s). Line breaks become <br>. Requires a Markdown renderer with GitHub-style table support. Limits: 200 data rows and 30 columns.

Your table is generated in the browser. Spreadsheet data is not uploaded by this tool.

GET STARTED

How to use the Markdown Table Generator

  1. 01

    Paste a spreadsheet selection, TSV, or CSV into the import box. Choose whether the first row contains headers, then select Import into table.

  2. 02

    Edit individual cells, paste a rectangle of spreadsheet cells into the grid, and add or remove rows and columns.

  3. 03

    Set column alignment, choose padded or compact source, then copy the Markdown or download a .md file.

Examples

Turn a spreadsheet selection into Markdown

Copy a few columns from a spreadsheet and paste them into the import box. Spreadsheet selections usually separate columns with tabs; select Tab explicitly if automatic detection chooses the wrong delimiter.

Keep a pipe inside one cell

A cell containing Read | Write is exported with an escaped pipe, so a compatible Markdown renderer keeps it inside one column instead of starting a new column.

Show a multiline note

Enter a line break in a cell. The output uses a generated <br> tag within the table cell. User-supplied HTML, including a pasted <script> tag, is escaped as text.

Alignment syntax

The separator row controls alignment: a colon on the left aligns left, colons on both ends center the column, and a colon on the right aligns right. Default alignment omits colons. Padding adds spaces to make the source easier to read without changing the table’s intended content.

Literal cells and escaping

Cells are treated as plain text. Pipes, backslashes, and Markdown formatting punctuation are escaped; ampersands and angle brackets become HTML entities. Leading and trailing spaces use space entities. The tool does not execute pasted HTML or Markdown. Edit the exported source yourself if you intentionally want links, emphasis, or code spans.

Importing uneven rows

Short rows are padded with empty cells to match the widest row. When the first row is data, generated column names are added above it. Quoted CSV supports delimiters, doubled quotes, and line breaks inside a field. The editable grid supports up to 200 data rows and 30 columns.

What to know

  • Maximum table: 200 data rows and 30 columns. Import text is limited to 2 million characters.
  • Generated <br> line breaks need a renderer that permits inline HTML. Source padding counts UTF-16 code units, so wide Unicode characters may not align visually in every font.

Common questions

Will this work in every Markdown editor?

Tables are an extension used by GitHub Flavored Markdown and many other renderers. Basic CommonMark does not define tables. Verify support in the editor where you will publish the output.

Can I merge table cells?

Pipe tables do not provide row spans or column spans. Use an HTML table in a compatible editor if merged cells are essential.

Why is my bold text escaped?

This generator preserves cell text literally so pasted formatting syntax does not change the result. Remove the relevant escapes in the exported source if you want Markdown formatting.

Can I import an existing Markdown table?

The import box is designed for spreadsheet, TSV, and CSV text. It does not parse an existing Markdown table or its alignment row.

Sources & references