Compare two blocks of text side-by-side. Highlights additions, deletions, and changes with line numbers.
Original Text
Changed Text
Three steps. Instant comparison.
This tool uses the jsdiff library to perform a line-by-line comparison of two texts. The algorithm finds the longest common subsequence between both inputs, then identifies which lines were added, removed, or stayed the same. Each difference is color-coded — green for additions, red for deletions. The side-by-side view shows the original and changed text in parallel columns, while the unified view shows all changes in a single stream with +/− prefixes. Everything runs in your browser using JavaScript — no data is sent to any server.