Markdown Table Generator
Build markdown tables visually. Click cells to edit, set alignment, import CSV, and export in multiple formats.
What Is a Markdown Table?
A markdown table uses pipes (|) and hyphens (-) to structure data into rows and columns. Markdown tables are supported by GitHub, GitLab, Reddit, Notion, and most documentation platforms. They're the standard way to present tabular data in README files, wikis, and technical documentation.
This free markdown table generator lets you build tables visually instead of typing pipe characters by hand. Click any cell to edit its content, use the + and − buttons to add or remove rows and columns, and set column alignment with a single click. The live preview updates instantly as you type.
How to Use the Markdown Table Generator
Start by setting the number of rows and columns using the + and − buttons. Click any cell to type content. Use Tab to move between cells and Enter to add a new row. Click the alignment indicator on each column header to cycle through left, center, and right alignment. The markdown output updates in real time below the table.
Import and Export Options
Click Import CSV/TSV to paste spreadsheet data — the generator auto-detects the delimiter and populates the table. Export your table as Markdown for documentation, HTML for web pages, or CSV for spreadsheets. The pretty print toggle aligns pipe characters vertically for cleaner raw markdown.
Keyboard Shortcuts
Navigate the table efficiently with keyboard shortcuts: Tab moves to the next cell, Shift+Tab moves to the previous cell, and Enter adds a new row when pressed in the last row. These shortcuts make it fast to build large tables without reaching for the mouse.
Frequently Asked Questions
How do I create a markdown table?
A markdown table uses pipes (|) and hyphens (-) to define columns and rows. The first row is the header, followed by a separator row of hyphens, then data rows. This generator lets you build tables visually — click cells to edit, use +/- buttons to add or remove rows and columns, and the markdown is generated automatically.
How do I set column alignment in a markdown table?
Column alignment is controlled by colons in the separator row. A colon on the left (:---) means left-aligned, colons on both sides (:---:) means centered, and a colon on the right (---:) means right-aligned. In this generator, simply click the alignment button on each column header to cycle through left, center, and right alignment.
Can I import data from a spreadsheet into a markdown table?
Yes. Copy cells from any spreadsheet application (Excel, Google Sheets, Numbers) and paste into the import textarea. The generator automatically detects tab-separated values from spreadsheet pastes. You can also paste comma-separated (CSV) data. The imported data instantly populates the visual table editor.
What is pretty print formatting for markdown tables?
Pretty print aligns the pipe characters vertically by padding each cell with spaces so all columns have equal width. This makes the raw markdown source code much easier to read and edit by hand. While both compact and pretty-printed tables render identically, pretty print is preferred in documentation and README files for readability.
What export formats are supported?
The generator supports three export formats: Markdown (standard pipe-delimited table syntax compatible with GitHub, GitLab, and most markdown renderers), HTML (a complete <table> element ready to paste into web pages), and CSV (comma-separated values for importing into spreadsheets or databases).