Beginner Guide

What Is Markdown? A Plain-English Guide With Examples

You’ve seen a file ending in .md, a README full of # and **, or an AI answer with odd symbols in it. This guide explains what Markdown is, why it exists, and how to read and write it — with no jargon.

Updated 7 min readBy the MarkdownPreview.net team
Quick answer

Markdown is a way to write formatted text using only plain characters. You type # Title for a heading, **bold** for bold, and - item for a list; a Markdown viewer turns those marks into a formatted page. Files are plain text, usually named .md.

To see Markdown formatted right now, paste it into MarkdownPreview.net.

Markdown in one example

Markdown lets you add structure to text with simple punctuation, while the file itself stays readable as plain text. On the left is what you type; on the right is what a Markdown viewer shows.

What you type
# Weekend plan

Visit the **farmers market**, then *maybe* a hike.

- Buy bread
- Buy tomatoes
- Pack water

Route notes are on [the trail site](https://example.com).
What you see

Weekend plan

Visit the farmers market, then maybe a hike.

  • Buy bread
  • Buy tomatoes
  • Pack water

Route notes are on the trail site.

The RFC that registers Markdown as an internet media type describes it as “a family of plain-text formatting syntaxes that optionally can be converted to formal markup languages” such as HTML.

What is a .md file?

A .md (or .markdown) file is a Markdown document saved as plain text. RFC 7763 registers both extensions and states that “Markdown content is plain-text content.” That means any text editor can open it — you’ll just see the symbols instead of the formatting. The most famous .md file is README.md, the front page GitHub shows for a project.

To see an .md file formatted on your device, follow how to open an .md file.

Where Markdown came from

  • 2004 — John Gruber creates Markdown. His project page says Aaron Swartz “deserves a tremendous amount of credit for his feedback on the design of Markdown’s formatting syntax.” The goal, in Gruber’s words: “The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible.” The page lists Markdown 1.0.1, dated 17 December 2004, as the download.
  • Many flavors appear. CommonMark’s authors point out that Gruber’s description “does not specify the syntax unambiguously,” so different tools handled edge cases differently.
  • 2014 — CommonMark. A group including John MacFarlane and Jeff Atwood set out to write “a standard, interoperable and testable version of Markdown.” Its spec’s latest listed version is 0.31.2, from January 2024.
  • 2016 — Internet media type. RFC 7763 registers text/markdown; RFC 7764 registers variants including CommonMark and GitHub Flavored Markdown.
  • 2017 — GitHub adopts CommonMark. GitHub enabled CommonMark rendering for comments, then for Markdown content stored in Git repositories, and published a formal GFM spec.

Flavors: CommonMark, GFM, and the rest

Everyday syntax — headings, bold, lists, links, code — works the same almost everywhere. Differences appear in extras like tables, task lists, and diagrams. That’s why a README can look slightly different on GitHub than in another tool; see our GitHub Markdown troubleshooting guide.

FlavorWhoNotes
Original MarkdownJohn GruberThe 2004 syntax description and Perl script. Gruber's description does not specify the syntax unambiguously, so implementations disagreed on edge cases.
CommonMarkA group including John MacFarlane and Jeff AtwoodA standard, testable specification for Markdown, announced in 2014. The latest version listed is 0.31.2 (January 2024).
GitHub Flavored Markdown (GFM)GitHubA strict superset of CommonMark that adds tables, task lists, strikethrough, and extended autolinks. Used for user content on GitHub.
GitLab Flavored MarkdownGitLabCore features based on CommonMark, plus GFM-style extensions.
Obsidian and similar notes appsEach appAdd their own syntax, such as wikilinks, on top of everyday Markdown.
Others registered with IANAVariousMultiMarkdown, Pandoc, Fountain, kramdown-rfc2629, rfc7328, and PHP Markdown Extra are registered variants (RFC 7764).

Where Markdown is used

WhereHow it’s usedSource
GitHubREADMEs, issues, pull requests, and any Markdown file in a repositoryGitHub Docs
GitLabProject docs, issues, and merge requests (GitLab Flavored Markdown)GitLab Docs
VS CodeFiles saved as .md get a built-in preview; it targets the CommonMark specificationVS Code Docs
HugoMarkdown is the default content format; rendered by Goldmark (CommonMark and GFM)Hugo Docs
JekyllPosts are typically written in MarkdownJekyll Docs
Jupyter notebooksMarkdown cells hold the explanatory textJupyter Docs
Stack OverflowPosts support Markdown (as of its 2011 announcement)Stack Overflow Blog
ObsidianNotes are Markdown files, with extra syntax of Obsidian's ownObsidian Help

It is also common in AI chat tools, which often reply with Markdown; Google’s October 2026 announcement of native Markdown support in Drive and Docs notes that Markdown is widely used with LLMs because it keeps structure such as tables, headers, and lists. If an AI answer is full of symbols, paste it into a Markdown viewer to read it formatted.

Markdown vs HTML

Markdown doesn’t try to replace HTML. Gruber’s syntax page puts it this way: “HTML is a publishing format; Markdown is a writing format,” and “Markdown’s formatting syntax only addresses issues that can be conveyed in plain text.” Most tools convert Markdown to HTML for display, and many allow raw HTML inside a Markdown file for anything Markdown can’t express.

The basics in 60 seconds

You typeYou get
# HeadingA heading (more # means a smaller heading)
**bold** and *italic*Bold and italic text
- itemA bulleted list item (use 1. for numbered lists)
[text](https://example.com)A link
![description](image.png)An image
`code`Inline code (three backticks make a code block)

That’s enough to write a README or a note. For every other piece of syntax — tables, footnotes, alerts, and more — use the universal Markdown cheat sheet on MDConverter.

How to view and edit Markdown

How we verified this guide

History, version numbers, and quotations come from Gruber’s own pages, the CommonMark and GitHub specifications, the IETF RFCs, and each tool’s official documentation, all listed in Sources and checked on the date shown at the top. The example above is rendered by the same engine as our previewer.

Where we couldn’t read an official source — for example, the help pages for Reddit and Discord — we left the claim out. Spot a mistake? Email hello@markdownpreview.net.

Frequently asked questions

What is Markdown used for?

Writing formatted text in plain text: README files and documentation on GitHub and GitLab, blog posts in static-site generators such as Hugo and Jekyll, notes in apps like Obsidian, explanatory cells in Jupyter notebooks, and answers on sites like Stack Overflow.

Is Markdown a programming language?

No. It is a plain-text formatting syntax. RFC 7763, which registers the text/markdown media type, describes Markdown as "a family of plain-text formatting syntaxes that optionally can be converted to formal markup languages" such as HTML.

What does .md stand for?

Markdown. RFC 7763 registers .md and .markdown as the file extensions for Markdown documents, and the content of such a file is plain text.

What is the difference between Markdown, CommonMark, and GitHub Flavored Markdown?

Markdown is the original 2004 syntax by John Gruber. CommonMark is a precise specification of it that removes the ambiguities. GitHub Flavored Markdown is a strict superset of CommonMark that adds tables, task lists, strikethrough, and extended autolinks.

Can I use Markdown in Microsoft Word or Google Docs?

Not as a native Word format. Google Docs supports Markdown import, export, and — since October 2026 — editing .md files in Drive and Docs. Our guides cover both: see how to open an .md file and Markdown in Google Docs.

Do I need special software to write Markdown?

No. A Markdown file is plain text, so any text editor can open and edit it. A Markdown editor or previewer simply shows the formatted result next to your text, which makes the syntax easier to learn.

Sources

Try Markdown right now
Type on the left, see the result on the right — no sign-up.
Open Markdown Previewer

More Markdown Tools & Guides

All tools are free, run in your browser, and require no account.

Live Markdown PreviewerTool

Edit Markdown with a real-time preview, Mermaid, KaTeX math, drag-and-drop files, and one-click export.

Open the tool
GitHub Markdown PreviewTool

Load any public README, test it, and look up any GitHub syntax in the complete cheat sheet.

Open the tool
Mermaid Live EditorTool

13 diagram types with examples, live rendering, and SVG/PNG download.

Open the tool
LaTeX Math PreviewTool

Typeset equations as you type, with a copy-ready KaTeX cheat sheet of 180+ commands.

Open the tool
README Template GeneratorTool

Pick sections, fill in your project, and download a GitHub-ready README.md with badges and a TOC.

Open the tool
AI Markdown ViewerTool

Paste ChatGPT, Claude, or Gemini output and read it formatted, with tables, code, and math.

Open the tool
Markdown in Google DocsGuide

Preview .md files in Drive, edit in Docs' Markdown mode, and paste, convert, or export Markdown.

Read the guide
Best Online Markdown ViewersGuide

Six free tools tested with the same document: rendering, privacy, and phone support compared.

Read the guide
GitHub Markdown Not Rendering?Guide

16 causes found by symptom — tables, lists, image paths, code fences, alerts, Mermaid, math — with tested fixes.

Read the guide
Markdown Preview in VS CodeGuide

Preview shortcuts, settings verified on VS Code 1.141, built-in Mermaid and math, extensions, and fixes.

Read the guide
How to Open an .md FileGuide

Open and read Markdown files formatted on Windows, Mac, Linux, iPhone, Android, Word, and Google Docs.

Read the guide
Markdown Preview in Any EditorGuide

Exact preview shortcuts for Visual Studio, JetBrains, Zed, Xcode, Sublime, Neovim, Obsidian, and more.

Read the guide
Preview Markdown in a BrowserGuide

Six free ways to read .md files in Chrome, Edge, Firefox, or Safari — compared for privacy and features.

Read the guide