Markdown Table Generator
Create Markdown tables in a visual grid, set column alignment, and import CSV data.
Updated
What is the Markdown Table Generator?
A fast, visual Markdown table editor that works directly in your browser.
Build tables with a spreadsheet‑like grid, set column alignments, enable header rows, and get perfectly formatted Markdown output – instantly.
Whether you need a simple two‑column list or a complex feature matrix for your documentation, this tool removes the friction of manually counting pipes and dashes. Just click to add rows/columns, type your content, and copy the result in one click.
Why this tool?
- Zero syntax memorization – the grid handles all the formatting for you.
- Live preview – see the exact Markdown as you type, no guesswork.
- Alignment control – left, center, right alignment per column with a single dropdown.
- CSV import — paste comma-separated data to fill the grid. Data copied directly from spreadsheet cells is often tab-separated, so export it as CSV first.
- Prettify mode – automatically pads cells so your table source remains readable and neat.
- Export flexibility – copy Markdown, copy CSV, or download a
.csvfile for further processing.
The table is generated in your browser; the table data is not uploaded by this tool.
How it works
Build your table visually
Start with the grid
The tool opens with a ready‑to‑use table containing a few rows and columns.
Click any cell to type your content.Add or remove rows / columns
Use the arrow and trash icons next to each row and column to insert or delete elements.
You can insert rows above/below, columns left/right.Set header and alignment
- Toggle Header row on to generate a separator line after the first row.
- Choose Left, Center, or Right alignment per column using the dropdowns above each column.
Prettify (optional)
WhenPrettify outputis enabled, the generator will align pipe symbols for a cleaner source view.Copy or export
- Use Copy Markdown to grab the formatted table for your docs, README, or issue.
- Copy CSV or CSV download gives you a comma‑separated version that can be reopened in spreadsheet apps.
Import from CSV
- Click Import CSV and paste comma-separated data. If you copied cells directly from a spreadsheet, export or convert them to CSV first; tab-separated spreadsheet pastes are not imported as separate columns.
- The grid instantly populates; alignment can be fine‑tuned afterwards.
The importer supports quoted fields, but not fields that contain line breaks.
Under the hood
The tool transforms the visual grid into a standard | column | column | Markdown table with optional alignment colons (:---, :---:, ---:). Prettify mode pads cells with spaces so data rows are easier to scan in the Markdown source.
The table is generated in your browser; the table data is not uploaded by this tool.
Examples
CSV to Markdown Table
Import CSV data and instantly generate a formatted markdown table.
Name,Age,City
Alice,30,New York
Bob,25,Los Angeles
Charlie,35,Chicago| Name | Age | City |
| :--- | :--- | :--- |
| Alice | 30 | New York |
| Bob | 25 | Los Angeles |
| Charlie | 35 | Chicago |Simple Contact Table
Create a clean contact table with names and emails.
| Name | Email |
|------|-------|
| John Doe | john@example.com |
| Jane Smith | jane@example.com || Name | Email |
| :--- | :--- |
| John Doe | john@example.com |
| Jane Smith | jane@example.com |Project Task Board
Build a task list with status and assignee columns.
| Task | Status | Assignee |
|------|--------|----------|
| Design header | In progress | Alice |
| Write content | Done | Bob || Task | Status | Assignee |
| :--- | :--- | :--- |
| Design header | In progress | Alice |
| Write content | Done | Bob |Frequently asked questions
What is a Markdown table?
What is a Markdown table?
A Markdown table is a plain‑text table that uses pipe (|) and hyphen (-) characters to define rows and columns.
It’s widely supported in platforms like GitHub, GitLab, Notion, and most static site generators.
How do I align columns?
How do I align columns?
Use the dropdowns above each column in the visual grid. Choose Left, Center, or Right.
The generator will insert the correct colon syntax (:---, :---:, ---:) in the header separator row.
Can I import data from Excel or Google Sheets?
Can I import data from Excel or Google Sheets?
Yes, if the data is comma-separated. Export or convert the spreadsheet data to CSV, then click Import CSV and paste it. The importer handles quoted fields and sets column alignments to left by default. It does not split tab-separated cells copied directly from a spreadsheet into columns.
Does the generated table work on GitHub?
Does the generated table work on GitHub?
The output uses the pipe-table syntax supported by GitHub Flavored Markdown and many other Markdown renderers. It adds a header separator and alignment markers when the header option is on, and escapes pipe characters inside cells.
How do I copy the table into my document?
How do I copy the table into my document?
Click Copy Markdown to place the formatted table on your clipboard. Then paste it directly into any Markdown file, README, issue comment, or text editor.
Can I add or remove rows and columns?
Can I add or remove rows and columns?
Yes. The grid includes arrow and delete icons to insert or delete rows and columns at any position. You can also use the Clear button to reset the table to its initial state.
Is my data stored or sent anywhere?
Is my data stored or sent anywhere?
The table is edited in your browser and its content is not uploaded by this tool. It is not saved automatically, so copy or download it if you need to keep it.
Why does the output have extra spaces (prettify mode)?
Why does the output have extra spaces (prettify mode)?
Prettify mode aligns the pipe symbols by padding cells with spaces. It makes the raw Markdown easier to read and edit later. You can disable it via the checkbox if you prefer a compact format.
Related tools
More utilities you might find handy.
Markdown Previewer
Preview common Markdown formatting as you type, switch themes, check document stats, and copy the rendered HTML.
Markdown to Plain Text
Remove common Markdown formatting and convert headings, lists, links, and tables to readable plain text.
.env File Generator
Generate .env files from key-value pairs with configurable quoting; verify the output with the parser used by your application.