Table to Markdown

🚫 Using an adblocker? I respect your choice! Please consider supporting this site by sharing it with a friend or colleague, or if it's saved you a chunk of time, with a coffee. Thanks!

- John, creator of this little site

Format Markdown Table

Need to format a Markdown table? You've come to the right place.

Markdown tables have loose formatting requirements. Rows can have leading and ending pipes (|) but don't require them them. Within the same table, some rows can have those pipes while other rows omit them, and the table is still valid. Columns can be completely different widths, too.

This table from the GitHub Flavored Markdown docs, for example, is still a valid Markdown table, even though it's hard on the eyes:

| abc | defghi |
:-: | -----------:
bar | baz

Our Markdown Table Formatter

Table to Markdown's Markdown table formatter makes it easy prettify a Markdown table with the click of a button. You can customize the table output, too, to make your table look just right.


There are other sites that format Markdown tables that may work well for you, too.

Markdown Table Formatter

Markdown Table Formatter does exactly what it says on the tin. It does a good job formatting tables and comes with a few example tables to show how it will format different Markdown table input. homepage homepage

Markdown Table Prettifier VS Code Extension

If you use Visual Studio Code, there are a number of Markdown table formatter plugins. One popular extension is Markdown Table Prettifier, which takes in a selected Markdown table and replaces it with a well-formatted table.