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.Paste the data
Comma, semicolon, tab or pipe separated. Cells copied from a spreadsheet are tab separated and work as is.
2.Choose a style
Markdown for GitHub and docs, ASCII or box drawing for code comments and terminals, or HTML.
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 +--+.
Related tools
JSON ↔ CSV Converter
Convert JSON arrays to CSV and CSV back to JSON.
CSV Delimiter Converter
Switch CSV between commas, semicolons, tabs and pipes.
Markdown Previewer
Live Markdown preview with GitHub tables and code blocks, and HTML output.
JSON Formatter & Validator
Pretty-print, minify, sort and validate JSON with line-numbered errors.
JSON to TypeScript Interface Generator
Generate TypeScript interfaces or types from a JSON sample.
JSON ↔ YAML Converter
Convert JSON to YAML and YAML to JSON.
More Developer tools
JSON & data
CSV tools
Network & system
Web & API
Git & releases
Encoding & security
- Base64 encode & decode
- URL encode & decode
- JWT decoder
- Hash generator
- HTML entity encoder
- Text to binary
- Morse code translator
- Caesar cipher & ROT13
- Random string generator
- Secret key generator
- 2FA code generator (TOTP)
- Encrypt & decrypt text
- Encrypt & decrypt files
- SSH key generator
- Base32 encoder and decoder
- Unicode escape converter
- Nano ID generator
- JWT generator
Text & code
- Regex tester
- Text diff checker
- Cron expression explainer
- Lorem ipsum generator
- Slug generator
- Strip HTML tags
- Unicode character inspector
- URL parser
- Markdown TOC generator
- cURL converter
- Whitespace visualizer
- Markdown link extractor
- Regex escape
- Regex match extractor
- Split text by regex
- HTML, CSS and JS playground
- Mock data generator
- Keyboard event tester
- ASCII table