Tool reference
Diff Viewer
betaCompare original and modified text strings side-by-side or inline using a line-level Longest Common Subsequence (LCS) comparison engine.
Quickstart
Use this when you want the shortest path from input to a useful result.
Paste the base text into the 'Original Text' panel.
Paste the updated text into the 'Modified Text' panel.
Select Split or Unified view to inspect highlighted diffs.
Best for
Common situations where this tool fits naturally into the workflow.
- Identify changes between two versions of code or JSON configs.
- Verify text replacements or translations.
- Inspect formatting differences in plain text files.
Common tasks
Concrete ways this tool is typically used in day-to-day workflows.
Inspect side-by-side differences
Select 'Split View' to compare lines. Deletions are highlighted in red on the left; additions are highlighted in green on the right.
View inline modifications
Select 'Unified View' to render differences sequentially in a single list, mimicking git diff outputs.
Check code modifications
Paste snippets from two files. Empty placeholder rows are inserted automatically to align unchanged rows.
Examples
Real inputs and outputs that show how the tool behaves.
Simple Line Diff
A line change detected in code snippet.
Original vs Modified
Original: const port = 3000; Modified: const port = 8080;
LCS Diff Line Output
- const port = 3000; + const port = 8080;
Features
What this tool includes and what each capability is for.
LCS Comparison
Standard Longest Common Subsequence diffing model.
Split View
Side-by-side alignment with blank line padding.
Unified View
Inline sequential modifications list.
Real-time
Recalculates changes immediately as you edit either panel.
Workflow
Follow this path to get from input to output quickly.
Paste original string on the left panel.
Paste modified string on the right panel.
Select layout display mode and view highlights.
Caveats and tips
Things to keep in mind before relying on the output in a larger workflow.
Caveats
- The comparisons are performed on a line-level; intra-line character-level highlights are not displayed.
- Extremely long texts (thousands of lines) may cause a slight computation lag during LCS matrix backtracking.
Tips
- Use Unified View for a quick vertical scan of changes in short text snippets.
- Use Split View when comparing wide, structured logs or JSON objects to maintain alignment.