Paste or type to begin

Original on the left, modified on the right.

Compare two PHP files

Compare PHP source code with full syntax highlighting. Perfect for reviewing WordPress changes, comparing Laravel controllers, or tracking framework updates. Supports namespaces, traits, typed properties, and all modern PHP features.

Features

Frequently asked questions

Does it support modern PHP?
Yes. Typed properties, enums, fibers, named arguments, and PHP 8.3 features are highlighted.
Can I format PHP code?
Auto-formatting is not available for PHP, but you can compare code with any formatting style.
Can I compare Laravel or WordPress files?
Yes. Any PHP file from any framework can be compared.

More diff tools