Text Diff Tool

Online text difference detector with support for common file imports

Original
Modified
Ready
Comparison Result
Deleted Added (Whole line highlighted in line mode)
No content available for comparison

User Guide

1. Input texts for comparison

The page contains two input columns: left box for original text, right box for revised text. Two input options are available:

  1. Directly paste your text into the input area
  2. Upload local files via the file selector to load content automatically. Supported formats include txt, js, html, css, json, md, py, java, c, cpp, go, rs, ts. The clear button next to each input box can wipe out all content instantly.

2. Switch comparison modes

Three comparison rules are provided at the bottom for flexible use:

3. Read comparison results

All discrepancies will display in the lower panel after comparison: Red background stands for removed content while green background marks newly added content. Entire modified lines get colored highlight under line mode. No colored blocks mean the two texts are fully matched.

4. Practical auxiliary features

  1. Clear All button: Erase both input boxes and comparison results in one click to start a new comparison
  2. This tool works well for code editing, copy adjustment, note revision and configuration file comparison

You May Also Need

Base64 Encode & Decode

Free online Base64 encoder and decoder tool. Support text, file and image conversion, compatible with Base64URL and DataURL. No software download required, support fast conversion for files up to 50MB.

JSON Processing Tool

Free online JSON processing tool supporting JSON formatting & beautification, single-line compression, multi-level key sorting, string escape & unescape, syntax validation. It supports importing local JSON files and exporting content for download, with built-in real-time syntax error highlighting and compatibility with relaxed JSON5 syntax.

Online Keyboard Tester

Complete keyboard key testing solution to detect keyboard responses, troubleshoot faults and evaluate performance. All tests run locally in your browser without any software installation.