Markdown Table to HTML Converter
You have a Markdown table — from GitHub, an issue tracker, a chat — and you need it in HTML. Pasting into a Markdown-aware editor works, but sometimes you want the raw <table> markup for an email, CMS, or web page that doesn't process Markdown. This converter takes a GFM table and emits clean HTML with proper alignment, escaping, and optional styling.
HTML output
Live preview
How to use the Markdown Table to HTML Converter
Paste a GitHub-flavored Markdown table. The HTML output and live preview appear instantly. Use the alignment syntax in the header separator: :--- = left, :---: = center, ---: = right.
About Markdown Table to HTML Converter
GitHub Flavored Markdown (GFM) tables are a popular Markdown extension (technically part of CommonMark via the GFM spec). A table consists of:
- A header row with pipe-separated cells.
- A separator row with dashes — at least three per cell. Optional colons indicate alignment (
:---left,:---:center,---:right). - One or more data rows with pipe-separated cells.
Leading and trailing pipes are optional but encouraged. Cell content can include any inline Markdown (links, emphasis, code) which is rendered. Multi-line cells aren't supported in basic GFM — use <br> tags for line breaks.
This converter does GFM-compliant parsing and outputs HTML. Optional classes match Bootstrap conventions; inline-styles mode produces fully self-contained HTML suitable for email (where external CSS is often stripped).
Common use cases
- Email tables — converting a docs table to email-safe inline-styled HTML.
- CMS / blog imports — your CMS doesn't do Markdown but you have Markdown content.
- Static site generators with non-MD inputs — generate HTML to drop in.
- Reports / dashboards — quickly render a tabular result that came in Markdown form.
- Slack-to-email — Markdown copy-paste from Slack to email body.
Frequently asked questions
Does it handle inline Markdown in cells?
Multi-line cell support?
<br> for line breaks inside a cell.Why offer inline styles?
<style> tags but respect style="..." attributes. Inline-style mode produces email-portable HTML.