Neatbo.

Compare text

See what changed, side by side.

Browser-local processingInputText × 2OutputDifference reportUp to 10 MiB per file · File limit: 1
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run

or drag and drop it here

Files stay on this device. Your originals stay unchanged.

Up to 10 MiB per file · File limit: 1

    0 characters · 0 bytes
    Options

    Complete the required options first. You can keep the defaults for the rest.

    Preparing the tool…

    Before you start

    Compare two texts line by line with bounded longest-common-subsequence matching. Whitespace comparison is optional; downloadable originals never include visual diff markers.

    How to use this tool

    1. Paste the original into “Original text” or select a local text file, then paste the changed version into “Revised text”.
    2. Choose whether to ignore whitespace differences in Settings, then select “Compare texts”.
    3. Read the aligned line numbers and changes. Download either original text from the result area if needed.

    Supported inputs and limits

    Up to 1 MiB per text and 4,000 lines each, with at most four million comparison cells. Large comparisons fail explicitly instead of exhausting the browser.

    Worked example

    Example input

    a
    b
    
    a
    c
    Example options
    {}

    Example output

    {
      "diff": [
        {
          "type": "same",
          "left": "a",
          "right": "a",
          "leftLine": 1,
          "rightLine": 1
        },
        {
          "type": "delete",
          "left": "b",
          "right": "",
          "leftLine": 2,
          "rightLine": null
        },
        {
          "type": "insert",
          "left": "",
          "right": "c",
          "leftLine": null,
          "rightLine": 2
        }
      ]
    }

    When something does not work

    Correct the reported syntax or range and run again. Formatting is not execution: scripts, SQL, expressions and pasted markup do not run against your system or a remote service.

    Frequently asked questions

    Are my files uploaded?

    No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

    What should I check in this result?

    Compare two texts line by line with bounded longest-common-subsequence matching. Whitespace comparison is optional; downloadable originals never include visual diff markers.

    Documentation & further reading

    Related tools