2つの文章の違いを、ブラウザの中だけで見比べるツール。テキストはどこにも送信されません。
🇬🇧 English version is at the bottom of this page — jump to English ↓.
🔗 すぐ使う / Use it now: https://make-good-life.com/tools/diff/
wisediff(ワイズディフ) は、左右に貼った2つの文章の 違いを色で示す 無料ツールです。 有名な「difff《デュフフ》」と同じ用途ですが、次の点がちがいます。
- テキストを送信しません。 すべてあなたのブラウザの中だけで計算します(difff はサーバーに送られます)。インターネットが切れていても動きます。
- 改行や空白だけの違いも、はっきり分かります。 「見た目は同じなのに何かが違う」を取りこぼしません。
- 行・単語・文字 の3段階で細かさを選べます。日本語の文章どうしの細かい比較も得意です。
- 検索・置換・正規表現 が使えます。貼ったあとに文字を直してから比べ直せます。
- ブラウザで https://make-good-life.com/tools/diff/ を開きます。
- 左の枠(原文 A)と右の枠(変更後 B)に、それぞれ文章を貼り付けます。
- 違いが自動で色分け表示されます。緑=追加された部分、赤=削除された部分 です。
それだけです。インストールも会員登録も要りません。
「りんご」と「りんご 」(末尾に空白)のように 見た目では気づけない違い も、はっきり強調表示します。
- 空白記号 をオンにすると、空白は
·、タブは→、改行は¶で見えるようになります。 - 空白や改行だけの違い は、記号オフでも自動で強く色づけされます(見落とし防止)。
- 改行コード(LF / CRLF) や 末尾の改行の有無 が左右で異なる場合は、警告バッジで知らせます。
Ctrl(Mac は ⌘)+ F で検索バーが開きます。
- 検索: 入力した文字を A・B どちらか、または両方からハイライトします。
- 置換: 「置換」で1件、「すべて置換」でまとめて置き換え、その場で比較し直します。
- 正規表現: 「正規表現」をオンにすると、
\d+のようなパターンや$1の後方参照が使えます。書式が誤っているとその場で知らせます。
- 元の文章が書き換わったりしませんか? いいえ。ツールはあなたが貼り付けた文字を読むだけで、ファイルや元データには触れません。
- 貼った文章はどこかに保存・送信されますか? いいえ。送信は技術的に不可能にしてあります(プライバシーの仕組み)。「この端末に保存」を押したときだけ、あなたのブラウザ内にのみ保存されます。
- どのブラウザで使えますか? Chrome / Edge / Safari / Firefox の最新版で動作します。
- ファイルを読み込めますか? 枠にファイルをドラッグ&ドロップするか「ファイル読込」から選べます。読み込みもブラウザ内で完結し、アップロードはしません。
技術的な詳細(オプション一覧・仕組み・ライセンス)は English セクションの下、または docs/ を参照してください。
🇯🇵 日本語のガイドはこのページ上部にあります → 日本語 ↑
wisediff is a free tool that compares two texts and highlights the differences. It covers the same need as Japan's well-known difff, but:
- It never uploads your text. Everything is computed inside your browser (difff sends text to a server). It works with no internet connection.
- Newline- and whitespace-only differences are obvious — you won't miss "looks identical but something changed".
- Line / word / character granularity, with high-quality character diffs (good for Japanese).
- Search, replace, and regular expressions are built in.
- Open https://make-good-life.com/tools/diff/ in your browser.
- Paste your original into the left box (A) and the changed text into the right box (B).
- Differences appear automatically — green = added, red = removed.
No install, no sign-up.
Differences you can't see — like a trailing space (apple vs apple ) — are strongly highlighted.
Turn on Show whitespace to render space as ·, tab as →, newline as ¶. Whitespace-only
changes are emphasized even with glyphs off, and line-ending (LF/CRLF) or final-newline mismatches
are flagged with badges.
Press Ctrl/⌘+F. Search highlights matches in A, B, or both. Replace does one or all and
re-diffs immediately. Enable Regex for patterns like \d+ and $1 backreferences; invalid
patterns are reported inline.
| Option | Description |
|---|---|
| Granularity (Line / Word / Char) | Line aligns whole lines and highlights changed characters within them; Word and Char diff the text as one stream. |
| View (Side-by-side / Inline) | Two columns, or a single unified +/- column. |
| Show whitespace | Render space/tab/newline as glyphs. |
| Ignore leading/trailing whitespace | Treat lines that differ only by surrounding whitespace as equal. |
| Ignore case | Treat case-only differences as equal. |
| Sync scroll | Scroll both input panes together. |
| Line numbers | Show/hide line numbers in the result. |
| Theme / Colors | Light/Dark, and Default / Green / Mono (print- and color-blind-friendly) schemes. |
For line mode, lines are aligned with jsdiff, then changed
line pairs are diffed character-by-character with
diff-match-patch (semantic cleanup) for readable,
Japanese-friendly inline highlights. Word and character modes diff the whole text as a stream.
Everything runs client-side; a connect-src 'none' Content-Security-Policy makes network requests
impossible. See docs/PRIVACY.md.
It's a dependency-free, build-free static app (Node.js ≥ 20 only). See
CONTRIBUTING.md. Quick commands: npm run dev, npm test, npm run build.
MIT © 2026 ECgear.
Bundled libraries (see NOTICE): jsdiff (BSD-3-Clause) and diff-match-patch-es (Apache-2.0, a port of Google's diff-match-patch). Inspired by difff.