MD File Viewer

Markdown source
# Welcome to MD File Viewer

Edit this document to see how Markdown appears in the preview. Try **bold**, _italic_, ~~strikethrough~~, or a [Markdown guide](https://commonmark.org/help/).

## Notes and lists

- Organize your notes with headings.
- Use `inline code` for commands and identifiers.

1. Write a first draft.
2. Review the result in the preview.

- [x] Open the editor
- [ ] Make this document your own

> Editing and preview run in your browser.

## Tables and code

| Format | Example        |
| :----- | :------------- |
| Text   | Markdown notes |
| Code   | Fenced blocks  |

```javascript
const topics = ["Markdown", "Math", "Diagrams"];
topics.forEach((topic) => console.log(topic));
```

```python
def fahrenheit(celsius):
    return celsius * 9 / 5 + 32
```

## Math and diagrams

An inline formula like $a^2 + b^2 = c^2$ fits inside a sentence.

$$
\sum_{k=1}^{n} k = \frac{n(n+1)}{2}
$$

```mermaid
flowchart LR
  Write[Write Markdown] --> Preview[Review the preview]
  Preview --> Revise[Revise the draft]
```

![MD File Viewer icon](/icon.png)

The editor supports linked footnotes too.[^preview]

[^preview]: Follow the footnote link to jump between the note and its reference.
Calculating statistics…Restoring draft…

AI Markdown summarizer

Turn long notes, articles, or technical drafts into a Markdown summary. Choose Short, Medium, or Detailed, then use Undo to compare it with the original.

View all tools

Why MD File Viewer?

  • Private by design

    Your browser reads your files and renders the preview locally.

  • Preview as you type

    See the result beside your source, then keep editing without switching apps.

  • Ready for AI output

    Tidy leftover citations, broken tables, and math delimiters. Review the diff before sharing.

What your Markdown can do

  • LaTeX math
  • Mermaid diagrams
  • Syntax highlighting
  • PDF, Word, HTML and PNG

Frequently asked questions

How do I open a .md file?

Drop a Markdown file into the editor or use Open in the toolbar. The preview appears beside the Markdown on a wide screen. On a phone, select the Preview tab.

Is my Markdown uploaded?

Editing and preview run locally. If you confirm AI summarization, the current Markdown is sent through our server to the configured AI provider. Remote images can also make requests to their hosts.

How do I summarize Markdown with AI?

When AI summarization is available, open or paste a draft, select AI Summarize, and choose Short, Medium, or Detailed. Confirm to submit the draft, then use Undo to restore the original.

Can I clean up text copied from ChatGPT or Claude?

Yes. Open the AI Text Cleaner, paste the answer, and choose which rules to apply. Review the diff for changes to citations, tables, spacing, and math before copying the result.

Does the preview support math and diagrams?

The preview supports LaTeX math, Mermaid code blocks, and syntax highlighting for recognized languages. Label code fences with the language name or mermaid so the preview knows how to render them.

What formats can I export?

Use the editor or the related tools to export PDF, Word, HTML, or PNG. The editor also lets you download Markdown and copy rich text, plain text, or HTML.

What if I already have a draft in the editor?

When you use Open in Editor from a tool, the result passes through the current browser tab. If the editor finds a non-empty saved draft, it asks before replacing it. Cancel to keep the existing draft.