📃 Text Diff

Compare text side by side — highlights every change

🔒 画像がデバイスの外に出ることはありません。 すべての処理はJavaScript diff algorithmを使用してブラウザ内でローカルに行われます。アップロード、サーバー、追跡は一切ありません。

特長

  • Three Diff Modes — Compare text by characters, words, or lines — choose the granularity that fits your needs.
  • Color-Coded Output — Additions highlighted in green, deletions in red, unchanged text in gray.
  • Change Statistics — See the count of additions, deletions, and unchanged segments at a glance.
  • Swap & Clear — Swap original and modified text or clear both fields instantly.

仕組み

  1. Enter original text — Paste the original version of your text in the left panel.
  2. Enter modified text — Paste the modified version in the right panel.
  3. Review differences — See every change highlighted with color coding. Switch between character, word, and line modes.

活用例

  • Compare two drafts of an article or document
  • Spot changes between code versions without Git
  • Verify edits in contracts or legal documents
  • Compare API responses or configuration files

よくある質問

Which diff mode should I use?

Character mode shows the most detail. Word mode is best for prose and natural language. Line mode is ideal for code and structured text.

Can I compare large texts?

Yes. The diff algorithm runs efficiently in your browser. Texts up to tens of thousands of characters are handled smoothly.

関連ツール