Markdown Table Generator
This tool turns CSV, TSV or cells copied from a spreadsheet into a Markdown table. You choose the alignment and whether to pad the columns.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Markdown Table Generator online
- Paste the data. CSV, TSV or spreadsheet cells.
- Choose the alignment. Left, centre or right.
- Choose padding. And whether the first row is a header.
- Copy the table. Copy or save the Markdown.
Why use this free Markdown Table Generator
- Detects the separator
- Three alignments
- Padded columns
- Pipes escaped
- Works with pasted cells
- Share by link
Tables in Markdown
A Markdown table uses vertical bars between cells and a row of dashes under the header. Writing one by hand is fiddly, especially when columns have different widths. Paste your data, and the tool writes the table, with the separator line set for the alignment you choose.
Input
The tool accepts comma-separated text, tab-separated text, such as cells copied from a spreadsheet, semicolons or bars. It can detect the separator from the first line. Quoted cells that contain the separator are kept together. Rows with fewer cells are filled with empty ones, so every row has the same number of cells.
A worked example
The data with a header of Name, Qty and Price and two rows becomes this table with 2 data rows and 3 columns:\n| Name | Qty | Price | | :---- | :-- | :---- | | Apple | 3 | 1.20 | | Pear | 10 | 0.8 |\nThe columns are padded so they line up in plain text, and the colon in the separator line sets the alignment. A pipe inside a cell is written as \| so it does not split the cell.
Alignment and padding
Left, centre and right alignment are marked by a colon in the separator line. Padding is only for looks in the source, since a renderer ignores it, and turning it off gives a shorter table. If the data has no header, the tool adds one called Column 1, Column 2 and so on, because a Markdown table needs one.
Where it works
Tables are part of GitHub Flavoured Markdown and of many other Markdown tools, but not of the original Markdown. If your tool does not show tables, use the Markdown to HTML converter to check, or switch to HTML. Line breaks inside cells are written as br tags.
Using the tool
Change the text or any option of the Markdown Table Generator and the answer moves straight away. Use result as input to pass the answer to the next step.
Markdown Table Generator: frequently asked questions
How do I make a Markdown table?
Can I paste cells from a spreadsheet?
How is alignment set?
What if the data has no header?
What about a pipe in a cell?
Is the text I paste into the Markdown Table Generator uploaded?
Can I save what the Markdown Table Generator gives me?
Related searches for Markdown Table Generator
- Markdown Table Generator online
- free Markdown Table Generator
- Markdown Table Generator online free
- Markdown Table Generator for mobile
- Markdown Table Generator without sign up
- Markdown Table Generator – Text & Writing Tools
Markdown Table Generator is a free online tool on MAITBOX, in the Text & Writing Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.