About TextDiff
A fast, privacy-respecting text comparison tool.
What is TextDiff?
TextDiff is a lightweight online tool for comparing two blocks of text. It highlights additions, deletions, and changes line by line — like a mini diff in your browser.
Use Cases
- Compare two versions of an email, blog post, or document
- Spot config file differences before deploying
- Review code changes without a full Git setup
- Verify copy-paste accuracy between systems
- Check contract or legal text revisions
Privacy
Your texts are never stored. They are sent to the server, diffed in memory, and the result is returned. Nothing is logged or saved to any database.
API
TextDiff exposes a public REST API for programmatic text comparison. Send a POST to /api/diff with JSON body {"text_left": "...", "text_right": "..."} and get back structured diff results.
Full interactive docs at /docs.
Tech Stack
Python
FastAPI
Jinja2
Tailwind CSS
Docker