差分チェッカー
無料2つのテキストを行単位で比較します。
A diff shows the smallest set of line changes between two versions of a text. Paste both versions and this tool lines them up side by side, colouring everything added or removed.
差分チェッカーの使い方
- 1Paste the original text in the left pane and the revised text in the right.
- 2Removed lines appear in red on the left, added lines in green on the right.
- 3Toggle ignore whitespace or ignore case to hide formatting-only changes.
- 4Copy the lines you need, or clear both panes and compare another pair of texts.
差分チェッカーのFAQ
How does this diff checker work?
It runs a line-based longest-common-subsequence algorithm, the same idea git uses at line level. Unchanged lines are matched up and everything between them is reported as an addition or a removal.
Can I ignore case and whitespace differences?
Yes. The toggles normalise each line before comparing, so changes in capitalisation, indentation or extra spaces stop showing up as differences while the original text stays visible.
Is there a size limit for the comparison?
The diff runs locally, so no server imposes a limit. Pastes over 1 MB are compared on the first megabyte, and extremely large line counts switch to a simplified common-prefix and suffix comparison.
Does it work for code and JSON?
Yes. Any plain text works: source code, JSON, Markdown, CSV or prose. The diff is line-based, so it highlights whole changed lines rather than individual characters within a line.
差分チェッカーをよく使いますか?
Proなら、すべての広告を取り除き、ファイルサイズの上限を引き上げ、全ツールでバッチモードとプリセット保存を利用できます。
プランを比較 →