Diff Checker
Compare two texts line-by-line with an LCS diff.
About the Diff Checker
Compare two blocks of text line by line using a longest common subsequence algorithm, viewable as a unified or side-by-side diff, with options to ignore whitespace and case differences.
Examples
Compare lines
line1\nline2Output
line1\nline2 (changed)Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Emoji Remover
Text & String
Strip all emoji characters from text instantly.
Filename Sanitizer
Text & String
Clean up filenames for safe cross-OS use.
Find & Replace
Text & String
Search and replace text with plain or regex matching.
Markdown Live Editor
Text & String
Write Markdown with a live rendered preview and toolbar.
Reverse Text
Text & String
Reverse text by character, word, line, or sentence.
Speech to Text
Text & String
Dictate with your microphone and get a live, editable transcript.
Frequently asked questions
Read more
- Line diff is not enough: word and character diffs for prose, config and JSON
Line-based diffs mark a whole paragraph as changed when one word moved. Word and character granularity, unified patches and side-by-side views each solve a different problem.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser