Windows · Mac · iPhone · AndroidWindows · Mac · iPhone · Android

How to open an MD file如何打开 MD 文件

Every way to open a .md file, on every device — including the fastest one: right here, no install.各种设备上打开 .md 文件的全部方法——包括最快的一种:就在本页,无需安装。

Drop your .md file here把 .md 文件拖到这里

or use one of the options below — nothing is ever uploaded或使用下方任一方式——文件绝不上传

100% private — your file never leaves your browser100% 隐私——你的文件绝不离开浏览器
Supports .md · .markdown · .txt  ·  up to 10 MB支持 .md · .markdown · .txt  ·  最大 10 MB

The fastest way (any device)

Drop the file into the viewer at the top of this page. It renders instantly, works on every OS and phone, and the file never leaves your browser. Done.

On Windows

Windows has no default app for .md. Your options:

  • Notepad — right-click the file → Open with → Notepad. You'll see raw text with # and * symbols, readable but unformatted.
  • VS Code (free) — open the file and press Ctrl+Shift+V for a formatted preview. Best if you also edit markdown.
  • Or skip the install — open it in this page's viewer with formatting intact.

On Mac

  • TextEdit — opens .md as plain text (unformatted).
  • Quick Look — select the file and press Space for a basic preview.
  • VS Code / editors — full preview with Cmd+Shift+V.
  • Or use the online viewer above — full GFM rendering including tables and diagrams.

On iPhone / iPad

iOS can Quick Look .md files from Mail or Files, but formatting is limited. For a proper reading view, open Safari, visit this page and pick the file from Files — the viewer is fully touch-friendly.

On Android

Android has no built-in markdown preview. Rather than installing an app for one file, open this page in Chrome and choose the file — it renders as a clean document you can also export to PDF.

Want the file in another format?

Convert it once and never worry again: MD to PDF for sharing, MD to Word for editing.

最快的方法(任何设备)

把文件拖进本页顶部的查看器。立即渲染,任何系统和手机都可用,文件不离开浏览器。搞定。

Windows

Windows 没有 .md 的默认应用。你的选择:

  • 记事本——右键文件 → 打开方式 → 记事本。能看到带 # 和 * 符号的原始文本,可读但无排版。
  • VS Code(免费)——打开文件后按 Ctrl+Shift+V 查看格式化预览,适合还需要编辑的人。
  • 或者跳过安装——直接在本页查看器中打开,排版完整。

Mac

  • TextEdit——以纯文本打开(无排版)。
  • 快速预览——选中文件按空格键,可做基础预览。
  • VS Code 等编辑器——Cmd+Shift+V 完整预览。
  • 或使用上方在线查看器——完整 GFM 渲染,含表格与图表。

iPhone / iPad

iOS 可以在邮件或"文件"中快速预览 .md,但排版有限。想要真正的阅读视图:打开 Safari 访问本页,从"文件"中选取——查看器完全适配触屏。

Android

Android 没有内置 Markdown 预览。与其为一个文件装一个 App,不如用 Chrome 打开本页选择文件——渲染为干净文档,还能顺手导出 PDF

想换个格式?

转换一次,一劳永逸:分享用 MD 转 PDF,编辑用 MD 转 Word

FAQ

Why does double-clicking an MD file not work?为什么双击 MD 文件打不开?

Neither Windows nor macOS ships with an app associated with the .md extension, so the system doesn’t know what to open. Use a text editor, or open it in this page’s viewer.Windows 和 macOS 都没有预装关联 .md 扩展名的应用,系统不知道该用什么打开。可以用文本编辑器,或直接在本页查看器中打开。

Do I need to install anything?需要安装什么软件吗?

No. The online viewer on this page opens .md files with full formatting on any device, with nothing to install.不需要。本页的在线查看器可在任何设备上以完整排版打开 .md 文件,无需安装。

Can I open MD files offline?可以离线打开 MD 文件吗?

Locally installed editors work offline. This web viewer also keeps working for already-loaded pages, and a full offline PWA version is on our roadmap.本地编辑器可离线使用。本网页查看器在页面已加载的情况下同样可用,完整的离线 PWA 版本已在路线图中。