Developer Tools
Markdown Table Generator
Build a table in a grid and get clean Markdown (and HTML) — paste from Excel or CSV.
Updated July 13, 2026
How to use the markdown table generator
- 1Type into the grid — the first row is the header.
- 2Add or remove rows and columns, or paste cells from Excel/CSV to fill it fast.
- 3Click a column's align icon to set left, center, or right.
- 4Copy the Markdown, or switch to the HTML tab.
Common uses
- Adding a table to a README, GitHub issue, or pull request
- Turning a spreadsheet selection into Markdown
- Writing documentation or notes in Markdown
- Generating an HTML table without writing the tags
Frequently asked questions
Can I paste a table from Excel or Google Sheets?
Yes. Copy the cells and paste them into the import box — spreadsheets put tab-separated text on the clipboard, which this tool auto-detects and turns into a table. Plain CSV works the same way. It replaces the current grid, then you can tweak cells and alignment.
How do I set column alignment in Markdown?
Alignment lives in the dash row under the header, using colons: ':---' is left, ':---:' is center, '---:' is right. Click the align icon on any column to cycle through them and the tool writes the correct colons for you.
What if my text contains a pipe character?
Pipes (|) separate cells in Markdown, so a literal pipe inside a cell is automatically escaped to \| in the output. That keeps your table from breaking. The HTML output doesn't need this since it uses table tags instead of pipes.
About this tool
The Markdown table generator lets you build a table in a spreadsheet-like grid and copies out clean Markdown table syntax — the fiddly pipes-and-dashes format that's easy to get wrong by hand. Add and remove rows and columns, set per-column alignment (left, center, right), and paste directly from Excel or Google Sheets: their tab-separated clipboard format is auto-detected, and CSV works too. An HTML tab gives you a ready table element instead. Pipe characters in your cells are escaped so they don't break the layout. Unlike a Markdown editor, which renders prose, this focuses on producing correct table markup. Everything runs in your browser.
Like most tools on UtilityBase, the markdown table generator runs entirely in your browser — nothing you enter is uploaded or stored on a server. It's free to use with no account required. Browse more developer tools here.
Was this tool helpful?
Related tools
Markdown Editor
Write markdown with a live preview — autosaved locally, HTML export included.
Text Tools
CSV to JSON Converter
Convert CSV to JSON and JSON back to CSV — quotes and commas handled properly.
Developer Tools
HTML Formatter
Beautify or minify HTML in your browser, with byte savings shown on minify.
Developer Tools
JSON Formatter
Format, validate, and minify JSON with precise error locations.
Developer Tools
What Is My IP
Your public IP, and exactly what it reveals — location, ISP, timezone.
Developer Tools
Regex Tester
Test regular expressions live with match highlighting, groups, and a cheat sheet.
Developer Tools