Markdown Table Formatter

Paste or create markdown tables. Format, align columns, sort, import from CSV, export. Live preview. No external libraries.

Import from CSV

Markdown table

Col 1:
Col 2:

Live preview

Column 1Column 2

Sortable table

Column 1 Column 2

What Is a Markdown Table?

A markdown table is a way to represent tabular data in plain text. It uses pipe characters (|) to separate columns and a row of dashes to separate the header from the body. Most Markdown renderers (GitHub, GitLab, Notion, etc.) display tables as formatted HTML. Proper alignment and consistent column widths make tables easier to read in both raw and rendered form.

This tool helps you create, format, and align markdown tables without manual padding. You can paste an existing table, build one from scratch, or import from CSV.

Markdown Table Alignment Syntax

Alignment is specified in the separator row. Left-aligned: :--- (colon on the left). Center: :---: (colons on both sides). Right-aligned: ---: (colon on the right). The tool lets you set alignment per column with a single click, then formats all cells to match. This produces clean, readable markdown that renders correctly everywhere.

Converting CSV to Markdown Tables

CSV (comma-separated values) is a common export format from spreadsheets and databases. This tool parses CSV (including quoted fields) and converts it to a markdown table. Paste your CSV, click Import, and the first row becomes the header. Useful for embedding data in README files, documentation, or wiki pages.

Frequently Asked Questions

Related Tools

Explore More Tools

Find this tool useful? Buy us a coffee to keep DuskTools free and ad-light.