Conditions to meet before comparison
- Character codes such as UTF-8 and Shift_JIS
- Line break codes such as CRLF and LF
- Treatment of tabs, spaces, and trailing blanks
- Whether to format or sort the files before comparing them
Steps to check the differences
- Place the reference file on the left and the modified file on the right.
- Select the text encoding and choose whether to ignore whitespace, letter case, and line-ending differences.
- Run a comparison to see the number of additions, deletions, and changes.
- Move between differences and review the surrounding logic or settings, not just the changed lines.
If there are too many differences
| Cause | Recommended Action |
|---|---|
| Line break code is different | Ignore line breaks or use the same format |
| automatically formatted | Align before and after formatting or ignore white space difference |
| Line order changed | Align the key or item order before comparing |
| The characters are garbled | Reload with correct character code |
Ignoring whitespace differences can make it easier to see, but it should not be enabled in formats where whitespace is meaningful, such as Python or YAML.
Try It in Your Browser
Your input is processed entirely in your browser. Keep the original data, review the output, and only then save or share it.
Open the Text Diff Checker