Compare two texts

    Compare two texts and see added and removed lines.

    Your text stays on this device

    About the Text Compare tool

    This text compare tool shows the difference between two versions of a document, list or code: added lines in green with a +, removed lines in red with a −, and the changed words inside each line highlighted. View the result side by side or as one unified list, and ignore upper/lower case or extra spaces when they should not count. Paste the texts or open .txt, .csv, .json, .html and other text files. Use it to check what changed in a revised agreement or notice.

    At a glance

    Shows
    Added and removed lines, plus the changed words inside each line
    Views
    Side by side or unified (unified on phones)
    Options
    Ignore upper/lower case; ignore extra spaces (on by default)
    Limits
    About 1 MB per text; up to 4,000 changed lines
    Price
    Free, no sign-up
    Works in
    Your browser, on phone or computer. Works offline after the first visit.
    Privacy
    What you type never leaves your device.

    How to compare text

    1. Paste the original text on the left and the changed text on the right.
    2. Choose whether case and extra spaces should count.
    3. Read the result as you type: side by side or unified, with changed words highlighted. Use Next change and Previous change to jump between edits.

    Private

    Your text stays in your browser and is never sent to a server.

    Instant

    Results update as you type, with nothing to install.

    Free

    No sign-up, no limits and no ads inside your writing space.

    Text Compare: frequently asked questions

    Does it compare word by word?

    Yes, inside changed lines. Lines are matched first, then the words that differ in each changed line are highlighted: removed words are struck through on the left and added words are underlined on the right. For example "Monday at 10 am" → "Tuesday at 11 am" highlights only Monday/Tuesday and 10/11.

    Is there a size limit?

    Texts of about 1 MB compare live when they differ in up to 2,000 lines; long runs of unchanged lines are folded so you see only the edits. If two texts differ almost everywhere, press Compare, and up to 4,000 changed lines are compared.

    Can I compare two files instead of pasting?

    Yes. Press "Open file" above either box to load a .txt, .md, .csv, .json, .html, .xml or .log file. The text appears in the box, where you can edit it, and the comparison updates.

    Is my text sent anywhere?

    No. Everything runs in your browser and your text never leaves your device. Nothing is stored on any server.