Skip to content
QKQuickKit日本語
Developer ToolsLOCALRuns in your browser

Text Diff

Compare two blocks of text line by line and get a unified diff with added, removed, and unchanged line counts.

This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.

+ 0 Added0 Removed0 Unchanged

Unified diff

How it works

The comparison is line-based using a longest-common-subsequence diff, and the output is a standard unified diff with configurable context. "Ignore whitespace" collapses runs of whitespace and trims each line before comparing; "ignore case" lowercases first. A trailing newline counts as an extra empty line. Each side is limited to 3,000 lines.