Text Difference Checker

Real-time comparison of two texts

⚙️ Comparison Settings

📚 Comparison History

(0/50)

📄 Original Text

📝 Modified Text

廣告

📚 User Guide

🚀 Basic Steps

  1. Enter or paste original text in the left "Original Text" area
  2. Enter or paste modified text in the right "Modified Text" area
  3. The system will automatically analyze and display differences below
  4. Use the "Copy" button to copy text to clipboard
  5. Use the "Upload File" button to load text files
  6. Use the "Export" button to save diff results as a file

📄 File Upload Support

  • Supported formats: .txt, .js, .ts, .py, .php, .html, .css, .json, .md, .sql
  • Click "Upload File" button to select a file
  • File content will be automatically filled into the corresponding text area

🔧 Settings Guide

Comparison Level Differences:
  • Line LevelCompare differences by whole lines
  • Example: "Hello World"→"Hello Taiwan" shows entire line changed
  • Word LevelCompare differences by words
  • Example: Only marks "World"→"Taiwan" difference
  • Character LevelCompare differences by characters
  • Example: Precisely marks each "W-o-r-l-d"→"T-a-i-w-a-n" character
Context Lines Feature:
  • Set how many unchanged lines to show around differences
  • Set to 0: Only show lines with differences
  • Set to 3: Show 3 lines before and after each difference
  • Helps understand the context where differences occur
Ignore Options:
  • Ignore WhitespaceSkip space and tab differences
  • Ignore Case"Hello" and "hello" are treated as equal
  • Ignore Empty LinesSkip blank line differences

💡 Tips

  • Use "Side by Side" mode to clearly see left-right comparison with synchronized scrolling
  • Use "Unified" mode to see a git diff-like unified format
  • Copy button shows "Copied" confirmation and auto-resets
  • Color coding: 🟢 Green = Added, 🔴 Red = Deleted, 🟡 Yellow = Modified
廣告
廣告
Text Diff Checker | Compare Text | Life Toolkit