Markdown Table Generator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free Markdown table generator. Paste cells from Excel, Google Sheets or CSV and get a neatly aligned Markdown table for GitHub, README files, Notion and docs.
- Rows
- 0
- Columns
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to make a Markdown table
- Paste your rows. Copy cells straight from Excel, Google Sheets or Numbers (they arrive separated by tabs), or type comma-separated lines like
Bread,Price. - Choose the alignment: left, center, right, or default (no alignment markers).
- Say whether the first row is the header. If your data has no header row, untick it and the tool adds "Column 1", "Column 2" and so on.
- Tick Compact if you want the shortest possible Markdown without padding.
- Copy the table. A live preview underneath shows how it will look once rendered.
The Markdown table generator pads every column so the table lines up in plain text as well as when rendered, which makes README files and documentation much easier to edit later.
Markdown table syntax
A Markdown table is plain text with pipes and dashes:
| Bread | Price | Baked |
| :--------- | :---- | :------ |
| Seeded rye | $9.00 | Daily |
| Sourdough | $8.00 | Tue–Sat |
- The first line is the header row.
- The second line separates the header from the body. It needs at least three dashes per column.
- Each following line is one row. Pipes separate the cells.
- Colons set the alignment:
:---for left,:---:for center,---:for right, and plain---for the default (usually left).
The pipes at the start and end of each row are optional in most renderers, but including them is clearer and safer, so the generator always adds them. The spaces used for padding don't change the rendered table at all; they only make the source easier to read.
Where Markdown tables work
Tables are part of GitHub Flavored Markdown (GFM), not the original Markdown, so support depends on where you paste:
- GitHub and GitLab: README files, issues, pull requests, wikis and comments.
- Notion, Obsidian, Joplin and Typora: pasting a Markdown table creates a real table.
- Docs sites: MkDocs, Docusaurus, Jekyll, Hugo, VitePress and most static site generators.
- Discord and Slack: Discord doesn't render tables (wrap them in a code block to keep them lined up); Slack doesn't render them either.
- Reddit: supported on the web.
- Chat tools and AI assistants usually render Markdown tables in replies.
If your destination doesn't support tables, the padded version still reads clearly as plain text, especially in a monospaced font.
Special characters in cells
The pipe character | separates cells, so a pipe inside a cell must be escaped as \|. The generator does this automatically: a cell containing rye|wheat becomes rye\|wheat. Line breaks inside a cell aren't allowed in Markdown tables, so they're turned into spaces; if you really need a line break inside a cell, many renderers accept <br>.
Other Markdown inside cells works as usual: **bold**, *italic*, `code` and links like [menu](https://example.com) are all fine.
From spreadsheets and CSV
When you copy cells from a spreadsheet, the clipboard holds them as tab-separated text. The Markdown table generator detects the tabs and keeps every cell exactly, including commas inside cells such as "Tue, Thu, Sat".
For comma-separated text, it follows CSV rules: a value in double quotes can contain commas, as in "Rye, seeded",9. Rows with fewer cells than the others are filled with empty cells so the table stays rectangular.
If your data is in JSON, convert it first with the JSON to CSV converter and paste the result. To go the other way, from CSV to structured data, use the CSV to JSON converter.
Markdown or HTML tables?
Markdown tables are quick to write and easy to read in source, but they're deliberately simple: no merged cells, no row spans, no multi-line cells, no captions. If you need any of those, or you're writing straight into a web page, use the HTML table generator instead. To turn a whole Markdown document, tables included, into HTML, use the Markdown to HTML converter.
Tips for readable tables
Keep tables narrow. Three to six columns read well on any screen; wide tables scroll sideways on phones.
Put the most important column first, usually the name of the thing each row describes.
Right-align numbers so the digits line up and are easy to compare. If you need different alignments per column, generate with one alignment and change individual colons by hand: | :--- | ---: |.
Use consistent units in a column: all prices with the same currency symbol and decimals, all dates in the same format.
Don't use a table for a list. If there's only one meaningful column, a bulleted list is simpler. The add prefix and suffix to lines tool turns lines into a Markdown list by adding - to each.
Add a sentence above the table saying what it shows. Tables without context are hard to understand, especially for people using screen readers.
Tables in documentation and READMEs
Developers use Markdown tables to document configuration options, API parameters, command-line flags, supported versions and comparisons. A typical options table has columns for the name, type, default and description. Keeping the source neatly aligned, as this generator does, means anyone editing the README later can see the columns clearly and add a row without breaking the layout. When a table grows past twenty or so rows, consider splitting it by topic or linking to a separate page.
Editing a Markdown table later
Tables in documentation change: a new option, a price update, an extra column. Because the generator pads every column, the source stays readable, and small edits are easy to make by hand. For bigger changes, such as adding a column or re-sorting rows, it's often quicker to copy the table back into a spreadsheet, make the change there, and paste it into the Markdown table generator again. Spreadsheets can't read Markdown directly, so the easiest habit is to keep the original data in a spreadsheet and regenerate the table from it whenever it changes.
Accessibility
Screen readers announce tables row by row and column by column, using the header row to describe each cell. That's why a clear, short header row matters: "Price" is better than "Price in US dollars incl. tax (approx.)". Keep one idea per column and avoid empty header cells. If a table is only used for layout rather than data, it doesn't belong in a table at all.
Markdown tables in AI chats and prompts
Markdown tables are also a handy way to give structured information to AI tools, or to ask for it back. A neat table of products, prices and features in a prompt is easier for an AI to read accurately than a paragraph, and asking for "a Markdown table with these columns" gives you output you can paste straight into documentation.
Large tables
For tables with many rows, such as a product catalogue or a changelog, paste the data in one go: the Markdown table generator handles hundreds of rows instantly, because everything runs in your browser and nothing is uploaded.
A worked example
A bakery's developer is writing the README for the shop's order system and wants a table of the breads and when they're baked. The data is already in the shop manager's Google Sheet, so he selects the four rows and three columns and copies them.
He pastes them into the Markdown table generator. It detects the tabs and shows 3 rows and 3 columns. He leaves "First row is the header" ticked and chooses Left alignment. The output is:
| Bread | Price | Baked |
| :--------- | :---- | :------ |
| Seeded rye | $9.00 | Daily |
| Sourdough | $8.00 | Tue–Sat |
| Focaccia | $6.50 | Fri |
The preview shows a neat table. He switches the Price column to right alignment by changing :---- to ----: by hand, so the prices line up, then pastes it into the README on GitHub. It renders perfectly, and the source stays easy for the next person to update.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit manages Google Ads for small and mid-size businesses, and only Google Ads. We check your account before we ever get on a call, then fix the structure, the keywords, the tracking and the ads, with month-to-month terms and no long contract. Book a free audit call.
Frequently asked questions
How do I create a table in Markdown?
Write a header row with cells separated by pipes, then a row of dashes, then one line per row. This Markdown table generator builds it for you from pasted spreadsheet cells or CSV.
How do I align columns in a Markdown table?
Add colons to the dashes line: :--- for left, :---: for center and ---: for right. Choose the alignment in the generator and it adds them for you.
Can I paste from Excel or Google Sheets?
Yes. Copy the cells and paste them in. They arrive separated by tabs, and the Markdown table generator detects that automatically.
How do I put a pipe character in a cell?
Escape it as \|. The generator does this automatically.
Can Markdown tables merge cells?
No. Markdown tables are simple grids. For merged cells or captions, use an HTML table instead.
Is this Markdown table generator free?
Yes. It's free, has no sign-up, and runs in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.