テキスト比較

2つのテキストを比較し、追加・削除された行をハイライト表示。無料、プライベート、ブラウザ内。

使い方 compare two texts

  1. Paste the original text into the first box and the changed version into the second.
  2. Click Compare — the tool matches the texts line by line.
  3. 削除しました 行 are struck through in red; added 行 are shown in green beneath them.

Use it to review edits in essays, config files, JSON, or code, or to double-check that a copy-paste was faithful. Everything runs locally in your browser — nothing is uploaded.

What do the colors mean?

Identical 行 are shown normally. When a line differs, the original line is displayed in red with a strikethrough and the replacement line in green. That makes it easy to spot exactly where two texts diverge, line by line, without any file upload or signup.

Frequently asked questions

How do I compare two texts?

Put the first text in the Original box and the second in the Changed box, then click Compare. The tool highlights every line that differs between them.

What does the added/removed highlighting mean?

Lines present only in the original are shown in red with a strikethrough (removed). Lines present only in the changed text are shown in green (added). Matching 行 are plain.

Is my text uploaded anywhere?

No. Comparison runs entirely in your browser with vanilla JavaScript — your text never leaves your device.

Is this different from テキスト差分?

They share the same line-comparison engine. This ページ is a dedicated, simpler view for quick side-by-side checks, while テキスト差分 offers the same output in the classic diff view.