HubTools

Markdown Converter

Convert between Markdown and HTML in both directions with a live preview. No external libraries needed.

What is Markdown?

Markdown is a lightweight plain-text formatting syntax invented by John Gruber and Aaron Swartz in 2004 as a way to write structured documents that read naturally as plain text but compile to clean HTML. The full original spec fits on one page: # for headings, * for emphasis, - for lists, square brackets for links. CommonMark formalized the grammar in 2014, and GitHub Flavored Markdown (GFM) added tables, fenced code blocks, and task lists. Markdown now powers GitHub READMEs, Reddit posts, Obsidian notes, every static-site generator (Hugo, Jekyll, Gatsby, Next.js MDX), MkDocs, Docusaurus, and uncountable blog posts. This converter handles Markdown → HTML and HTML → Markdown both ways with a live side-by-side preview. Need to count words in your draft? Use the Word Counter. Sketching the read time? Try the Reading Time Calculator.
Markdown Input
HTML Output
Live Preview
Start typing to see a live preview of the rendered output.

How to use this tool

  1. 1
    Pick a direction
    Choose Markdown → HTML or HTML → Markdown. The input pane on the left accepts paste, drag-and-drop, or typed text.
  2. 2
    Type or paste your content
    The right pane updates as you type, showing the converted output (or rendered preview for Markdown → HTML).
  3. 3
    Copy or download
    Hit Copy to grab the converted text, or Download to save as a .md or .html file for your repo.

Frequently asked questions

What is Markdown?
Markdown is a lightweight plain-text formatting syntax invented by John Gruber in 2004. It uses simple symbols (# for headings, * for emphasis, - for lists) to produce structured documents that render as HTML. It powers READMEs on GitHub, posts on Reddit, notes in Obsidian, documentation in MkDocs and Docusaurus, and millions of static-site blog posts.