Markdown Toolkit

New

Build tables and convert between Markdown and HTML

  • 100% Free
  • Files stay private
  • Works in your browser
Try it now·Markdown Toolkit

Build your table

Edit the cells, set each column's alignment, or paste a spreadsheet range straight into the grid.

Your Markdown table

Copy this straight into a README, a pull request or any Markdown editor.

Rows
3
Columns
3
Characters
147
MARKDOWN

Everything runs in your browser, so nothing you paste is uploaded. Tables use GitHub flavoured Markdown, which renders on GitHub, GitLab and most static site generators. The preview shows your own HTML exactly as written, so treat pasted HTML from other people with the same care you would anywhere else.

How it works

  1. Pick a mode

    Use Table Generator to build a Markdown table, or switch to Markdown to HTML or HTML to Markdown to convert text.

  2. Fill the grid or paste

    Type in the grid, use Add row and Add column, or paste a spreadsheet range. To convert, paste your text and press Convert to HTML or Convert to Markdown.

  3. Copy or download

    Copy the Markdown table or the converted output, or download it as a file. Markdown to HTML also shows a Live preview.

Markdown Toolkit is a free online tool that generates GitHub-flavored Markdown tables and converts text between Markdown and HTML in both directions, entirely in your browser. It is built for documentation writers, README authors, and anyone who drafts formatted text for a repository, a wiki, or a static site. Paste in Markdown, paste in HTML, or fill a small grid, and get clean, copy-ready output in seconds.

At a Glance

DetailSummary
What it doesBuilds Markdown tables and converts between Markdown and HTML both ways.
InputMarkdown text, HTML source, or an editable grid (also accepts pasted CSV or TSV).
OutputGitHub-flavored Markdown, HTML source, or a rendered live preview.
Runs whereIn your browser. Nothing is uploaded.
PrivacyYour text never leaves your device.
PriceAlways free, no sign-up.
Best forREADMEs, docs, wiki pages, and cleaning up pasted HTML.

What Is Markdown Toolkit?

Markdown Toolkit is a three-in-one editor that handles the most common Markdown chores from a single page. It uses the marked parser to turn Markdown into HTML, and the Turndown library to turn HTML back into Markdown. The table generator produces GitHub Flavored Markdown (GFM), the same pipe-and-dash table syntax that renders on GitHub, GitLab, and most modern documentation platforms.

Each mode is a tab. Markdown to HTML runs your text through marked.parse and shows both the raw HTML source and a rendered preview of your own content. HTML to Markdown runs a Turndown service configured with ATX-style headings (#, ##) and fenced code blocks (triple backticks), so the Markdown it returns matches what CommonMark and GFM tools expect. The table generator writes valid GFM table strings live as you type, including per-column alignment markers.

How Markdown Toolkit Is Different

Most Markdown converters do one direction only and leave you to hand-align table pipes by counting characters. Markdown Toolkit combines three tools, adds per-column alignment, and lets you paste a CSV or TSV block straight into the grid instead of retyping data. Because every conversion runs client-side, your draft stays on your machine.

CapabilityMarkdown ToolkitA Typical Converter
DirectionsTable generator, MD to HTML, and HTML to MD in one placeUsually one direction
Table alignmentPer-column left, center, or right toggleManual pipe editing
CSV or TSV pasteFills the grid automaticallyRarely supported
Where it runsIn your browser, no uploadOften uploads to a server
PreviewLive rendered HTML previewSource only

Who Benefits from This Tool

  • Documentation writers: assemble comparison and reference tables without memorizing GFM pipe syntax.
  • Open-source maintainers: draft README sections and paste tabular data from a spreadsheet in one step.
  • Technical bloggers: convert HTML pasted from a CMS into clean Markdown for a static-site build.
  • Support and knowledge-base teams: turn rich-text answers into portable Markdown for a wiki.
  • Developers: preview how marked will render a snippet before committing it to a repo.
  • Newsletter and forum posters: produce tables that render correctly on platforms that speak GFM.

Key Features

  • Table generator: set the number of rows and columns, edit headers and cells inline, and copy the finished GFM table.
  • Per-column alignment: a left, center, or right toggle writes the correct :---, :---:, or ---: markers for you.
  • CSV and TSV paste: drop a block copied from a spreadsheet and the grid fills itself.
  • Markdown to HTML: the marked parser outputs HTML source plus a live rendered preview side by side.
  • HTML to Markdown: Turndown returns ATX headings and fenced code blocks, ready for any GFM target.
  • Copy and download: every output offers a one-click copy and a file download, with no account required.

How to Use

  1. Pick a mode tab: Table Generator, Markdown to HTML, or HTML to Markdown.
  2. For the table generator, set the row and column counts, then type into the header and cell fields (or paste CSV or TSV to fill them).
  3. Set each column's alignment with the left, center, or right toggle if you want it.
  4. For a conversion mode, paste your Markdown or HTML into the input editor, or press Try Sample to load an example.
  5. Read the output, and for Markdown to HTML also check the rendered preview panel.
  6. Copy the result or download it as a file.

Worked Example

Say you use the table generator to build a two-column table with the second column right-aligned. You type the headers Name and Score, add one data row with Ada and 95, and set column two to right alignment.

StageValue
Input (grid)Headers: Name, Score. Row: Ada, 95. Column 2 aligned right.
Output (Markdown)| Name | Score | then | --- | ---: | then | Ada | 95 |

Switch to Markdown to HTML, paste ## Notes on one line and - Fixed a bug on the next, and marked returns <h2>Notes</h2> followed by a <ul> that contains one <li>Fixed a bug</li>. The preview panel shows the same content rendered.

Common Use Cases

  • Building a feature-comparison table for a project README.
  • Converting HTML copied out of a page or email into Markdown for a docs repo.
  • Turning a Markdown draft into HTML to paste into a form that only accepts HTML.
  • Reformatting spreadsheet rows into a Markdown table by pasting TSV.
  • Checking how a snippet will render before committing it to version control.

Tips and Best Practices

  • Paste CSV or TSV to fill the grid instead of typing cells one at a time; it is faster and avoids typos.
  • GFM tables render best when every row has the same number of cells, so keep your columns consistent.
  • Use the alignment toggle rather than hand-editing the dash row; it always writes valid markers.
  • When converting HTML to Markdown, strip inline styles and scripts first, since Turndown keeps structure, not styling.
  • Preview Markdown to HTML output before publishing to catch any list or heading that did not nest the way you expected.

Limitations and Notes

Markdown Toolkit converts structure and text, not visual design. Turndown reduces HTML to the elements Markdown can express, so CSS classes, inline styles, and layout wrappers are dropped by design. The marked parser follows CommonMark and GFM rules, which means a nonstandard Markdown extension from another editor may render differently than you expect. GFM tables do not support merged or nested cells, so complex spreadsheet layouts flatten to a simple grid. Everything runs in your browser, which keeps your text private but means very large documents depend on your device's memory.

FAQs

The table generator produces GitHub Flavored Markdown (GFM), the pipe-and-dash table format that renders on GitHub, GitLab, and most static-site generators. Each column gets an alignment marker in the separator row: :--- for left, :---: for center, and ---: for right. You can paste the result into any platform that supports GFM tables.

No, all three modes run entirely in your browser using the marked and Turndown libraries. Your Markdown, HTML, and table data never leave your device, so you can safely paste internal notes or unpublished drafts. Nothing is stored or sent over the network.

Yes, the HTML to Markdown mode uses the Turndown library to turn pasted HTML into clean Markdown. It is configured for ATX headings and fenced code blocks, so the output matches what CommonMark and GFM tools expect. Structure like headings, lists, links, and code survives, while CSS and inline styling are dropped.

Markdown has no syntax for colors, fonts, or layout, so those attributes cannot survive a conversion. Turndown maps HTML to the elements Markdown supports, such as headings, emphasis, lists, links, and code, and discards visual styling. If you need styled output, keep the HTML version alongside the Markdown one.

Yes, you can paste CSV or TSV directly and the grid fills itself automatically. Copy a range from a spreadsheet, paste it into the table area, and each value lands in its own cell. From there you can adjust headers, set per-column alignment, and copy the finished GFM table.

Yes, the Markdown to HTML mode shows both the raw HTML source and a live rendered preview of your content. The source comes straight from marked.parse, and the preview lets you confirm that headings, lists, and tables nested the way you intended before you copy the HTML.