Hometext ToolsText Diff
🔎

Text Diff — Compare Two Texts or Files Online

Highlight Differences Between Two Versions

Compare two blocks of text side by side and see exactly what changed — paste text directly, or upload two files and let the tool read them for you. Additions are highlighted in green, deletions in red. Perfect for comparing document versions, code changes, config files, and content edits.

Instant
Seconds to process
🔒
Secure
Files never stored
🆓
100% Free
No account needed
AdvertisementAdvertisement placeholder

How to Use Text Diff

1

Paste text in both panels, or switch to Upload and choose two files

2

Click Compare to see differences highlighted

3

Review additions in green and deletions in red

Frequently Asked Questions

It highlights added text (green), deleted text (red), and unchanged text (white), making it easy to see every change.
Yes! Paste any code in both panels, or switch to Upload mode and pick the two files directly. It works with any programming language or text format.
Yes — switch to the Upload tab and choose two files (.txt, .md, .csv, .json, .log, or most source code files). The tool reads them in your browser and compares the contents.
By default yes. You can toggle case-insensitive comparison for content where case differences don't matter.

Learn More

tutorial
Free Grammar Checker Online — What It Actually Catches (and Misses)
6 min read

You May Also Like

🔢

Word Counter

Count words, characters, sentences and reading time

Use Tool
🔡

Case Converter

Convert text between UPPER, lower, Title, and camelCase

Use Tool
📖

Lorem Ipsum

Generate placeholder text for design and development

Use Tool
🔊

Text to Speech

Convert text to natural-sounding audio in multiple languages

Use Tool