Text Difference Checker
Real-time comparison of two texts
⚙️ Comparison Settings
📚 Comparison History
(0/50)📄 Original Text
📝 Modified Text
📚 User Guide
🚀 Basic Steps
- Enter or paste original text in the left "Original Text" area
- Enter or paste modified text in the right "Modified Text" area
- The system will automatically analyze and display differences below
- Use the "Copy" button to copy text to clipboard
- Use the "Upload File" button to load text files
- 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 Level:Compare differences by whole lines
- Example: "Hello World"→"Hello Taiwan" shows entire line changed
- • Word Level:Compare differences by words
- Example: Only marks "World"→"Taiwan" difference
- • Character Level:Compare 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 Whitespace:Skip space and tab differences
- • Ignore Case:"Hello" and "hello" are treated as equal
- • Ignore Empty Lines:Skip 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