Markdown Table Generator
Build a Markdown table in an editable grid, or paste CSV, TSV, or HTML to seed it, then export GFM, HTML, AsciiDoc, reST, or LaTeX. Everything stays in your browser.
The Markdown Table Generator runs entirely in your browser. The grid you edit, the TSV, CSV, or HTML you paste, and any file you import stay on your device — no table data is uploaded to ArrayKit.
Open the CSV to Markdown Converter
About Markdown Table Generator
The Markdown Table Generator turns an editable grid into a clean table you can drop into a README, wiki, pull request, or docs. Type directly into cells, add or remove rows and columns, and set each column to left, center, or right alignment. Already have data? Paste TSV, CSV, or an HTML table and it seeds the grid for you. When the table looks right, export it as GitHub-flavored Markdown or switch the format to HTML, AsciiDoc, reStructuredText, or LaTeX with one click. Pipe characters are escaped automatically so a value like cat a | grep b never breaks a cell. Built for developers and technical writers who assemble tables by hand. Every keystroke is processed on your device — nothing is uploaded.
Features
- Type into an editable grid and add or remove rows and columns as you go
- Set left, center, or right alignment independently for each column
- Seed the grid by pasting TSV, CSV, or an HTML table
- Import a .csv, .tsv, or .html file straight into the grid
- Export GitHub-flavored Markdown, HTML, AsciiDoc, reStructuredText, or LaTeX
- Escapes pipe characters so Markdown cells never break into extra columns
- Optional column padding lines up the raw Markdown source in a monospace editor
- Copy the result or download it as .md, .html, .adoc, .rst, or .tex
How to use the Markdown Table Generator
- Type your headers and cell values into the editable grid
- Add or remove rows and columns, and set each column's alignment
- Or click Import and paste TSV, CSV, or an HTML table to seed the grid
- Pick an output format, then copy the table or download the file
Example
Input
Name, Score
Alice, 30
(Score column set to right-aligned)
Output
| Name | Score |
| :--- | ---: |
| Alice | 30 |
Right-aligning the Score column writes the ---: separator, while the left-aligned Name column uses :---.
Common errors & troubleshooting
- A pipe (|) typed inside a cell splits the Markdown row into extra columns. — Nothing to do — the generator escapes pipes as \| automatically so the value stays inside a single cell.
- Pasted data all lands in one column instead of splitting into cells. — Import auto-detects tab vs comma; make sure every row uses the same delimiter, or paste an HTML <table> instead of loose text.
- GitHub renders the table but ignores the alignment you set. — Alignment lives in the separator row (:---, :---:, ---:). Copy the whole output, including that second line, so the renderer can apply it.
- A cell value that contains a line break splits into two rows. — Line breaks inside a Markdown cell are converted to <br> so the content stays on one row; other formats collapse them to a space.
Frequently asked questions
- How do I set per-column alignment in the generated table?
- Each column header has an L / C / R toggle. Left writes :--- in the separator row, center writes :---:, and right writes ---:, which is how GitHub-flavored Markdown and most renderers decide alignment.
- Can I paste an existing table to seed the grid instead of typing it?
- Yes. Click Import and paste tab-separated, comma-separated, or an HTML <table>. The tool detects the delimiter, fills the editable grid, and treats the first row as the header so you can tweak from there.
- Which output formats can this generator produce besides Markdown?
- The same grid exports as HTML (with a thead and tbody), AsciiDoc, reStructuredText grid tables, and a LaTeX tabular environment. Switch formats with one click and the output updates live.
- How are pipe characters inside table cells handled?
- In Markdown a bare pipe ends a cell, so any | in your text is escaped to \| and embedded newlines become <br>. AsciiDoc and LaTeX cells are escaped with their own rules so the table always stays intact.
- What does the Pad columns option do?
- It widens each Markdown column to match its longest cell so the raw source lines up neatly in a monospace editor. The rendered table looks identical either way — padding only affects the plain-text layout.
- Where is the table data I type or paste processed?
- Entirely in your browser. The grid you edit, the text you paste, and any .csv, .tsv, or .html file you import stay on your device and are never uploaded to ArrayKit.
Related tools
- CSV to Markdown Table — Convert CSV or TSV data into a Markdown table, with alignment and header options.
- HTML Table to JSON — Extract HTML tables into JSON or CSV, honoring headers and colspan, in your browser.
- HTML to Markdown — Paste HTML and convert it to clean Markdown live, with GFM tables, lists and code blocks.
- Markdown Preview — Render Markdown to HTML with a live preview.
- CSV to JSON — Convert CSV or TSV to JSON with type inference and nested keys, in your browser.
- SQL Formatter — Format SQL for MySQL, PostgreSQL, SQL Server, SQLite, BigQuery and Oracle.
All ArrayKit tools