utility tool

Diff Checker

Compare two text blocks and highlight differences.

Diff Checker overview

Diff Checker compares original and modified text line by line and marks changed line positions. Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

  • Side-by-side viewDiff Checker accepts Two plain-text blocks as its documented input.
  • Changed-line countThe current Diff Checker implementation produces Visual line comparison.
  • Safe text-node renderingLines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

About This Tool

Diff Checker compares original and modified text line by line and marks changed line positions. Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

What You Can Do

Side-by-side view

Diff Checker accepts Two plain-text blocks as its documented input.

Changed-line count

The current Diff Checker implementation produces Visual line comparison.

Safe text-node rendering

Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

How to Use

  1. 1

    Enter or select the Two plain-text blocks required by Diff Checker

    Enter or select the Two plain-text blocks required by Diff Checker.

  2. 2

    Use the side-by-side view, changed-line count, safe text-node rendering controls that apply to this task

    Use the side-by-side view, changed-line count, safe text-node rendering controls that apply to this task.

  3. 3

    Run Diff Checker and inspect the displayed Visual line comparison result

    Run Diff Checker and inspect the displayed Visual line comparison result.

  4. 4

    Copy or download the Visual line comparison only when the current workspace provides that action

    Copy or download the Visual line comparison only when the current workspace provides that action.

Practical Use Cases

Diff Checker workflow

Use Diff Checker when you need to compares original and modified text line by line and marks changed line positions.

Result preparation

Create a reviewable Visual line comparison result while retaining the original Two plain-text blocks.

Privacy and File Processing

Browser-local processing

Diff Checker keeps its Two plain-text blocks input in browser memory while the operation runs. The workflow creates Visual line comparison for local preview or download and does not send the entered values or selected file bytes to the GXA Toolbox application server.

Supported Inputs and Outputs

Input

  • Two plain-text blocks

Output

  • Visual line comparison

How It Works

Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

Quality and Fidelity

Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

Limitations and Important Notes

  • Inserted lines can make later unchanged lines appear changed.
  • Whitespace and letter case are significant.

Worked Example

Compare two configuration excerpts to locate which numbered lines differ.

Helpful Tips

  • Keep a copy of the original Two plain-text blocks while using Diff Checker.
  • Validate the Visual line comparison in its intended destination context.

Frequently Asked Questions

Does Diff Checker execute on the application server?

No. The current Diff Checker operation runs in the browser.

Is the Diff Checker transformation always reversible?

Not necessarily. Inserted lines can make later unchanged lines appear changed.

What should I verify after using Diff Checker?

Lines at the same index are compared with exact string equality; this is not a character-level or moved-block diff.

Related Tools