Compare two versions of text

Paste two drafts or open small text files. See added, removed and replaced lines side by side.

Your text stays in this browser tab.

0 lines

0 lines

Lines are compared independently. Spaces and tabs can be ignored within each line.

Comparison

Run a comparison to see what changed.

How it compares

Check the lines

Line numbers refer to each original input. A paired deletion and addition is shown as a replacement. Large unchanged sections fold down to keep neighboring changes visible.

Choose what matters

Windows and Mac line endings are normalized to LF. Ignoring spaces and tabs still compares line breaks. Use a plain-text report in ignore mode, or a unified patch for an exact comparison.

Git diff documentation

Work with plain text

Use UTF-8 text up to 512 KB and 8,000 lines per side. You can compare notes, configuration files or change logs without opening a project.

VS Code file comparison guide