Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

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.

How to use Markdown Table Generator online

  1. Paste the data. CSV, TSV or spreadsheet cells.
  2. Choose the alignment. Left, centre or right.
  3. Choose padding. And whether the first row is a header.
  4. 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?
Paste your data and copy the table.
Can I paste cells from a spreadsheet?
Yes. They arrive tab-separated, which the tool detects.
How is alignment set?
With colons in the separator line.
What if the data has no header?
The tool adds Column 1, Column 2 and so on.
What about a pipe in a cell?
It is escaped with a backslash.
Is the text I paste into the Markdown Table Generator uploaded?
Your text stays on this device when you use the Markdown Table Generator. The editor may keep the last text locally and offers to bring it back; you can dismiss it.
Can I save what the Markdown Table Generator gives me?
Copy the Markdown Table Generator result, or save it as a text file from the result box.

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.

More tools in Text & Writing Tools →

Search tools