Skip to content
empinet.dev
Text & Comparison

Text Diff

Compare two texts side by side and highlight added and removed lines. Find differences in configuration files, source snippets, logs, or ordinary text directly in your browser.

Comparison workspace

2 removed lines · 3 added lines
Original text · removed lines in red
Updated text · added lines in green

Line-based, whitespace-sensitive comparison. Your text stays on this device.

Side-by-side line comparison

The left editor is the original text and the right editor is the updated text. Red highlights identify removed lines on the left, and green highlights identify added lines on the right. A replaced line counts as one removal and one addition. Line endings and whitespace matter, so indentation changes are visible.

Text diff or structured JSON comparison?

This tool compares the written lines, not their meaning. Moving lines or reordering object properties can therefore create differences. Use JSON Compare when you want structural and value differences independent of object key order. No input is uploaded, and editing either side clears the old comparison until you compare again.