Diffly is a modern web application that allows users to compare two text snippets and visualize the differences between them. Built with Next.js and styled with Tailwind CSS, this tool provides an intuitive interface for identifying insertions, deletions, and unchanged text.
- Text Comparison: Compare two text snippets and see the differences highlighted
- Visual Differentiation: Insertions are highlighted in green, deletions in red, and unchanged text remains normal
- Dark/Light Mode: Toggle between dark and light themes for comfortable viewing in any environment
- Export to HTML: Save comparison results as an HTML file for sharing or future reference
- Responsive Design: Works seamlessly on desktop and mobile devices
- Semantic Diff: Uses advanced algorithms to provide meaningful, human-readable differences
- Frontend: Next.js 15, React 19
- Styling: Tailwind CSS
- Diff Algorithm: diff-match-patch library
- Enter or paste your original text in the "Text A" field
- Enter or paste your modified text in the "Text B" field
- Click "Compare Texts" to see the differences
- Use "Export to HTML" to save the results
- Click "Clear All" to start a new comparison