CompareTexts

CompareTexts / Writing and documentation

Compare two Markdown versions

Paste an old and new README, documentation page or Markdown draft. See the source changes alongside a rendered preview of each version.

Your inputs

Files and pasted text are read locally. Nothing is sent for comparison.

Comparison results

Choose inputs and run the comparison.

Worked example

A release note update

Select Load example above to run this sample in your browser.

Original

README.md: “- Export as text”

Revised

README.md: “- Export as PDF” and “- Keyboard shortcuts”

What the result means: The source diff marks the changed export item and added shortcut item. The rendered previews show how the revised list reads.

How to use it

How to compare two markdown versions

  1. STEP 01

    Paste Markdown into the original and revised editors.

  2. STEP 02

    Run the comparison to highlight changed source text.

  3. STEP 03

    Inspect both previews to catch formatting changes such as headings, lists and tables.

Check both the source and what readers see

A small Markdown edit can change the rendered structure of a page. Missing table separators, heading markers and list indentation may be easier to notice in the previews than in a plain text diff. Use the source change list to locate edits, then check their visual effect. The previews remove active HTML and remote images.

What to check in the results

This preview is a safe approximation of common Markdown. GitHub and other platforms may render extensions differently. Pasted Markdown stays on this device.

For a general line and character comparison, use the text diff tool. The text comparison guide explains a worked example, line counts, and how to keep shared links private.

Common questions

Can I compare two README.md files?

Yes. Paste both versions or choose local Markdown files. The result shows source changes and two rendered previews for checking headings, lists and tables.

Will this show exactly what GitHub renders?

Not always. Common Markdown is supported, but GitHub-specific extensions and styling can differ. Check the final README on its target platform before publishing.