Skip to main content

Markdown Guide: What is Markdown? A Beginner's Tutorial

Last updated: April 22, 2026

Markdown is a lightweight markup language that formats plain text using simple symbols like # for headings and ** for bold. Created by John Gruber in 2004, markdown lets you write structured documents in plain text that convert easily to HTML, PDF, and other formats. Today millions of people use it for README files, notes, documentation, and messages on GitHub, Reddit, and Discord. This markdown guide walks you through the basics, with a hands-on markdown tutorial you can try in your browser.

What is Markdown?

Markdown is a lightweight markup language that lets you format plain text using simple symbols. It was created by John Gruber in 2004, with technical input from Aaron Swartz, with the goal of making text that is easy to read in its raw form and easy to convert into HTML for the web.

Instead of clicking buttons in a toolbar to make text bold or create a heading, you type simple characters like ** for bold and # for headings. The result is a plain text file that any computer can open, but that can also be rendered as a beautifully formatted document.

Markdown files usually end in the .md or .markdown extension. Because they are plain text, they open in any editor (Notepad, TextEdit, VS Code, vim) without special software. Yet when viewed on GitHub, Reddit, Obsidian, or most note apps, the same file renders with headings, bold, italics, lists, and links applied.

The problem markdown solves is a split that existed between plain text (portable, easy to read, no formatting) and rich text formats like Word or Google Docs (nice formatting, but locked into proprietary binary files). Markdown gives you both: readable source text plus rendered output, all from the same file.

Today, markdown is used by millions of people for everything from developer documentation to personal notes. If you have ever written a README file on GitHub or formatted a message on Reddit, you have already used markdown.

Why Use Markdown?

Markdown has four qualities that keep it popular decades after it was first released:

Portable

Markdown files are plain text. You can open them on any operating system, in any text editor, without special software.

Platform-independent

Your content is not locked into any proprietary format. Switch tools anytime without losing your formatting.

Future-proof

Plain text files will always be readable. Unlike binary formats that require specific software versions, markdown files will open decades from now.

Widely supported

GitHub, GitLab, Reddit, Discord, Notion, Obsidian, VS Code, and hundreds of other platforms support markdown natively.

How Does Markdown Work?

The markdown workflow has three steps:

  1. Write your content in plain text using markdown syntax (# for headings, ** for bold, etc.).
  2. Process the file through a markdown parser. The parser reads your symbols and converts them into structured output.
  3. Output the result as HTML, PDF, or another format ready for display or publishing.

For example, when you write **hello** in markdown, the parser converts it to <strong>hello</strong> in HTML, which your browser renders as hello.

Markdown vs HTML

Markdown and HTML both describe how text should be formatted, but they target different jobs. Markdown is for writing; HTML is for web page structure. The table below shows the practical differences.

AspectMarkdownHTML
Bold text**hello**<strong>hello</strong>
Heading# Hello<h1>Hello</h1>
Link[Home](/)<a href="/">Home</a>
Readability in sourceHigh: reads like plain textLow: cluttered with angle brackets
Time to learn basicsUnder 10 minutesA few hours for full tag set
Primary use caseWriting, docs, README files, notesFull web page structure and styling
OutputConverts to HTML, PDF, Word, slidesAlready HTML (rendered by browser)

In practice, most websites use a mix: authors write content in markdown, and a parser converts it to HTML at build time or page load. You get the speed and readability of markdown for writing, and HTML for rendering in the browser.

Markdown Tutorial: Your First Document

This short markdown tutorial shows the most common formatting elements in one file. Copy the example and paste it into our markdown editor to see the formatted result instantly.

# My First Document

This is a paragraph of text. Markdown lets you write
**bold text**, *italic text*, and [links](https://example.com).

## Shopping List

- Apples
- Bread
- Coffee

## Notes

> Markdown is simple to learn and powerful to use.

That is all you need to get started!

That is everything you need to write a formatted document. The # symbol creates headings, ** makes text bold, * makes it italic, dashes create bullet lists, and > creates blockquotes.

Common Markdown Syntax

These are the ten markdown elements you will use most often. For a deeper reference, see our full syntax guide or the cheat sheet.

ElementMarkdownResult
Heading 1
# Heading 1
Large bold heading
Heading 2
## Heading 2
Medium bold heading
Bold
**bold text**
bold text
Italic
*italic text*
italic text
Link
[text](https://url.com)
Clickable link
Image
![alt](image.jpg)
Rendered image
Unordered list
- Item one
- Item two
Bulleted list
Ordered list
1. First
2. Second
Numbered list
Inline code
`code`
Monospaced code
Blockquote
> Quoted text
Indented quote

Where to Use Markdown

Markdown shows up in more places than you might expect. Here are the most common use cases:

  • -Documentation - README files, API docs, wikis, and knowledge bases.
  • -Notes - Personal and team notes in apps like Obsidian, Notion, and Bear.
  • -Websites - Static site generators like Next.js, Hugo, Jekyll, and Gatsby use markdown for content.
  • -Messages - Slack, Discord, Reddit, and GitHub comments all support markdown formatting.
  • -Email - Some email clients and tools let you compose messages in markdown.
  • -AI prompts - Markdown is the default input format for ChatGPT, Claude, and most large language model interfaces.

Markdown Flavors

Over the years, different organizations have created their own extensions to the original markdown specification. Here are the most important ones:

CommonMark

A strict, well-defined specification that removes ambiguity from the original markdown rules. It serves as the foundation for many modern parsers.

GitHub Flavored Markdown (GFM)

Built on top of CommonMark, GFM adds tables, task lists, strikethrough, and auto-linked URLs. It is the standard on GitHub and widely adopted elsewhere.

MultiMarkdown

Extends the original spec with metadata, footnotes, tables, citations, and cross-references. Popular in academic writing.

Who Created Markdown?

John Gruber, author of the blog Daring Fireball, released the first version of markdown on March 19, 2004. He designed it with a single goal: writing for the web should be readable as plain text. Aaron Swartz, the programmer and activist, helped shape the syntax in email exchanges with Gruber during the design phase.

The original spec was informal and had ambiguous edge cases, which led different tools to render markdown differently. GitHub popularized the format in 2009 when it began rendering README files as markdown. In 2014, a group of developers published CommonMark, a strict specification that resolved the ambiguities of the original.

Gruber holds the trademark on the Markdown name and has kept the original spec at daringfireball.net/projects/markdown mostly unchanged. Most modern markdown processors follow CommonMark or a superset of it (GitHub Flavored Markdown being the most popular).

Tools That Support Markdown

You can write markdown in any text editor, but dedicated tools give you live preview, syntax highlighting, and export options. Our markdown tools hub includes a free online editor, table generator, PDF converter, HTML converter, and formatter that all work in your browser with no signup required.

Popular desktop editors include VS Code, Obsidian, Typora, and iA Writer. For quick tasks, our browser-based tools let you start writing immediately.

Next Steps

You now know what markdown is, why people use it, and how to write a basic document. Here is where to go next:

Frequently Asked Questions

What is markdown used for?

Markdown is used for writing documentation, README files, blog posts, notes, technical articles, and messages on platforms like GitHub, Reddit, and Discord. It is the standard format for developer documentation and is supported by most content management systems.

What does markdown mean?

Markdown means a plain text formatting syntax designed to be easy to read and easy to convert to HTML. The name refers to its inverse relationship to markup languages: markdown hides the complexity of tags behind simple characters like # and **.

Is markdown a programming language?

No. Markdown is a markup language, not a programming language. It has no variables, functions, loops, or logic. It only describes how text should be formatted. A markdown parser reads the symbols and outputs structured HTML or another format.

What is a .md file?

A .md file is a plain text file written in markdown syntax. The .md extension is short for markdown. You can open .md files in any text editor, and markdown-aware tools like GitHub, VS Code, and Obsidian will render them with formatting applied.

Who invented markdown?

John Gruber created markdown in 2004, with early input from Aaron Swartz. Gruber published the original specification on his blog, Daring Fireball, with the goal of making web writing readable as plain text. GitHub adopted it in 2009, and CommonMark standardized it in 2014.

Is markdown hard to learn?

No. Markdown was designed to be as easy to read and write as possible. You can learn the essential syntax (headings, bold, italic, links, and lists) in under 10 minutes. The plain text format means you do not need any special software to get started.

What is the best way to learn markdown?

The fastest way to learn markdown is to follow a short markdown guide (like this one), work through a hands-on markdown tutorial using a live editor, then practice by writing a real README file or a set of notes. Most people are fluent in everyday syntax within an hour.

How long does it take to learn markdown?

Most people learn the core markdown syntax in 10 to 15 minutes. Within an hour you can be fluent in everyday use cases like writing README files, formatted notes, or Discord messages. Extended features like tables and footnotes take another 20 minutes to pick up.

What is the difference between markdown and HTML?

Markdown is a simplified writing format that gets converted into HTML. While HTML uses tags like <strong> and <a>, markdown uses symbols like ** for bold and [text](url) for links. Markdown is faster to write and easier to read, but HTML offers more control over layout and styling.

What is the difference between markdown and rich text?

Rich text stores formatting as hidden data inside the file (like Word documents), while markdown stores formatting as visible symbols in plain text. That makes markdown portable across any editor, version-controllable with Git, and future-proof, at the cost of no WYSIWYG preview while you type.

Is markdown still used in 2026?

Yes. Markdown remains the default format for technical writing, developer documentation, static site generators, and note-taking apps like Obsidian, Notion, and Bear. It is also the standard input for most AI writing tools and large language model prompts.

What software do I need to write markdown?

You can write markdown in any plain text editor, including Notepad, TextEdit, or VS Code. For a better experience, use a dedicated markdown editor with live preview. Our free online markdown editor lets you write and preview markdown instantly in your browser.

Can I convert markdown to other formats?

Yes. Markdown can be converted to HTML, PDF, Word documents, slides, and many other formats. Tools like Pandoc handle complex conversions. Our site offers free markdown to HTML and markdown to PDF converters that work directly in your browser.

What is Markdown? Markdown Guide and Tutorial (2026) | Kolavi Studio