Text and Code Comparison Tool

Compare texts, code and files and see exactly what changed.

📁 Upload file
📁 Upload file
View
Show
Language
Comparison
Result

Paste or upload both texts above and click "Compare" to see the differences.

Lines per page

Compare CSS Online

Use MyTextDiff to compare two CSS files or snippets and quickly identify what changed in selectors, properties and values in your styles. The comparison is done right in the browser, with nothing to install.

When you select CSS for syntax highlighting, the result colors comments (/* */), class and ID selectors (.class, #id), properties, numeric values with units (px, em, %, among others) and hexadecimal colors.

Can I compare .css files directly?

Yes. You can paste the code or upload the .css file directly into the comparison fields.

Does the syntax highlighting recognize hexadecimal colors, like #ffffff?

Yes. Hexadecimal colors (such as #ffffff or #fff) are recognized within a declaration's value, without confusing them with an ID selector that starts with #.