ZapKit

CSV to Markdown Table Generator

Paste CSV or cells copied from Excel or Google Sheets and get a neatly aligned Markdown, plain-text or HTML table.

What is a Markdown table generator?

Markdown tables are written with pipes and dashes, which is tedious to type and painful to keep aligned when a value changes. A table generator builds the table from data you already have, such as a CSV export or a range copied from a spreadsheet.

Developers use it to put tables in READMEs, GitHub issues and documentation; writers use it for Markdown-based blogs and notes. The same data can also become an ASCII table for code comments and terminal output, a Unicode box table, or an HTML table for a web page.

How to use the CSV to Markdown Table Generator

  1. 1.Paste the data

    Comma, semicolon, tab or pipe separated. Cells copied from a spreadsheet are tab separated and work as is.

  2. 2.Choose a style

    Markdown for GitHub and docs, ASCII or box drawing for code comments and terminals, or HTML.

  3. 3.Copy the table

    Columns are padded so the table lines up in plain text too.

Example: a pricing table

Four rows of CSV with a header: Plan, Users, Price; Free, 1, $0; Team, 10, $49; Enterprise, Unlimited, Contact us:

Header
| Plan | Users | Price |
Rule
| ---------- | --------- | ---------- |
Last row
| Enterprise | Unlimited | Contact us |
Rows × columns
3 × 3

Every column is padded to its widest value, so the pipes line up in the raw text.

Aligned in plain text, not just when rendered

Columns are padded to the width of their longest cell, so the Markdown is readable even before it's rendered, which reviewers appreciate in pull requests. Wide characters like Chinese and emoji count as two columns so alignment holds in monospaced fonts.

The separator is detected automatically from the first rows. Pipes inside cells are escaped in Markdown, and HTML output escapes <, > and &. Without a header row, Markdown tables get Column 1, Column 2 headings because the format requires one.

Frequently asked questions

How do I make a table from Excel?

Select the cells, copy them and paste here. Spreadsheet cells arrive tab separated, which is detected automatically.

Can I centre or right-align columns?

Yes. Choose Centre or Right; Markdown output gets :---: or ---: markers so it renders aligned too.

Does it handle commas inside values?

Yes, when the value is quoted, as in "Rao, Priya", following standard CSV rules.

What is the box drawing style for?

Code comments, CLI output and plain-text emails, where ┌─┐ lines look cleaner than +--+.

More Developer tools