What you can do
- Line-by-line comparison with the Myers algorithm, the same one git diff uses.
- Highlighting of the individual words that changed within each line.
- "Ignore whitespace", "Ignore case" and "Differences only" options.
- "Normalize JSON" sorts keys before comparing, so content matters and order doesn't.
- Export of the result as a unified diff patch.
Frequently asked questions
Can I compare two JSON documents with keys in a different order?
Yes. Turn on "Normalize JSON": both documents are formatted with sorted keys, so you only see real differences in values.
Are the texts I compare uploaded anywhere?
No. The comparison runs in your browser and nothing is sent to a server, so you can compare configs that contain credentials too.
Can I apply the result with git?
Yes. The export produces a unified diff patch that git apply and the patch command can read.
More developer tools
- JSON formatter and validator โ Format, minify, validate with the error's line and column, and sort keys, without losing precision on big numbers.
- XML formatter โ Format, minify and check it's well-formed (SOAP included, unfortunately).
- Base64 encode and decode โ Encode and decode UTF-8 text, URL-safe variant, files and binary content.
- JWT decoder โ Read header and payload, with issue and expiry dates in plain language.
- URL encode, decode and parser โ Encode and decode, and break a URL down into its parameters.
- JSON, YAML and CSV converter โ Conversion to and from JSON, with automatic, comma or semicolon delimiter.
- SHA-256 and HMAC hash generator โ SHA-1/256/384/512 and HMAC of text and files, with checksum verification.
- UUID v4 and v7 generator โ Bulk v4 and v7 generation, and inspection of existing UUIDs with creation date.
- Regex tester โ Live testing with named groups, replacement and protection from catastrophic backtracking.
- Unix epoch timestamp converter โ Unix epoch in seconds, milliseconds, micro and nano, time zones and ISO week.
- Cron expression explainer โ Plain-English explanation of crontab, Spring and Quartz expressions with the next runs.
- Working days calculator โ Man-days and hours between two dates or a deadline N days out, with holidays, patron saint and time off.