Markdown Table Generator / Formatter

Create clean Markdown tables, format existing tables, align columns, and copy ready-to-use Markdown output.

Markdown or CSV input

Paste an existing Markdown table, CSV, or TSV and convert it into an editable grid.

Processed locally in your browser Limit Plain text. Your input is processed in your browser and is not uploaded or sent to a server. Avoid pasting production secrets, access tokens, private keys, passwords, or sensitive customer data unless you understand the risk.
Sample tables

Editable table

Add rows, add columns, and set Markdown alignment per column.

Rows

Markdown output

Formatted GitHub-flavored Markdown with escaped pipe characters.

Rows 3Columns 3Total cells 9Empty cells 9Output chars 174
PreviewSandboxed Markdown rendering
Generate or format a table to preview it safely.

Markdown Table Guide

Build readable Markdown tables for docs, READMEs, and issues

Use the generator to create table syntax, clean pasted tables, align columns, and convert copied spreadsheet rows into GitHub-flavored Markdown.

Markdown table syntax

A Markdown table uses a header row, a separator row with dashes, and one row per record. Pipes separate cells, and empty cells are preserved between pipes.

Column alignment

Use :--- for left alignment, :---: for centered values, and ---: for right-aligned numbers, prices, or counts.

GitHub-flavored Markdown tables

GitHub, many README renderers, and technical note tools support pipe tables. Keeping columns aligned in source makes reviews and diffs easier to scan.

CSV and TSV to Markdown

Paste comma-separated or tab-separated values from spreadsheets, API exports, or docs drafts, then format the result as a Markdown table without uploading the data.

Escaping pipe characters

Literal pipe characters inside cells are escaped as \| so they stay part of the cell value instead of splitting the table into extra columns.

Markdown Table Generator vs Markdown Previewer

This tool focuses on creating and formatting table source. Markdown Previewer is better for reviewing a full Markdown document with headings, lists, links, and code blocks.

Markdown Table Generator FAQ

Does this Markdown Table Generator upload my table?

No. Parsing, formatting, preview, copy, and downloads run locally in your browser.

Can I paste a Markdown table and edit it as a grid?

Yes. Paste a simple pipe table, choose Format input, and the parsed headers, rows, and alignments become editable fields.

Can I convert CSV or TSV to a Markdown table?

Yes. Paste CSV or tab-separated rows into the input editor. The first row becomes the header row and remaining rows become table body rows.

Will empty cells be removed?

No. Empty cells are preserved so row and column counts stay stable while you edit or format the table.

Is the preview safe for untrusted Markdown?

Yes. The preview reuses the existing sanitized Markdown preview pipeline and renders inside a sandboxed iframe instead of injecting generated HTML into Angular templates.