TextDiffTool is a lightweight, web-based tool to compare text side-by-side with a clean interface. It highlights additions and removals with color coding, includes line numbers, and offers adjustable font sizes for better readability. Built with HTML, CSS, and JavaScript, it uses Diff.js for efficient text comparison.
- Side-by-Side Comparison: View original and updated text in a dual-pane layout.
- Line Numbers: Track changes with numbered lines.
- Color-Coded Diffs: Additions (green) and removals (red) are highlighted.
- Adjustable Font Size: Use "+" and "โ" buttons to adjust output font size.
- Hidden Output: Results appear only after clicking "Compare".
- No Backend Required: Fully client-side and easy to use.
- Input Your Text:
- Enter original text in the left textarea.
- Enter updated text in the right textarea.
- Compare:
- Click "Compare" to view differences.
- Adjust Font Size:
- Use the "+" and "โ" buttons (visible after comparing) to adjust font size.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature). - Commit your changes (
git commit -m "Add YourFeature"). - Push to the branch (
git push origin feature/YourFeature). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.