Skip to content

Markdown Table to HTML

Markdown tables (the pipe-and-dash format) are easy to write but pasting them into a CMS or email often loses the table structure. Convert pipe-delimited markdown into semantic HTML <table>, <thead>, <tbody>, <th>, <td> with proper alignment, ready to paste into Confluence, WordPress, Gmail, or any HTML-aware editor.

When to use this

Use to: port markdown documentation to Confluence (which doesn't natively render markdown tables in older versions), embed a table in an email signature or Gmail, generate static-site table HTML from markdown sources, convert GFM tables for use in non-GFM markdown engines.

Frequently Asked Questions

Does it preserve column alignment?

Yes - markdown alignment markers (`:---` left, `:---:` center, `---:` right) convert to inline `style="text-align: ..."` on the <th> and <td> cells. Use a CSS class if you prefer; the tool offers both options.

What if my table has merged cells?

Standard markdown tables don't support merged cells (colspan / rowspan). If you need merged cells, you'll need to author the HTML directly or use a markdown extension like MultiMarkdown. Our converter only handles standard pipe-table syntax.

Powered by Markdown to HTML Converter.

Other targeted versions of this tool — each tuned for a specific use case.

Or use the main Markdown to HTML Converter if your use case isn't covered above.