AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I make a markdown table?

Open the Markdown Table Generator, type your data into the spreadsheet-style grid (or paste CSV / TSV / an existing markdown table to fill it instantly), set each column to left, center, or right, then copy the GitHub-flavored markdown. Everything runs in your browser — nothing is uploaded.

  • Edit cells in a visual grid — add or remove rows and columns, reorder rows
  • Set per-column alignment; the :--- / :-:/ ---: delimiter row is written for you
  • Import CSV, TSV, copied spreadsheet cells, or an existing markdown table
  • Copy or download the table as Markdown, HTML, or CSV
  • 100% client-side — your data never leaves the tab

What is

Markdown Table

A markdown table uses pipe characters (|) to separate columns and a delimiter row of hyphens beneath the header to mark it as a table. Colons in that row (:---, :---:, ---:) set left, center, or right column alignment. This is GitHub-Flavored-Markdown (GFM) syntax.

Markdown Formatting

Related terms

GitHub-Flavored MarkdownColumn AlignmentPipe DelimiterCSV to Markdown

Frequently Asked Questions

Type your data into the grid editor, set the column alignment, and copy the generated GitHub-flavored markdown — no manual pipes needed.

Open the Markdown Table Generator and fill the spreadsheet-style grid: the first row is the header, and you can add or remove rows and columns with one click. Pick left, center, or right alignment per column, and the tool writes the correct pipes and :--- delimiter row automatically. Then copy or download the table as Markdown. You can also paste CSV, TSV, or an existing markdown table to fill the grid instantly. It all runs in your browser.

Add a colon in the delimiter row: :--- is left, :---: is center, and ---: is right. This tool sets it for you when you pick an alignment.

Markdown column alignment is controlled by the delimiter row beneath the header. A leading colon (:---) means left-aligned, colons on both sides (:---:) mean centered, and a trailing colon (---:) means right-aligned; with no colon the column defaults to left. In the Markdown Table Generator you just click a column to cycle its alignment and the correct delimiter is generated automatically.

Yes — paste your CSV or TSV into the import box and the grid fills automatically, then copy the markdown. The delimiter is auto-detected.

Paste CSV, tab-separated values, or cells copied straight from Excel or Google Sheets into the import box. The tool auto-detects the delimiter (comma, semicolon, or tab), respects quoted fields, and loads the data into the editable grid. You can then adjust alignment and headers before copying the markdown — or export back to HTML or CSV. Nothing is uploaded; the conversion happens entirely on your device.

GitHub-flavored tables work on GitHub, GitLab, Reddit, Notion, and VS Code, but plain CommonMark and a few renderers do not support tables.

This tool outputs GitHub-Flavored-Markdown (GFM) tables, which render on GitHub, GitLab, Bitbucket, Reddit, Notion, VS Code, and most modern documentation engines. Plain CommonMark has no table support, so a handful of strict renderers ignore tables or vary in how they apply alignment. GFM cells are single-line and cannot contain block elements like lists or code blocks, and literal pipes inside a cell are escaped as \| so they do not split columns.

Detailed Explanation

How It Works

A Spreadsheet-Style Markdown Table Editor

The Markdown Table Generator turns an editable, spreadsheet-style grid into GitHub-Flavored-Markdown (GFM) table syntax. The first grid row is the header; users add or remove rows and columns, reorder rows, edit any cell, and toggle whether a header row is used, and the markdown output regenerates live on every keystroke. The tool writes the pipe characters and the hyphen delimiter row automatically, so the user never types markdown table syntax by hand.

  • Visual grid editor — add/remove rows & columns, reorder rows, toggle header
  • Pipes and the :--- delimiter row are generated automatically
  • Markdown, HTML and CSV outputs all update live as you type
  • Runs entirely client-side with no server, upload, or tracking
Methodology

Per-Column Alignment and Source Formatting

Each column can be set to left, center, or right alignment, which the engine encodes in the GFM delimiter row using colons: :--- for left, :---: for center, and ---: for right. The output can be rendered "pretty" — columns padded with spaces so the raw markdown lines up in a monospace editor — or "compact" for the smallest possible diff. Pipe characters inside a cell are escaped as \| and newlines are collapsed to spaces, because GFM cells must stay on a single line.

  • Colon placement in the delimiter row sets left, center, or right alignment
  • Pretty (padded) output aligns the source; compact output minimizes size
  • Literal pipes are escaped as \| so they do not break the columns
  • Cell newlines are collapsed because GFM cells are single-line
Use Cases

Importing CSV / TSV / Markdown and Exporting

Users can paste CSV, TSV, cells copied from Excel or Google Sheets, or an existing markdown table into an import box; the engine auto-detects the delimiter (comma, semicolon, or tab), honours RFC-4180 quoted fields, and — for markdown input — recovers each column’s alignment from the delimiter row. The same grid exports to Markdown, a clean HTML <table>, or RFC-4180 CSV, each copyable or downloadable. A read-only HTML preview rendered with the marked library shows how the table will look.

  • Auto-detects CSV/TSV delimiters and respects quoted fields
  • Parses existing markdown tables, recovering per-column alignment
  • Exports to Markdown (.md), HTML, and CSV — copy or download
  • Live rendered preview of the resulting table
Limitations

GFM Compatibility and Honest Limitations

The generated syntax is GitHub-Flavored Markdown, which renders on GitHub, GitLab, Bitbucket, Reddit, Notion, VS Code, and most modern documentation engines. Plain CommonMark has no table support, so some strict renderers ignore tables or differ in how they apply alignment. GFM cells cannot contain block elements (lists, code blocks, headings) or real line breaks, so long cells remain on a single row — a property of the markdown standard, not a limitation of this tool.

  • GFM tables render on GitHub, GitLab, Reddit, Notion, and VS Code
  • Plain CommonMark has no table syntax; some renderers vary on alignment
  • GFM cells cannot hold block elements or hard line breaks
  • Honest, standards-based caveat rather than a tool defect
Markdown table generation: in-browser (AnyTool) vs typical online generators
CapabilityAnyToolTypical online generators
ProcessingRuns entirely in your browserOften server-side or ad-heavy
Grid editorFull add/remove/reorder rows & columnsUsually fixed or limited
Per-column alignmentLeft / center / right, written for youSometimes, often manual
ImportCSV, TSV, pasted cells, existing markdownCSV-only or paste-only
Export formatsMarkdown, HTML, CSVMarkdown only
Source stylePretty (aligned) or compactUsually one fixed style
PrivacyNever uploaded, works offlineMay transmit or log your data
Cost / signupFree, no signupOften gated or rate-limited

AnyTool builds the table locally and uploads nothing.