How to open a .md file
It’s plain-text Markdown — any editor shows the raw syntax, a viewer shows the document. Here’s the fastest way to read one, on anything, free.
What is a .md file?
A .md file is a plain-text document written in Markdown, a formatting syntax created in 2004 so that text stays readable before it is rendered. A line starting with # is a heading, **two asterisks** make bold text, a hyphen starts a list item, and rows of | pipes | form a table. Because the file holds only text, any editor can open it — Notepad, TextEdit, a phone's file app — but it shows those marks as they are typed. A Markdown viewer or renderer turns them into the formatted document: real headings, tables, highlighted code and, in many tools, math. README files on GitHub, documentation sites, note apps such as Obsidian, and the answers AI chat assistants write are all Markdown, which is why .md files turn up in downloads, ZIP archives and email attachments.
- .md = Markdown: plain text with lightweight formatting syntax — used by READMEs, docs, notes apps, and AI chat exports.
- Fastest open: a browser viewer — drop the file, paste the text, or paste a GitHub link; no install.
- Privacy: our viewer runs client-side; the file never uploads.
- Need a document? The same tool exports to Word (editable equations), PDF, and HTML — free.
Open it in the browser viewer
Go to the Markdown viewer and drop the file on it, or press Open file. The document renders at once — headings, tables, highlighted code, LaTeX math as equations, Mermaid diagrams as pictures.
The file is read by your browser and never uploaded. No install, no account, the same on every system.
No file at hand? Paste it, or give a link
Copied Markdown from somewhere — an AI answer, a chat, a web page? Paste it anywhere on the viewer page. Looking at a README on GitHub? Press Open link and paste the repository's address.
Pictures written relative to the README are pointed back at the repository, so logos and badges show.
Read it, or change it
Split puts the source beside the preview and Editor gives the source the whole width; the preview follows as you type. Contents jumps between sections, Wide reads like GitHub, Focus hides everything else.
The viewer keeps your last documents in this browser, under Recent — close the tab and they are still there tomorrow.
Turn it into a document if you need one
Press Open in the full editor, above the viewer: it takes exactly what is on screen, and its Download makes a Word document, a PDF or an HTML page. In Word, tables are real tables and formulas are editable equations.
Share copies a link that opens the same document for someone else — the text travels inside the link, nothing is stored on a server.

Open a .md file with the apps on your device
Windows 10 and 11
Double-clicking a .md usually asks which app to use; Notepad opens it as raw text. For a formatted view without the browser, VS Code (free) opens a preview with Ctrl+Shift+V, or beside the source with Ctrl+K then V. Right-click → Open with → Choose another app makes one of them the default.
macOS
TextEdit and the space-bar Quick Look show the raw text. The free QLMarkdown extension makes Quick Look render Markdown; VS Code previews it with Cmd+Shift+V. Get Info → Open with → Change All sets the default app for every .md file.
iPhone and iPad
The Files app previews a .md as plain text. Saved from Mail or Messages into Files, it can be opened in Safari through the viewer's Open file button — or long-press the text, copy it, and paste it on the viewer page.
Android
File managers either show it as plain text or ask for an app to open it with. In Chrome, the viewer's Open file reaches Downloads and Google Drive; a .md attachment in Gmail needs to be saved to the phone first.
Linux
gedit, Kate and nano show the source; GNOME's Text Editor highlights the syntax but does not render it. VS Code and Ghostwriter preview it, and pandoc file.md -o file.html makes a page any browser opens.
Word and Google Docs
Word opens a .md as plain text with the marks showing. Google Docs can import a Markdown file, which is enough for headings, lists and links — but formulas stay as LaTeX source. Convert it first (step 04) and it opens with real headings, tables and editable equations.
Frequently asked questions
What program opens a .md file by default?
Usually none — operating systems don't ship a Markdown renderer, which is why double-clicking often asks you to pick an app. Any text editor opens it raw; a Markdown viewer (like ours, in the browser) shows it formatted.
Is a .md file safe to open?
Yes — it's plain text, it can't execute anything. Renderers also sanitize embedded HTML (ours strips scripts and dangerous tags before rendering).
How do I open a .md file without downloading software?
Use the browser viewer: drop the file on llm2doc.app/markdown-viewer and it renders instantly. Nothing installs and the file never leaves your device.
Can I read a GitHub README without downloading the repository?
Yes. In the viewer, press Open link and paste the repository's address (github.com/owner/name): its README opens rendered, with its pictures. A file's own address opens that file; gists work too. Only public repositories can be read this way.
How do I convert a .md file to Word or PDF?
Open it in the viewer, press Open in the full editor, then Download (Word, or PDF). Tables become real Word tables and LaTeX math becomes editable Office Math equations — free, no signup.
Why does my .md file look like code with # and ** everywhere?
You're seeing the raw Markdown syntax in a plain-text editor. Open the same file in a Markdown viewer and those symbols become headings, bold text, lists, and tables.
Open your .md file now
Drop it, paste it, or paste a GitHub link — rendered in a second, private, free.
Open the Markdown viewer