Runs 100% in your browser — nothing is uploaded
Text & String

Markdown Table Generator

Build a Markdown table from a spreadsheet-style grid or imported CSV, with per-column alignment.

Markdown Table Generator
Client-side

About this tool

The Markdown Table Generator gives you a small spreadsheet-like grid — click any cell to edit it directly — and produces correctly formatted GitHub-Flavored Markdown table syntax as you go, including the alignment row that trips people up when writing tables by hand. Add or remove rows and columns with a click, mark whether the first row is a header, and set left, center, or right alignment independently for each column.

If your data already exists as CSV, paste it into the CSV import box and it populates the grid instantly using the papaparse library, which correctly handles quoted fields and embedded commas.

Both the raw Markdown syntax and a live rendered preview are shown side by side. All parsing and generation happens in your browser — your spreadsheet data is never uploaded anywhere.

FAQ

How does column alignment work in Markdown tables?
Alignment is set in the separator row beneath the header: :--- for left, :---: for center, and ---: for right. This tool generates that row automatically based on the alignment you pick per column.
Can I import data from Excel or Google Sheets?
Yes — copy your cells, paste them as CSV, and use the "Import from CSV" button. The parser handles quoted fields and embedded commas correctly.
What happens to pipe characters inside a cell?
Pipe characters are automatically escaped, since an unescaped pipe would be misread as a new column boundary.
Does the first row have to be a header?
No — toggle "First row is header" off and the tool auto-labels columns since Markdown tables require a header row structurally.
Can I resize the table after generating it?
Yes — use the +/- Row and +/- Column buttons at any time. Existing cell content is preserved when adding rows or columns.