Skip to content

Text Compare

Paste two texts and see the difference instantly. The comparison runs in your browser; your text is never sent anywhere.

—

PDF report

This button sends your text to the server. Everything else on this page runs in your browser and your text goes nowhere; the PDF is the one exception, because the document is built on the server. The text you send is not stored: the report is generated, then dropped from memory, and it is never written to a log.

How it works

The two texts are matched line by line, then word- or character-level differences are extracted inside the lines that changed. Matching uses Myers' algorithm: the work scales with the size of the DIFFERENCE, not the size of the text, which is why two large files that resemble each other compare quickly.

Where your text goes

Nowhere. The comparison runs entirely in your browser; once the page has loaded you can disconnect from the network and it keeps working. Your text is sent to the server only if you ask for a PDF report, and that button says so.

Whitespace and case

You can ignore whitespace so that a line whose indentation changed still counts as unchanged, and you can ignore the difference between upper and lower case. These settings affect MATCHING only; your text is kept exactly as you entered it and nothing is trimmed from the merge result.

Case folding follows the page language

On this English page, ignoring case treats "I" and "i" as the same letter. The Turkish page applies Turkish rules, where the lower case of "I" is "ı" and the lower case of "İ" is "i" — so the same two lines can match on one page and differ on the other. If you are comparing Turkish text, use the Turkish page.

Other comparison tools