Markdown compare: paste two versions or open two files and see which lines were added or removed in the source text.
What is Markdown Compare?
Markdown Compare is a free online tool that compares two Markdown texts line by line in your browser. Paste two versions or open two files to see which lines were added and which were removed in the source.
What it supports
- Two inputs: the original text and the changed text.
- A source diff of added, removed and unchanged lines.
Good to know
- The tool compares the text of the source, not the rendered pages. A change that renders the same still shows up as a difference.
- A very large or very different pair of texts can hit a time limit, and then no comparison is shown.
How do I use Markdown Compare?
- Paste the first version into the original box and the second into the changed box, or open two files.
- Differences appear automatically as either source changes.
- Read the added and removed lines, or Copy or Download the diff. The panel shows at most 5,000 lines; export includes the complete diff.
Example
Two versions of a plan, with one line changed.
# Plan
Draft the post
Review it
# Plan
Draft the post
Publish it
# Plan
Draft the post
- Review it
+ Publish itA minus marks the removed line, a plus marks the added one, and the other lines are unchanged.
Limits and privacy
Limits
- Text: each box takes up to 2,000,000 bytes of UTF-8 (about 2 MB), counted separately. Larger text is rejected.
Is my content sent to a server?
No. Your content and files are processed in your browser and never uploaded. OCR and PDF reading download processing files, including OCR language data and the PDF worker, from this same site only when those tools run; no content goes to third parties. Markdown previews show external images as alt text instead of loading them.
Copying puts a result on your clipboard and downloading saves it as a file, but only when you press the button. The file is created in your browser, so nothing is uploaded.
For the full details, see the Privacy Policy
Related tools and pages
Convert to or from other formats, or work on the same content with these tools.