Text Difference Checker

Original Text
Modified Text

Usage Instructions

Basic Usage

  • Enter or paste your original text in the left panel
  • Enter or paste your modified text in the right panel
  • Differences will be automatically highlighted (red for deletions, green for additions)
  • Use the "Compare" button to manually trigger comparison

Advanced Features

  • Hover over difference lines to see sync buttons (→ or ←)
  • Click sync buttons to copy content between panels
  • Use Ctrl+Z (or Command+Z) to undo sync operations
  • Toggle "Ignore Whitespace" to compare text without considering spaces
  • Toggle "Ignore Case" to compare text without considering letter case

File Operations

  • Click the upload icon to import text from files
  • Use the copy icon to copy panel content
  • Use the "Swap" button to exchange content between panels
  • Use the "Clear" button to reset both panels

Pro Tips

  • Use the "Example" button to load sample text for practice
  • Enable "Show Line Numbers" for easier reference
  • Use "Wrap Text" for better readability of long lines
  • Collapse panels to focus on one side at a time
  • Copy the diff result to share changes with others

Frequently Asked Questions

General Questions

Q: How does the diff comparison work?

A: The tool uses a line-by-line comparison algorithm to identify differences between the two texts. It highlights removed lines in red and added lines in green.

Q: What file formats are supported?

A: The tool supports plain text files (.txt) and can handle text content from any file format that can be read as text.

Feature Questions

Q: How do I sync changes between panels?

A: Hover over any difference line to see the sync buttons (→ or ←). Click the button to copy the content to the other panel.

Q: Can I undo my sync operations?

A: Yes, you can use Ctrl+Z (or Command+Z) to undo sync operations, or click the Undo button in the toolbar.

Technical Questions

Q: What's the difference between "Ignore Whitespace" and "Ignore Case"?

A: "Ignore Whitespace" ignores spaces, tabs, and line breaks, while "Ignore Case" ignores letter case differences (e.g., "Hello" vs "hello").

Q: How do I handle large text files?

A: The tool can handle large text files, but for optimal performance, we recommend splitting very large files into smaller chunks.