Markdown Table Generator

Create markdown tables with a visual editor. Adjust rows, columns, alignment, and preview the rendered table in real-time.

Create markdown tables with a visual editor. Adjust rows, columns, alignment, and copy the markdown output.

3
3
#
1
2
3
| Header 1 | Header 2 | Header 3 |
| -------- | -------- | -------- |
|          |          |          |
|          |          |          |
|          |          |          |
Header 1Header 2Header 3
All table generation happens in your browser. No data is sent to any server.

How to Use This Tool

  1. 1

    Set table dimensions

    Use the + and - buttons to adjust the number of rows and columns for your table.

  2. 2

    Edit cells

    Click on any cell in the table editor to type your content. Headers are in the top row.

  3. 3

    Set column alignment

    Click the alignment button under each header to toggle between left, center, and right alignment.

  4. 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.