Paste or type to begin

Original on the left, modified on the right.

Compare two C files

Compare C source code with full syntax highlighting. Perfect for reviewing kernel patches, comparing function implementations, or tracking changes in embedded systems code. Supports preprocessor directives, structs, pointers, and all C features.

Features

Frequently asked questions

Can I compare header files?
Yes. Both .c source files and .h header files can be compared.
Can I format C code?
Auto-formatting is not available for C, but the diff highlights all changes clearly.
Does it highlight preprocessor directives?
Yes. #include, #define, #ifdef, and all preprocessor directives are syntax-highlighted.

More diff tools