Text Diff Checker

Compare two texts line by line and highlight the changes.

Original text

Modified text

+1 · -1 · 3 unchanged

Comparison

function greet(name) {
- return "Hello " + name;
+ return `Hello, ${name}!`;
}
 

About the Text Diff Checker

Diffing is the quickest way to spot what actually changed between two configuration files, API responses or code snippets when the difference is a single character somewhere in the middle.

The comparison uses a longest-common-subsequence algorithm over lines, the same basic approach as version control tools, and stacks the two panes vertically on small screens.

Frequently asked questions

Related tools

UUID Generator

Developer Utilities

Generate cryptographically random UUID v4 identifiers.

Open Tool

Regex Tester

Developer Utilities

Test regular expressions with live matches and capture groups.

Open Tool

Cron Generator

Developer Utilities

Build cron expressions visually and explain existing ones.

Open Tool

JSON Formatter

Formatters

Format, beautify and validate JSON with clear error messages.

Open Tool