
Unified Diff Generator
Generates unified diff output between two text strings with 3 lines of context around changes. Useful for comparing text versions and analyzing differences in a standard format.
3337 views7Local (stdio)
What it does
- Generate unified diffs between text strings
- Compare old and new text versions
- Show changes with 3 lines of context
- Output differences in standard unified format
Best for
Developers reviewing code changesContent editors comparing document versionsAnyone needing structured text comparison
Standard unified diff formatTypeScript implementation
Tools (1)
get-unified-diff
Get the difference between two text articles in Unified diff format.