๐Ÿ“—

Text Diff Checker

Compare texts for differences without online tools.ย DevUtils.appย allows you to quickly compare the difference between text strings without any internet connection. It supports visual highlighting the diff, renders HTML, or the patch format of the diff.
notion image

Quickly compare two text strings

You can start to compares text strings from anywhere in your macOS (terminal, in email, web browser,...). Activate the app by:
  • Copy text โ†’ย Pressย โŒƒโŒฅโŒ˜Space (Or your own customized hotkey, up to you)
  • Copy text โ†’ย Click to DevUtils iconย in the status bar
  • Select text โ†’ Right-click โ†’ "Inspect in DevUtils.app"(This menu appears after you install the app)

Input

Enter your first string in the left input textbox and the second string to compare in the right input textbox. Clicking the "Swap Inputs" button allows you to quickly swap the two strings.

Output

The tool will render the diff and highlight it visually in the bottom panel. You can choose to view the diff with the following format:
  • Formatted text: Text with its background as green/red based on the diff. You can copy this and paste it into other rich text editors.
  • HTML: The HTML version of the formatted text, where the html tags are used to represents the diff, for exampleย <i>inserted</i> <del>deleted</del>.
  • Minimal diff: Return the raw diff data. This format is similar to theย UniDiffย format but with some differences. Seeย this pageย for more details.
You can navigate through the diffs by clicking the arrow buttons near the output text view. The number between arrows is the number of diff sections found in the output.

Options

You can choose to compare the text strings using character-based, word-based, or line-based. Select the option you want in the "Diff mode" section.

Also available onย differencechecker.app