Markdown Diff — Compare Two Markdown Documents
Paste two Markdown documents and instantly see what changed. Line-by-line diff with colour-coded additions and removals — no signup required.
What this tool does
Paste two Markdown documents — the original on the left, the modified version on the right — and click Compare Documents to see a colour-coded diff. Lines added in the modified version appear in green, removed lines in red, and unchanged context lines in grey.
When to use a Markdown diff
- Documentation review — compare a draft against the current published version before merging
- Content audits — spot exactly what changed between two revisions of a README, wiki page, or blog post
- Translation review — identify which sections changed after a source-language update, so translators know what to re-translate
- Changelog validation — confirm that only the intended sections were edited in a changelog file
- Quick paste comparison — compare two versions without needing git access or a terminal
How the diff works
The comparison uses a Longest Common Subsequence (LCS) algorithm — the same technique used by git diff. Lines shared by both documents form the common subsequence; everything else is marked as an addition or removal. Toggle Hide unchanged lines to focus purely on what changed.
Related tools
- Markdown Live Editor — edit and preview Markdown in real time
- Markdown to HTML — convert Markdown to clean HTML output
- Markdown Table Formatter — clean up misaligned tables
- GitHub Markdown workflow guide — how to review Markdown changes in pull requests