Runs in your browser

Markdown Diff

Compare two Markdown documents line by line.

Part of the Document Checker bot
Processed in your browser
Drop a file
Drop a file

Differences

About the Markdown Diff Checker

Compare two versions of a Markdown document and see exactly what changed. Side-by-side or unified view, with changed words highlighted inside each line and long unchanged sections folded away.

How to use the Markdown Diff Checker

  1. Paste the original Markdown on the left and the changed version on the right, or open two files.
  2. Choose side-by-side or unified view. Changed words inside a line are highlighted.
  3. Hide unchanged lines to focus on the edits, or copy the result as a diff.

Compares the source, not the rendering

The diff works on the raw Markdown, so you see every change: a moved heading, a changed link, an extra space in a table. Lines that changed only slightly show the exact words that differ.

Large documents

Lines are compared first, then words only within changed lines, so long documents stay fast. Long unchanged sections fold away, with a few lines of context kept around each change.

Questions

Are my documents uploaded?

No. Both versions are compared in your browser.

What does “Ignore whitespace” do?

It treats lines that differ only in spaces or indentation as unchanged.

What does “Copy as diff” give me?

Plain text with every line marked: + for added, - for removed, and a space for unchanged. It reads well in code reviews, issues and chat.

Also searched as: compare markdown files · markdown compare · text diff online · diff checker · compare two documents