GFM to HTML: GitHub Flavored Markdown, converted exactly
GitHub Flavored Markdown is CommonMark plus the extensions that make README files useful: pipe tables, task lists, strikethrough, fenced code with language hints, and bare URLs that become links. A converter that only implements CommonMark drops half of that.
This page opens with a GFM sample already loaded — a table with alignment, a task list, a fence and a blockquote — so you can confirm each extension renders before you paste your own document.
ToolGuest GFM to HTML converts GitHub Flavored Markdown — pipe tables with alignment, task lists, strikethrough, fenced code with language classes and autolinked URLs — into clean HTML in the browser, with a live preview, zero ads and no uploads.
What this page converts, and what to check
The table below is the short version of the parser's behaviour for the constructs this page is about, with the detail that usually decides whether the output survives.
| GFM extension | Markdown you write | HTML you get |
|---|---|---|
| Pipe table | | a | b | plus a |---|---| delimiter row | <table><thead>…<tbody> with per-cell content |
| Task list | - [x] done and - [ ] todo | <li> with a disabled, pre-ticked checkbox |
| Striketrough | ~~removed~~ | <del>removed</del> |
| Fensed code with a hint | Triple backticks followed by a language name | <pre><code class="language-js">, escaped |
| Autolinked URL | A bare https://… in running text | The URL as text, ready for your site's linkifier |
Which extensions make GFM different from CommonMark
CommonMark defines headings, emphasis, lists, blockquotes, links, images and code. GFM adds tables, task lists, strikethrough, autolinked URLs and fenced code blocks with language hints, plus the HTML filtering GitHub applies when it renders a README.
The converter implements the first four directly and treats bare URLs as text, because whether they should become links is a publishing decision, not a parsing one. Fensed blocks keep their language hint as a class, which is what a highlighter needs.
Getting a Markdown table to survive the conversion
A GFM table needs three things: a header row, a delimiter row with one dash group per column, and body rows with the same number of cells. Miss the delimiter row and the pipes become a paragraph. Add a column to the header and forget the delimiter and the table silently loses a column.
Alignment lives in the delimiter row: :--- left, :---: centre, ---: right. The converter carries it into the output, so a numeric column stays right-aligned without extra CSS. Cells can hold emphasis, code and links, but not block elements.
All Markdown to HTML, Markup & Developer Tools
Every page below runs the same client-side parser, so a conversion behaves identically wherever you land. Pick the page that matches the job in front of you.
Start here
Convert & preview
GFM to HTML questions, answered
What is GitHub Flavored Markdown?
GFM is CommonMark plus the extensions GitHub added for README files: pipe tables, task lists, strikethrough, autolinked URLs and fenced code with language hints. It is the dialect most documentation platforms and static site generators accept, which is why it is the default expectation for a Markdown converter.
How do I convert a GFM table to HTML?
Write a header row, a delimiter row with one dash group per column, then the body rows, and the converter emits a table with a header and one cell per column. Alignment markers in the delimiter row are applied. The sample loaded on this page includes a table you can edit.
Are task lists and strikethrough supported?
Yes. A list item starting with [x] or [ ] renders as a list item containing a disabled checkbox, ticked when marked x. Double tildes around text produce a del element. Both work inside tables and nested lists, which is where hand-rolled converters usually break.
Does GFM autolink bare URLs in the output?
GFM on GitHub turns a bare URL into a link. This converter leaves it as text so the decision stays yours: some CMSs linkify automatically, some do not, and a doubled link is worse than none. Explicit Markdown links always produce anchor elements.
Is GFM the same as CommonMark?
No. CommonMark is the base specification; GFM is a strict superset that adds tables, task lists, strikethrough, autolinks and fenced code language hints. Everything valid in CommonMark is valid GFM, but the reverse is not true, so a GFM table will not render in a strict CommonMark-only renderer.