Text

String Diff

Compare two strings and show differences.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type String Diff and press Return.
  2. Paste or type your text into Input.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Compare, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
What to enter
Enter two texts separated by a line containing only '---'

Text 1
---
Text 2

Options

OptionValuesDefault
Comparison levelLevel of detail for comparisonLines, Words, CharactersLines
Ignore whitespaceIgnore whitespace differencesOn or offOff
Ignore caseCase-insensitive comparisonOn or offOff
Show unified diffShow in unified diff formatOn or offOn

Example

Real output from Devly, with the default options.

Input
The quick brown fox
jumps over the lazy dog.
---
The quick red fox
jumps over the sleepy dog.
Summary
+2 -2 ~0 changes
Diff
- The quick brown fox
- jumps over the lazy dog.
+ The quick red fox
+ jumps over the sleepy dog.

From Terminal

With the free command-line tool installed:

Terminal
devly diff --path input.txt
# or pipe text in
pbpaste | devly diff

Quick Switch also finds it by: diff, compare, difference, text, merge, change.

More Text tools