Markdown Compare

Paste two Markdown documents and see exactly what changed — a live side-by-side diff with inline word-level highlights.

Why You'll Love Markdown Compare

Live Side-by-Side Diff

Differences appear instantly as you type in either pane — no compare button needed.

Word-Level Highlights

Changed lines show exactly which words were added or removed, tinted green and red inline.

Clear Change Summary

A running count of added, removed, changed and unchanged lines keeps the scope of every edit obvious.

Swap Directions

One click flips the comparison so you can review the change from the other side.

Export as Unified Diff

Copy or download a standard .diff patch that works with git and any diff-aware editor.

100% Local & Private

Everything runs in your browser — your documents never leave your device.

About Markdown Compare

Markdown Compare is a focused diff tool for Markdown text. It compares two documents line by line and pairs rewritten lines so you see word-level changes instead of whole-line churn — removed text is struck through in red, added text is highlighted in green, and rewritten lines are tinted amber. Results recompute on every keystroke, and the unified patch you copy or download is standard output that works with git and other diff tooling. All processing is local: nothing is uploaded.

How to Compare Markdown

Three steps to a clear diff.

1

Add the original document

Paste or upload the original Markdown into the left pane.

2

Add the modified document

Paste or upload the edited version into the right pane. The diff updates live as you type.

3

Review and export

Scan the side-by-side diff, then swap directions, copy the unified diff, or download it as a .diff file.

Good to know

The diff compares plain text line by line — formatting changes like a different heading level show up as changed lines. If you swap the panes, the unified patch reverses to match the new order. Copy and download are disabled until at least one pane has content.

Frequently Asked Questions