.md.markdown.mdown
Markdown file: what it is and how to open it
A Markdown file is plain text with simple marks, such as # before a heading, that apps can show as formatted text. Drop one here to see it formatted or edit the source.
Drop your Markdown file here
Opens on this device. Nothing is uploaded. Any other file works too.
What is a Markdown file?
Markdown is a way to write formatted text as plain text: # starts a heading, **two asterisks** make bold, a dash starts a list item. John Gruber published it in 2004, with Aaron Swartz’s help on the syntax, so web writers could write readable text and turn it into HTML.
Today .md files hold the README of many code projects, much software documentation and the notes of apps such as Obsidian. Any text editor opens one, because it is plain text; you need a Markdown app only to see it formatted.
Gruber’s original rules left gaps, so tools disagreed. CommonMark, now at version 0.31.2, defines the core precisely, and GitHub Flavored Markdown adds tables, task lists and strikethrough on top. A file that looks right on GitHub can lose its tables in an app that follows only the core.
What is inside
A Markdown file has no header, signature or metadata, only text. Block marks sit at the start of a line: # for headings, - or 1. for list items, > for quotes, three backticks around code. Inline marks wrap words: *italic*, **bold**, `code` and [text](address) for links. The file never stores how it looks; the app chooses fonts and spacing.
Pictures are not inside the file. An image line only points to a picture stored next to the file or online, so a .md sent on its own arrives without its pictures. A single line break inside a paragraph is ignored; a new paragraph needs a blank line.
# Trip notesheading**Bring:** passport, chargerbold label, plain text- [x] Book the hoteltask list (GitHub extension)- [ ] Rent a car| Day | City |table (GitHub extension)|-----|--------|| 1| Lisbon |[Map](https://example.com)linkpicture, a separate fileHow to open a Markdown file
Windows
- Visual Studio CodeFree. Press Ctrl+Shift+V for the formatted preview, or Ctrl+K V to see it beside the source as you type.
- NotepadBuilt in. Opens and edits the Markdown source.
- Universal File Opener for WindowsOursShows the formatted document and edits the source beside it. Saving is free.
Mac
- Visual Studio CodeFree. Press Shift-Command-V for the formatted preview.
- ObsidianFree, with no account needed. Opens a folder of Markdown notes and shows them formatted.
iPhone and iPad
- ObsidianFree. Works on a folder of Markdown files on the device or in iCloud Drive.
Android
- MarkorFree and open source, with no ads. Edits Markdown offline and previews it formatted.
- Universal File OpenerOursSwitches between the formatted view and the source, with a formatting toolbar and find and replace. Saving is free.
In a browser
- Visual Studio Code for the WebFree at vscode.dev, nothing to install. Open a local .md file and press Ctrl+Shift+V for the preview.
- Universal File OpenerOursDrop the file on this page to switch between the formatted view and the source, and save an edited copy. Nothing is uploaded.
Won’t open?
It shows # and ** instead of formatting
You are looking at the source, which is what a text editor shows. Open the preview in VS Code with Ctrl+Shift+V, use a Markdown app such as Obsidian or Markor, or drop the file on this page.
Tables or checkboxes show as plain text
Tables, task lists and strikethrough are GitHub Flavored Markdown extensions, not core CommonMark. View the file on GitHub, or drop it on this page, which shows GitHub-style tables.
The pictures are missing
A Markdown file only links to its pictures. Ask for the image files too and keep them in the folders the links name, or ask for the document as a PDF.
Line breaks disappear
A single line break inside a paragraph is ignored. Leave a blank line between paragraphs, or end a line with two spaces or a backslash to force a break.
Convert a Markdown file
- To Word or HTMLWith the free pandoc tool: pandoc notes.md -o notes.docx, or -o notes.html. Or import it into Google Docs and download a Word copy.
- To a Google DocIn Google Docs, choose File, Open, Upload and pick the .md file. It opens as a formatted document.
- To PDF on AndroidIn Universal File Opener, open the formatted view, choose Print and pick Save as PDF.
Markdown files in our apps
Read Markdown formatted or edit the source on Android, Windows and in the browser. The apps save edits free; Android adds a formatting toolbar and prints the formatted view to PDF.
All Android tools and limits for Markdown files
- Rendered CommonMark/GFM preview with adjustable text size and resume position.
- Source editor with a Markdown formatting toolbar, auto-indent, line operations, and go-to-line.
- Find and replace with match counts; undo/redo that survives saves.
- Print the rendered view, and Android’s print dialog offers Save as PDF from there; export the source as a monospace PDF.
Limits
- Supported CommonMark and GitHub-flavored Markdown features render in the preview. Other syntax can display as plain text.
- Linked images appear as placeholders with alternative text. Raw HTML is displayed as text.
Walkthrough: Edit text, code and data on Android