File Extension File Extension Guide

What is an MD File?Markdown

A technical reference for the .md extension, a Markdown document. What an MD file is, how to open, view and edit one, how to convert it to PDF or Word, and the simple syntax that makes Markdown work.

Markdown 📝 Plain Text 🌐 Renders to HTML 📄 Documentation
.MD

Markdown Document

Type:Text document
Extension:.md
Format:Plain text
Language:Markdown
Created:2004

📖 What is an MD File?

An MD file is a text document written in Markdown, a simple way to format plain text using everyday symbols. The name comes from Markdown, and it uses the .md extension. Open one in a plain editor and you can read it straight away, because the formatting marks are designed to stay out of the way.

The idea behind Markdown is that a document should be readable as plain text and still turn into a nicely formatted page when a tool renders it. A # becomes a heading, **bold** becomes bold, and a dash starts a list, so the raw file already looks like the finished document.

Unlike a Word document, an MD file is not a binary format. It is just text, which makes it lightweight, easy to share and readable on any device. That simplicity is why Markdown became the standard for things like project documentation and notes.

Key Characteristics

  • Human-readable, opens as ordinary text
  • Uses Markdown, simple formatting symbols
  • Renders to HTML, and other formats
  • Lightweight, small and portable

Good to Know

  • Standard for READMEs, on GitHub and beyond
  • Converts easily, to PDF, Word or slides
  • Human-readable raw, no rendering needed
  • Also .markdown, and a few other endings
💡 Why it matters: Markdown separates what you write from how it looks. The same MD file can become a web page, a PDF or a slide deck, which is why documentation, notes and README files are so often written in it.
One .md file, many finished documents notes.md # Heading **bold** - list item plain text 🌐 Web page 📄 PDF 📝 Word doc 📊 Slides a tool renders it

⚡ Quick Facts

File Extension.md
Full NameMarkdown document
CategoryPlain-text document
LanguageMarkdown, a markup language
Created ByJohn Gruber, with Aaron Swartz
Released2004
MIME Typetext/markdown
Opens InAny text editor, or a Markdown viewer
Converts ToHTML, PDF, Word, slides
Related Extensions.markdown, .txt, .html, .rst

✍️ Markdown Syntax

Markdown uses a small set of symbols. Once you know these, you can read or write almost any MD file, and the raw text stays clear either way.

You writeYou get
# HeadingA large heading, with more hashes for smaller ones.
**bold**Bold text.
*italic*Italic text.
- itemA bullet point in a list.
[text](url)A clickable link.
`code`Inline code, shown in a monospace font.
> quoteA blockquote, for quoted text.
![alt](url)An image, shown inline in the document.
| a | b |A table row, using pipes to separate columns.
```code```A fenced code block, for several lines of code.
# the raw Markdown on the left renders as a document

  # Project Name # a heading
  A short **bold** description. # a paragraph
  - first point # a list item
  [Docs](https://example.com) # a link
The same file, raw and rendered the raw .md # Getting Started A **quick** guide. - install it [Docs](url) rendered Getting Started A quick guide. • install it Docs the symbols on the left become the formatting on the right

🛠️ How to Create an MD File

Making a Markdown file needs no special software. You type the content with a few symbols, then save it with the right ending.

1

Open an editor

Start a new file in any editor, from Notepad to VS Code. A Markdown editor helps by previewing the result as you write.

2

Write with symbols

Add a # for a heading, a dash for a list and ** around bold words, following the syntax above to shape the document.

3

Save with .md

Save the file with a .md ending, such as README.md, so tools know it is Markdown and render it correctly.

📂 How to Open an MD File

Opening an MD file is easy since it holds nothing but text. The only real choice is whether you want the raw version or the formatted one.

1

Any text editor

Notepad, TextEdit or any editor at all displays the contents, because the file is not a binary format.

2

A Markdown editor

Apps like VS Code, Typora or Obsidian show the raw text and a live formatted preview side by side as you work.

3

Online in the browser

Univik's File Viewer opens an MD file in the browser, so you can read it without installing anything.

💡 Newer built-in support: LibreOffice added native Markdown import in its 2026 release, so you can open an MD file directly in LibreOffice Writer, and Windows is adding basic Markdown rendering to its tools too.

👀 Viewing It Rendered

Reading raw Markdown is fine, but seeing it rendered shows the headings, lists and links as they are meant to look. There are a few easy ways to get the formatted view.

In the browser

Univik's File Viewer renders the Markdown so you see a clean, formatted document rather than the raw symbols.

In an editor

VS Code has a built-in preview, and apps like Typora render as you type, so the file reads like a finished page.

🔄 Converting MD to PDF or Word

To share an MD file with people who do not use Markdown, converting it to a PDF or a Word document is the usual step. A few routes work well.

1

Use an online converter

Univik's File Converter turns an MD file into a PDF or other format in the browser, with nothing to install.

2

Export from an editor

Markdown editors like Typora or VS Code include an export option that saves the file as PDF, HTML or Word.

3

Use Pandoc

On the command line, Pandoc converts with one line, such as pandoc input.md -o output.pdf for a PDF or output.docx for Word.

⚠️ A note on formatting: Markdown is deliberately simple, so very complex layouts may need a little tidying after converting. For headings, lists, links and code, the result usually looks clean straight away.

🎯 Where MD Is Used

Markdown turns up wherever people write for the web or for developers. Its plain-text nature makes it a natural fit for these jobs.

README

README Files

The README.md in a code project, the front page that explains what the project is and how to use it.

Docs

Documentation

Technical docs and guides, since Markdown keeps content clean and easy to version alongside code.

Notes

Notes

Note apps like Obsidian and Notion use Markdown, so your notes stay portable plain text.

Web

Blogs and Sites

Static site tools turn MD files into web pages, a popular way to write blogs and project sites.

🍦 Markdown Flavors

The original Markdown left some details open, so different tools rendered the same file slightly differently. Two names come up when this is sorted out.

CommonMarkA precise, shared standard that pins down how core Markdown should render, so tools agree on the result.
GitHub FlavoredKnown as GFM, a superset of CommonMark that adds tables, task lists, strikethrough and autolinks.
Original MarkdownGruber's first version from 2004, still the base that the later standards build on.

For most people the differences are small. If an MD file uses tables or checkboxes, it is likely written in GitHub Flavored Markdown, which most modern tools support.

📜 A Short History

Markdown was created in 2004 by John Gruber, writer of the Daring Fireball blog, with help from the programmer Aaron Swartz. Gruber was tired of writing raw HTML for his blog and wanted a format that read naturally as plain text.

He modeled it on the way people already formatted plain-text email, using stars for emphasis and dashes for lists, and released it with a small script that turned Markdown into HTML. Over the next years it spread to Reddit, Stack Overflow and GitHub, and README files written in Markdown became a standard across millions of projects. The name is a gentle pun on markup languages like HTML.

🔀 Related Formats

MD sits among the text and document formats you compare it with.

.markdownThe same Markdown format under a longer extension, used interchangeably with .md.
.txtA plain-text file with no formatting marks, the simplest text document.
.htmlThe web format Markdown renders into, using tags rather than simple symbols.
.rstreStructuredText, another lightweight markup language, common in Python docs.
.pdfA fixed-layout document, a common target when converting an MD file to share.

❓ Frequently Asked Questions

Any editor opens an MD file, since it holds only text, so Notepad on Windows or TextEdit on Mac shows it right away. To see it formatted rather than as raw symbols, open it in a Markdown editor like VS Code, Typora or Obsidian, or view it in the browser with Univik's File Viewer. Which you choose depends on whether you want to read, edit or just preview it.

An MD file is a text document written in Markdown, a lightweight way to format plain text with simple symbols. A hash makes a heading, two asterisks make bold, and a dash starts a list. It uses the .md extension and stays readable as plain text, which is why Markdown is popular for documentation, notes and README files.

A few ways work. Use an online converter such as Univik's File Converter, which turns the MD file into a PDF in the browser. Or export to PDF from a Markdown editor like Typora or VS Code. On the command line, the tool Pandoc converts with one line, pandoc input.md -o output.pdf. Each produces a formatted PDF from the Markdown.

Open the MD file in a Markdown editor that offers a Word export, or use Pandoc with the command pandoc input.md -o output.docx to produce a .docx file. An online converter can also change an MD file into a Word document. After converting, you may want to adjust any complex formatting, though headings and lists usually carry over cleanly.

Yes, easily. Because it is plain text, any editor lets you change the content, and you edit the Markdown symbols directly, such as adding a # for a heading. A dedicated Markdown editor like VS Code or Typora makes this nicer by showing a live preview of the formatted result as you type, so you see how the finished document will look.

MD stands for Markdown. Markdown is a lightweight markup language that formats plain text using simple symbols, created so a document reads naturally in its raw form and converts cleanly to HTML. The file extension is .md, and the same format is sometimes saved with the longer .markdown ending. The name is a play on the word markup.

Almost. An MD file is a plain-text file, so in that sense it is a kind of text file, and a .txt file and a .md file both hold readable text. The difference is that an MD file uses Markdown symbols to add formatting like headings and lists, which tools can render, while a plain .txt file has no such formatting marks.

To see the headings, bold text and links rendered rather than the raw symbols, open the file in a viewer that supports Markdown. Univik's File Viewer shows it formatted in the browser, VS Code has a built-in preview, and editors like Typora render as you type. Reading the raw .md in a plain editor works too, but shows the symbols instead of the styling.

Many do. Any text editor opens the raw file, including Notepad and TextEdit. For a formatted view and editing, VS Code, Typora, Obsidian, MacDown and Bear are popular Markdown apps. LibreOffice added native Markdown import in 2026, and online tools such as Univik's File Viewer open an MD file in the browser with no install.

Because it is plain text that reads well and versions cleanly alongside code. A README.md explains a project on its front page, and documentation in Markdown is easy to edit, track in version control and render on sites like GitHub. It keeps the writing simple and portable, and the same file can become a web page or a PDF when needed.

Both format text for the web, but Markdown is far simpler to write and read. Markdown uses light symbols like # and ** that stay readable as plain text, then renders into HTML behind the scenes. HTML uses tags like <h1> and <strong>, which are more capable but harder to read in raw form. Markdown is often the friendlier way to produce HTML.

Yes. The original Markdown left some details open, so standards emerged. CommonMark is a precise shared version that makes tools render the same way, and GitHub Flavored Markdown, or GFM, adds tables, task lists and a few extras on top. For everyday use the differences are minor, and most modern tools support GFM.

Open any editor, from Notepad to VS Code, start a new file, and write your content using Markdown symbols like # for a heading and a dash for a list. Then save it with a .md ending, for example README.md. No special software is needed, since Markdown is just text. A Markdown editor makes it nicer by previewing the formatted result as you type.

A README.md is the front-page document of a software project, written in Markdown. It explains what the project is, how to install it and how to use it, and platforms like GitHub render it automatically at the top of a repository. The .md ending means it is Markdown, so headings, lists and code show up formatted rather than as raw symbols.

On a phone, a note or text app opens the raw Markdown, and apps like Obsidian have mobile versions that show it formatted. The simplest option on any phone is an online viewer in the browser, such as Univik's File Viewer, which renders the MD file so you read a clean document rather than the symbols. No install is needed for the browser route.

📝 Summary

An MD file is a plain-text document written in Markdown, a lightweight language that formats text with simple symbols like a hash for a heading and two asterisks for bold. It uses the .md extension, stays readable as raw text, and renders into a web page, PDF, Word document or slides. Any text editor opens it, a Markdown editor such as VS Code or Typora shows a formatted preview, and Univik's File Viewer opens it in the browser. To share it, convert to PDF or Word with an online converter or Pandoc. Markdown was created by John Gruber in 2004 and became the standard for README files and documentation.