Compare two texts
See exactly what changed between two versions, line by line and side by side.
Questions
- How does it decide what changed?
- With the Myers diff algorithm, the same one git uses, through the BSD licensed jsdiff library. A naive line by line comparison marks everything after a single inserted line as changed, which is useless on exactly the files people want to compare.
- What do the ignore options do?
- Ignore case treats upper and lower case as the same. Ignore spaces trims each line before comparing, which removes the noise when only indentation moved. Both change what counts as a difference rather than hiding differences that are there.
- Is there a length limit?
- No, and nothing is uploaded. Comparing two long documents happens entirely on your machine.
- Can it compare files rather than pasted text?
- Not yet. It is on the list.