MD Diff

Free md diff to compare two Markdown files side by side in your browser.

Original8 lines · 1 citation
Modified8 lines · 2 citations

Use this md diff when two Markdown drafts drifted. Paste both sides, check citation counts, and run md diff to open a fullscreen side-by-side view. Added and removed lines stay in your browser; nothing is uploaded.

Why use md diff?

Side-by-side md diff

md diff lines up both files so you can scan heading, list, and paragraph changes without flipping tabs.

Citation counts

Each pane shows how many Markdown links md diff counts as citations, so a missing reference is easy to spot before you merge.

Stays on your device

md diff runs in the browser. Open local .md files and compare them without uploading.

Two Markdown files can look the same and still not be the same document

A generic text diff will tell you that a space moved. It will not tell you that a heading was demoted, that a list became a paragraph, or that a link label stayed put while the URL changed. Markdown is a presentation language sitting on top of plain text. Reviewing only the characters is how a “minor rewrite” ships with a missing disclaimer or a reordered procedure.

MD Diff is for the moment you have two drafts—an original and a rewrite—and you need to see both the reading experience and the source. Preview mode is for structure: did the argument still flow, did the table survive, did the citations remain. Source mode is for the line-level add and delete coloring you already know from Git, with line numbers you can point to in a review comment.

What an AI rewrite actually changed

Models paraphrase confidently. They also invent sections, drop caveats, and “helpfully” rewrite quoted text. Putting the original Markdown on the left and the model output on the right is the fastest way to see those edits as edits, not as a new essay you have to re-read from scratch.

Documentation pull requests without checking out the branch

README updates, runbooks, and style guides are Markdown. Pasting HEAD and the proposed file into a side-by-side view is useful when you are reviewing from a browser, when the change is in an email, or when the two versions never lived in the same repo.

Translation and localization review

A translated Markdown page should keep heading depth, list length, and link targets aligned with the source. Diffing the two files will not grade the prose, but it will catch a missing step in a procedure, a dropped table column, or a link that still points at the English anchor.

Legal-ish drafts that cannot skip a clause

Privacy policies, terms, and internal policies often start as Markdown even when they ship as PDF. Comparing versions side by side is how you confirm a paragraph moved rather than vanished. Citation counts on each pane are a second check when the document is built out of referenced URLs.

How to read a Markdown diff without getting lost

Start in preview. If the outline jumped, fix the headings before you argue about wording. Then switch to source for the hunks that matter: a list that changed length, a table row, a code sample, a URL. Ignore whitespace-only churn if you can; if one side was auto-formatted, normalize that first so the coloring is about meaning.

When a whole section shows as deleted and re-inserted, it probably moved. Confirm the content still exists, then look at the neighbors to see whether the move broke a numbered procedure. Line numbers are there so you can say “modified, line 84” instead of quoting a paragraph into chat.

md diff FAQs

No. md diff compares both files in your browser, so the text never leaves your device.

More tools