Markdown Diff

Paste two versions of a document and see what changed: in the wording only, or in every character of the Markdown.

How it works

In What it says mode, both documents are read by marked and turned into plain text, one line per paragraph, heading, list item or table row. Formatting marks go, and a paragraph is one line however it was wrapped.

In Every character mode, the Markdown source itself is compared line by line, so a swapped bullet marker or a re-wrapped paragraph shows as a change.

Either way the two texts are compared with the same diff used by the Diff Checker: the Myers algorithm finds the fewest changed lines, then the changed words inside each edited line are highlighted. It runs in a background worker, and nothing is uploaded.

How to use it

  1. 1 Choose what to compare: what the documents say, or every character.
  2. 2 Paste the older version into Original.
  3. 3 Paste the newer version into Changed.
  4. 4 Read the differences, or copy them as a unified diff.

Good to know

  • Use What it says to review an edit to a document someone also reformatted. The formatting noise disappears and the real edits remain.
  • Use Every character before a commit, when you want to see exactly what the file will contain.
  • In What it says mode, list items start with • or their number and nested items are indented, so a moved item is easy to spot.
  • Code blocks are compared line by line in both modes, because in code every character can matter.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Reviewing an edit that someone also reformatted

A colleague sends back your Markdown document with "a few small edits". Their editor also rewrapped every paragraph at 80 columns, changed your * bullets to -, and turned your bold markers from __ to **. A plain diff now marks almost every line as changed, and the few real edits are buried.

Paste your version into Original and theirs into Changed, and choose What it says. Both are rendered to plain text first. Your paragraph, which you wrote as one long line, and their version, wrapped over four lines, become the same single line. The * and - bullets both become •. __Important__ and **Important** both become the word Important. What is left in the diff is only what reads differently.

Suppose their real edits were two. In the install section, "Run npm install" became "Run npm install, then restart the app". In the list of supported systems, a new item "Windows 11" was added. The diff shows the install paragraph as one removed line and one added line, with ", then restart the app" highlighted. The new list item shows as a single added line, "• Windows 11". The summary reads "1 block removed, 2 blocks added", and everything else counts as unchanged.

When you are ready to commit, switch to Every character. Now the rewrapping and marker changes show up again, because the file on disk really does contain them. Use this view to decide whether to keep their formatting or ask for it to be undone, and copy the result as a unified diff if you want to paste it into a review comment.

The tool has limits. What it says mode ignores link addresses, so a link that now points somewhere else but keeps its text will not show as changed; check those in Every character mode. Raw HTML tags are dropped in that mode and only their text is compared. Very different documents fall back to a correct but longer list of changes once there are more than about 2,000 differences. Together, the two documents may be up to one million characters.

Frequently asked questions

What counts as formatting in What it says mode?

Emphasis and code marks, link addresses, heading markers, bullet characters, table pipes and the line breaks inside a paragraph. **bold** and __bold__ are the same, and so are a # heading and an underlined one. Link text is compared, but the address behind it is not.

Why does one small change mark a whole paragraph?

In What it says mode each paragraph is one line, so any edit marks that line as changed. The words that actually changed are highlighted inside it, so you can still see the edit at a glance.

How is this different from the Diff Checker?

The Diff Checker compares any two texts as they are. This tool understands Markdown, so it can ignore formatting and re-wrapping and compare only the wording. Every character mode here behaves like the Diff Checker's line mode.

Are my documents uploaded?

No. Both versions are read and compared in your browser, in a background worker with a 3-second limit.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.