Markdown表格生成器
使用可视化编辑器创建Markdown表格。调整行、列、对齐方式,并实时预览渲染后的表格。
使用可视化编辑器创建Markdown表格。调整行、列、对齐方式并复制Markdown输出。
3
3
| # | |||
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
| Header 1 | Header 2 | Header 3 | | -------- | -------- | -------- | | | | | | | | | | | | |
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| — | — | — |
| — | — | — |
| — | — | — |
所有表格生成都在浏览器中进行,不会向任何服务器发送数据。
How to Use This Tool
- 1
Set table dimensions
Use the + and - buttons to adjust the number of rows and columns for your table.
- 2
Edit cells
Click on any cell in the table editor to type your content. Headers are in the top row.
- 3
Set column alignment
Click the alignment button under each header to toggle between left, center, and right alignment.
- 4
Copy markdown
Click "Copy" to copy the generated markdown table to your clipboard. Toggle compact mode for shorter output.
Frequently Asked Questions
- What is a markdown table?
- A markdown table uses pipes (|) and dashes (-) to create table structures in plain text. It renders as an HTML table in markdown viewers like GitHub, GitLab, and documentation sites.
- What is compact mode?
- Compact mode removes the padding spaces that align columns visually. The markdown still renders identically but takes less space in your source file.
- How does column alignment work?
- In markdown, alignment is set in the separator row: left-aligned (---), center-aligned (:---:), or right-aligned (---:). Click the alignment button to cycle through options.
- What are the limits?
- This tool supports up to 20 rows and 10 columns. Each cell can contain up to 200 characters. Pipe characters (|) are automatically escaped.