Markdown Table Generator — Edit Tables, Get Markdown or HTML

Build a table in a spreadsheet-like editor — or paste cells from Excel, Google Sheets or CSV — set column alignment and get a neatly aligned Markdown table (GitHub-flavored) or clean HTML.

Runs in your browserUpdated
Tip: paste a range copied from Excel or Google Sheets into any cell.

Import

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Markdown Table Generator

  1. Type into the cells — the first row is the header. Use + Row and + Column to grow the table.
  2. Paste a range copied from Excel or Google Sheets into any cell; it fills the cells from there.
  3. Set each column’s alignment with the ⟵ ⟷ ⟶ buttons above it.
  4. Copy the Markdown (for GitHub, GitLab, Notion, Obsidian, README files) or the HTML.

Markdown table syntax

| Name   | Role  | Score |
| :----- | :---: | ----: |
| Ada    | Admin |    98 |
| Linus  | Dev   |    87 |

Pipes (|) separate columns and the second line separates the header. Colons set alignment: :--- left, :---: center, ---: right. Tables are part of GitHub-flavored Markdown and work on GitHub, GitLab, Bitbucket, Notion, Obsidian, Reddit and most docs tools.

  • A literal pipe inside a cell is written \| — the generator escapes it for you.
  • Markdown tables can’t merge cells or hold multiple paragraphs; use HTML for those.
  • “Align columns” pads cells with spaces so the source is readable; renderers ignore the padding.

Have the data as CSV or JSON already? Use CSV to Markdown Table or JSON to Markdown Table. For a rendered HTML table from CSV, see CSV to HTML Table.

Also searched as: markdown table, create markdown table, table generator, excel to markdown table, github markdown table, html table generator, table editor online, markdown table editor.

Tools that pair well with the Markdown Table Generator

  • Markdown Editor — Write Markdown with a side-by-side live preview, a formatting toolbar and keyboard shortcuts.
  • Find and Replace — Paste text and replace words or patterns — case-sensitive or not, whole words only, or with regular expressions and $1 capture groups.
  • Soft Hyphen Generator — Stop long words like “Versicherungsleistungen” from overflowing on mobile: insert invisible soft hyphens automatically or at your own break points, then copy the result.
  • Smart Quotes to Straight Quotes — Code copied from Slack, Notion, Word or a blog won’t run?

Frequently asked questions

How do I create a table in Markdown?
Type your data into the editor here and copy the result — or write rows of cells separated by pipes, with a separator row of dashes under the header.
How do I convert an Excel table to Markdown?
Copy the cells in Excel or Google Sheets and paste them into the first cell of the editor (or the Import box). The Markdown table appears instantly.
How do I align columns in a Markdown table?
Use colons in the separator row: :--- for left, :---: for center and ---: for right. The alignment buttons in the editor set this for you.
Can I get an HTML table instead?
Yes — switch the output to HTML for a clean with and , ready for a website or email.
Can I install Markdown Table Generator as a web app and use it offline?
Yes. Markdown Table Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools