Skip to main content
Text And Diff

Diff Viewer

Paste two texts and see the differences highlighted. Useful for comparing configs, JSON responses, log output, or any text.

How it works

This tool uses the jsdiff library to compute a line-by-line diff using the Myers diff algorithm. Lines added in B are highlighted green. Lines removed from A are highlighted red. Unchanged lines are shown in grey.

🔒 Privacy

All diffing runs in your browser. Neither text is sent to any server.

Related tools