Markdown 表格生成器

可视化创建 Markdown 表格,支持添加行列、设置对齐方式,一键复制格式化的 Markdown。

What Is the Markdown Table Generator?

The Markdown table generator is a free online visual editor for creating Markdown tables. Instead of manually counting pipes and dashes, you fill in a spreadsheet-style grid and the tool generates correctly formatted Markdown syntax in real time. You can add and remove rows and columns, toggle column alignment between left, center, right, and default, and copy the result with one click.

Markdown tables are widely used in README files, documentation, pull request descriptions, wikis, and note-taking apps. The syntax is straightforward but tedious to write by hand — especially when columns need to stay aligned. This generator handles the formatting automatically.

How to Use the Markdown Table Generator

  1. Edit the header row by typing column names into the top input fields.
  2. Click the alignment button below each header to cycle through left, center, right, and default alignment.
  3. Fill in the data cells in the rows below.
  4. Use the + button to add columns, and the row button at the bottom to add rows.
  5. The Markdown output updates live. Click Copy to copy it.
  6. To edit an existing table, switch to the Import tab and paste your Markdown.

Features

  • Visual grid editor — no manual pipe counting
  • Add and remove rows and columns dynamically
  • Per-column alignment: left, center, right, or default
  • Live Markdown preview that updates as you type
  • Import existing Markdown tables for editing
  • Output follows GitHub Flavored Markdown (GFM) table spec
  • Columns are padded for readable plain-text output

FAQ

What is a Markdown table?

A Markdown table is a way to display tabular data in plain text using pipes (|) to separate columns and hyphens (---) to create the header separator row. Most Markdown renderers — including GitHub, GitLab, Notion, and VS Code — render these as formatted HTML tables.

How do I set column alignment in a Markdown table?

Column alignment is set in the separator row using colons. A colon on the left (:---) means left-aligned, a colon on the right (---:) means right-aligned, and colons on both sides (:---:) means center-aligned. No colons (---) means default alignment.

Can I import an existing Markdown table?

Yes. Switch to the Import tab, paste your existing Markdown table, and click Import. The table will be loaded into the visual editor where you can modify it.

Does the generator work with GitHub Flavored Markdown?

Yes. The output follows the GitHub Flavored Markdown (GFM) table specification, which is also supported by GitLab, Bitbucket, Notion, Obsidian, VS Code, and most modern Markdown renderers.