Text Compare: See the Differences

Paste two texts, config files or code to see the differences at once: added lines in green and removed in red, or word-level comparison for Arabic text and articles. All in your browser.

Compare texts
− 1+ 2

Compare

When you need it

Config files

Compare htaccess or wp-config before and after an edit to see what changed.

Content and contracts

See what the other side changed in a text or agreement.

Code

Review theme or plugin changes before uploading them.

Tips

Do

  • Use word mode for articles and Arabic text
  • Turn on Ignore whitespace for code formatted differently

Avoid

  • Pasting real passwords or keys without need, even though the tool is local

Example: what did the theme update change?

Before updating a theme you edited, paste the old and new file here. Your added lines show in red against the new version, so you know what to move into a child theme before updating and keep your changes.

Key terms

Short definitions of what you meet along the way.

Diff
Showing the differences between two versions: what was added and removed.
Unified diff
The diff -u format showing lines marked + and −.
LCS
Longest common subsequence, the algorithm that finds what stayed the same.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Is my text sent anywhere?

No. Comparison happens only in your browser.

What is the size limit?

Roughly a few thousand lines. For bigger files use git diff or diff in a terminal.

How do I compare in a terminal?

diff -u old.txt new.txt, or git diff in a repository.

Need a developer to review your code?

We review and build systems, themes and plugins.

Contact us on WhatsApp