ToolPick

Text diff checker

Compare two text blocks line by line with added and removed highlighting.

Compares line by line. Each side is limited to 2,000 lines.

How it works

Both inputs are split on newlines (CRLF and CR are treated as newlines). Common leading and trailing lines are set aside, then a Myers shortest-edit-script search compares the rest and the result lists every line with + for added, - for removed and a space for unchanged. Each side is limited to 2,000 lines.

Runs in your browser; nothing is uploaded.

FAQ

Is this a character-level diff?

No. Comparison is line-based. Use the regex or JSON tools for finer structure.

How are blank lines handled?

Empty lines are real lines. Trailing newline differences can show as an extra blank line change.

Is there a size limit?

Yes. Each side may have up to 2,000 lines, because the search needs memory that grows with the number of differences. Split larger files first.

Related developer tools

Bookmark this page for next time, or copy its link. Shared links contain no working input.

Link to this tool: https://www.toolpick.dev/free-tools/diff-checker