Сравнение текста

Построчный diff

Original

Loading editor...

Modified

Loading editor...

Diff two pieces of text without firing up an IDE

Sometimes the thing you need to compare isn't JSON or code — it's a log snippet, a config file, an essay, or two versions of an email. A line-by-line diff shows you additions, removals, and modifications side by side, with options to ignore whitespace and case so you only see meaningful differences.

Use the comparer when you need to

Compare two log snippets

Paste before-and-after logs to find the line that changed when a deploy went sideways.

Diff prose or release notes

See exactly what changed between two drafts without running git diff or opening an editor.

Verify a copy-paste change

Confirm that the modified version differs only in the way you intended, not in extra invisible whitespace.

How to diff text quickly

  1. 1

    Paste or upload the original text on the left.

  2. 2

    Paste or upload the modified text on the right.

  3. 3

    Toggle ignore whitespace or ignore case if needed, then click Compare.

Common text-diff workflows

Compare staging and prod logs

Paste both into the editor to find the entry that's missing or different between environments.

Audit a config rollout

Confirm the new config differs from the old only in the lines you intended to change.

Review a copy-edit pass

See exactly which sentences changed between drafts of an article or release note.

Похожие инструменты

Часто задаваемые вопросы

Сравнение JSON разбирает JSON и строит структурный diff. Этот инструмент обрабатывает ввод как обычный текст по строкам — удобно для логов, конфигов, прозы и любого не-JSON.

Если на одной позиции удалена одна строка и добавлена другая, они группируются как изменение (янтарный цвет), чтобы сразу видеть замену.

Они меняют правило сравнения: режим пробелов схлопывает последовательности пробелов и обрезает концы строк перед сопоставлением; игнор регистра приводит текст к нижнему регистру только для сравнения — в выводе остаётся исходный текст.

Да. Кнопка «Загрузить» над каждым редактором подставляет текстовый файл в «Оригинал» или «Изменённый», затем нажмите «Сравнить».