Skip to content

mhdi-khosravi/TextDiffTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TextDiffTool - Compare Text with Ease ๐Ÿ”

GitHub stars
GitHub license

Overview

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.

Features

  • 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.

Usage

  1. Input Your Text:
    • Enter original text in the left textarea.
    • Enter updated text in the right textarea.
  2. Compare:
    • Click "Compare" to view differences.
  3. Adjust Font Size:
    • Use the "+" and "โˆ’" buttons (visible after comparing) to adjust font size.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m "Add YourFeature").
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages