Back to Tools

Markdown Table Generator

Quickly create professional Markdown tables with custom alignment and sizing

📊 Visual Builder ↔️ Alignment 📋 One-Click Copy
Configuration
Edit Table Data

Skip the pipes and dashes: fill in a grid instead

Markdown tables are simple in principle and awkward in practice. One missing pipe or a separator row with the wrong number of dashes and the table falls apart into plain text. This generator lets you type the header and cells into a real grid and produces correctly formed pipe-table code for you.

Making a table

  1. Set Number of Rows (1 to 50) and Number of Columns (1 to 20) in the configuration area. The editing grid appears immediately.
  2. Type your column titles into the header row and fill in the cells below it.
  3. Pick a Default Alignment: Left, Center or Right.
  4. Click Generate Table Code.
  5. Copy the result with Copy Code, and check the Visual Preview beneath the code to see how it will render.

Empty headers are filled with Header 1, Header 2 and so on, and empty cells are written as a blank space so the row structure stays intact.

How alignment works

The alignment setting is applied to every column at once, written into the separator row as :--- for left, :---: for center and ---: for right. Right alignment is handy for columns of prices or quantities, and center suits short labels or status marks. If you need different alignment per column, generate the table and edit the separator row by hand, changing the colons for the columns that should differ.

Everyday uses

  • Adding a feature comparison or pricing table to a README.
  • Documenting API parameters with name, type and description columns.
  • Building a changelog or schedule for a wiki page.
  • Preparing a small data table for a blog post written in Markdown.

Things to be aware of

Changing the number of rows or columns rebuilds the grid and clears anything you have typed, so choose the size first and enter data afterwards. Cell text is copied as is: a literal pipe character inside a cell will break the layout, so type it as \| instead. Line breaks inside a cell are not supported by the single-line inputs, and long text simply produces long lines of code. The tool does not pad columns to equal width, since renderers ignore that spacing. The table code and preview are produced in your browser, and the preview needs the marked script, which loads from a public CDN.



Related Tools


Frequently Asked Questions

Can I set a different alignment for each column?
Not in the tool itself. The chosen alignment applies to all columns. After generating, edit the separator row in the code and add or remove colons per column: :--- left, :---: center, ---: right.
How many rows and columns can I create?
The grid accepts 1 to 50 rows and 1 to 20 columns, not counting the header row. If you need a larger table, generate a portion and extend the code manually or in your editor.
Why did my data disappear after changing the size?
Adjusting rows or columns rebuilds the entire editing grid, which clears typed content. Set the dimensions first, then fill in the header and cells, and only then click Generate Table Code.
How do I put a pipe symbol inside a cell?
Type a backslash before it, like \|, because the tool copies cell text unchanged and a bare pipe would be read as a column separator. Most Markdown renderers then display it as a normal pipe.
Will the table work on GitHub and other platforms?
The output uses standard pipe-table syntax with a header, separator row and data rows, which GitHub, GitLab and most static site generators support. Very old or minimal Markdown parsers may not support tables at all.
Support Chat
We typically reply within minutes

Hello! 👋 Before we start, please tell us your name.