RevealTheme logo

Porównywarka tekstu (diff)

Porównuj dwa bloki tekstu linia po linii. Wizualizuj dodania, usunięcia i niezmienione linie za pomocą kodowania kolorami.

Jak korzystać z tego narzędzia

  1. 1

    Paste or type the original version into the left textarea labeled Original.

  2. 2

    Paste or type the changed version into the right textarea labeled Modified.

  3. 3

    Read the result panel below: lines prefixed with a minus and shown in red were removed, lines prefixed with a plus and shown in green were added, and lines prefixed with an equals sign are unchanged.

  4. 4

    Edit either box to refine your input; the diff recomputes instantly as you type.

Czym jest porównywarka tekstu (diff)?

Narzędzia do porównywania (diff) zestawiają dwie wersje tekstu i podświetlają to, co się zmieniło. Przydatne do porównywania plików konfiguracyjnych, umów, recenzji kodu lub dowolnych dwóch wersji dokumentu. To narzędzie działa w całości w Twojej przeglądarce: żadne dane nie są przesyłane.

Typowe przypadki użycia

  • Spot which keys changed between two versions of a .env or config file pasted side by side.

  • Compare two revisions of a short paragraph or email draft before sending the edited version.

  • Check what a teammate altered in a snippet they pasted into chat versus your local copy.

  • Verify that a find-and-replace did exactly what you intended across a block of text.

  • Review line-level differences between two SQL queries or log excerpts of similar length.

  • Confirm two lists (allowlists, redirect rules, CSV rows) are identical or see exactly where they diverge.

Najczęściej zadawane pytania

Czy porównanie odbywa się na poziomie słów?▼
To porównanie na poziomie linii. Aby uzyskać podświetlanie na poziomie słów, użyj dedykowanego narzędzia, takiego jak Meld lub VS Code.

Powiązane narzędzia