Markdown Table Generator

Build a Markdown table in a visual grid, paste CSV or spreadsheet data, preview GFM, then copy or download .md, .png, or .html.

#

Markdown code
Live preview
The Markdown table generator with the Table menu open on the grid size picker, an editable cell grid, and the generated Markdown beside a live preview.
The visual grid, menu bar, and live GFM preview in one workspace.

What Is the Markdown Table Generator?

The Markdown table generator is a free, browser-based grid editor that writes GFM pipes, delimiters, and alignment syntax as you work.

  • Menu-driven table editing: Resize, transpose, and manage Markdown table rows or columns from the toolbar menus.
  • Import table data: Drop a CSV, TSV, TXT, or Markdown file, or paste cells from Excel, Google Sheets, or Numbers.
  • Format large Markdown tables: Align and sort columns, zoom or fit the grid, freeze headers, and use fullscreen when needed.
  • Preview, copy, and export: Review live GFM output, copy Markdown table syntax, or download .md, .png, and .html locally.

How Markdown Table Syntax Works

A Markdown table uses pipes for cells, a header row, and a dash-based delimiter row that also controls alignment.

  • Separate Markdown table cells with | characters.
  • Place a --- delimiter below every header.
  • Add colons to set left, center, or right alignment.
Markdown table exampleGFM
| Name  | Role     | Score |
| :---- | :------: | ----: |
| Ada   | Engineer |    10 |
| Linus | Reviewer |     9 |
NameRoleScore
AdaEngineer10
LinusReviewer9

Markdown Table Reference

Scan the essential Markdown table syntax, GFM parsing rules, and portable authoring conventions used by the generator.

What you wantWhat you writeNotes
Separate columns| Name | Role |One pipe between cells. The outer pipes are optional but conventional.
Start the table| --- | --- |The delimiter row sits directly under the header and needs one cell per column.
Align columns| :--- | :---: | ---: |Colons set left, center, and right alignment.
Format text in a cell| **bold** *italic* `code` |Inline syntax works. Headings, lists, and fenced blocks do not.
Line break in a cell| First line<br>Second line |A real newline ends the row, so a break needs the HTML tag.
Literal pipe character| a \| b |Backslash escape, or the &#124; entity if a renderer strips it.
Title the table### Quarterly resultsGFM has no caption syntax — put a heading on the line above.
Merge cells— not supported —No colspan or rowspan. Use an HTML <table> where inline HTML is allowed.

GFM tables specification

GitHub Flavored Markdown adds tables to CommonMark as an extension. A compliant parser applies these rules:

Header and delimiter must match
A Markdown table starts with a header and an equally sized delimiter row. Optional body rows follow.
Row length is forgiving
Extra body cells are truncated and missing cells are padded. Only the header and delimiter must agree.
Outer pipes are optional
Leading and trailing pipes may be omitted, though keeping them makes Markdown table source easier to scan.
Cells hold inline content only
Emphasis, links, images, and code spans work inside cells; headings, lists, quotes, and fenced blocks do not.
Header A | Header B
-------- | --------
one      | two      | ignored
three

Outer pipes omitted, one extra cell dropped, and a short row padded — all still a valid table.

Markdown table syntax guide

The practical Markdown table version: the conventions worth following, and where tables stop being portable.

Use three or more dashes
Three or more dashes per delimiter cell is the portable convention used by this generator.
Pipes do not need to line up
Source padding only improves readability; it does not control rendered column width.
Keep cells short
Markdown has no table column-width syntax, so move long explanations below the table.
Know the GFM limits
Use a heading for a caption and HTML for merged cells; confirm your renderer supports the GFM table extension.
### Quarterly results

| Region | Revenue | Notes                    |
| :----- | ------: | :----------------------- |
| EMEA   |  12,400 | **Up** 8%<br>vs. Q2      |
| APAC   |   9,150 | \| pipe escaped in cell  |

A heading as the caption, inline formatting, a <br> line break, and an escaped pipe.

Create a Markdown Table in 3 Steps

Turn blank rows, spreadsheet cells, or imported data into a finished Markdown table.

1

Add Markdown table data

Edit the grid, paste spreadsheet cells or GFM syntax, or import a CSV, TSV, TXT, or Markdown file.

2

Arrange and format the table

Resize, transpose, sort, and align the Markdown table, then zoom, freeze headers, or use fullscreen for larger grids.

3

Preview, copy, or export

Check the live GFM preview, copy clean Markdown table syntax, or download .md, .png, or .html.

Your Markdown Table Stays in Your Browser

Markdown table editing, import, preview, local autosave, and export run on your device without submitting table content to an API.

  • No sign-up and no account required
  • No server upload and no conversion queue
  • Uploaded .csv, .tsv, and .md files are read locally
  • No watermark on the generated Markdown
100% in your browser

Markdown Table Frequently Asked Questions

Answers about Markdown table syntax, CSV and spreadsheet import, alignment, sorting, resizing, frozen headers, privacy, and .md, .png, or .html export.

How do I create a Markdown table?
Add a header row, a delimiter row with dashes, and optional body rows separated by pipes. This Markdown table generator creates that syntax as you edit the visual grid.
Can I upload a CSV or Excel file to create a Markdown table?
Import .csv, .tsv, .txt, or .md files directly. For Excel or Google Sheets, copy the cells and paste them into the Markdown table grid as tab-separated data.
How do I resize or transpose a Markdown table?
Use Table → Set size for exact rows and columns, or insert, move, and delete them from the Row and Column menus. Table → Transpose swaps rows and columns.
How do I align or sort a Markdown table column?
Use the header controls to cycle left, center, or right alignment and sort rows ascending or descending. The generator updates the Markdown table source before you copy it.
How can I edit a large Markdown table?
Zoom between 50% and 200%, fit the grid to its pane, freeze the header or first column, and open the editor or table in fullscreen.
What formatting works inside Markdown table cells?
GFM supports emphasis, links, strikethrough, inline code, and escaped pipes inside cells. The generator converts cell line breaks to <br> because block-level content is not valid in a standard Markdown table.
Can I merge cells or add a Markdown table caption?
GFM has no colspan, rowspan, or caption syntax. Use an HTML table for merged cells and place a Markdown heading directly above the table for a title.
Does a Markdown table work on GitHub and VS Code?
Yes. GitHub renders GFM tables, and VS Code shows the same syntax in its built-in Markdown preview. Save or paste the generated source into any .md file.
Can I download a Markdown table as an image or an HTML file?
Yes. Download the Markdown table as .md source, a 2× .png image, or a styled standalone .html page.
Is my Markdown table data uploaded?
No. Markdown table editing, import, preview, copy, and export run locally in your browser.

Create Your Markdown Table Now

Return to the visual Markdown table generator, paste your data, choose alignment, and copy clean GFM syntax in seconds.