Text Diff
Compare two texts side by side
Paste two blocks of text and instantly see a line-by-line diff with added, removed and unchanged lines highlighted — perfect for spotting edits.
Paste text in both boxes to see the differences highlighted here.
About the text diff
The text diff tool compares two pieces of text and highlights exactly what changed between them. Paste your original text on the left and the revised text on the right, and the tool walks the longest common subsequence of lines to produce a clean, ordered diff. Added lines appear in green, removed lines in red, and unchanged lines stay neutral.
Use it to review edits to articles, compare two versions of a config file, check what changed between drafts, or spot accidental differences in copied text. Toggle case-insensitive and whitespace-insensitive comparison to focus on meaningful changes only.
How the comparison works
- Line-by-line — each line is compared as a unit, like a code diff.
- Added lines — present in the new text but not the original.
- Removed lines — present in the original but not the new text.
- Options — ignore letter case and trailing/extra whitespace.
How to use the text diff
Paste the original text
Add the first version of your text into the left box.
Paste the changed text
Add the second version into the right box — the diff appears below instantly.
Tune the options
Toggle case or whitespace insensitivity to focus on real changes, then copy the diff if you need it.
Frequently asked questions
Does the diff tool compare word by word or line by line?
Can I ignore case and whitespace differences?
Is my text uploaded anywhere?
Is there a size limit?
Is the text diff tool free?
Explore more utilities
More like this
- Word UnscramblerFind every word from jumbled letters
- Anagram SolverFind anagrams of any word
- Word CounterCount words, characters & sentences
- Word FinderFind words matching a pattern
- Random Word GeneratorGenerate random dictionary words
- Character CounterCount characters with & without spaces
- Case ConverterConvert text to upper, lower, title & more
- Text CleanerRemove extra spaces, blank lines & junk
- Remove Duplicate LinesDelete repeated lines from any text
- Sort LinesSort lines alphabetically or numerically
- Text ReverserReverse text, words or characters
- Find & ReplaceFind and replace text with options
- Slug GeneratorTurn any text into a URL-friendly slug
- Text to ListConvert text into a formatted list
Other utilities
- Percentage CalculatorCalculate percentages instantly
- Percentage Change CalculatorMeasure increase or decrease between values
- Discount CalculatorFind sale price & savings
- Tax CalculatorAdd or remove sales tax & VAT
- Tip CalculatorCalculate tips & gratuity
- Split Bill CalculatorSplit a bill & tip across people
- Ratio CalculatorSimplify & solve ratios
- Fraction CalculatorAdd, subtract, multiply & divide fractions
- Average CalculatorMean, median, mode & range
- Standard Deviation CalculatorVariance & standard deviation of a data set
- Age CalculatorCalculate age from any birthdate
- Date Difference CalculatorAdd to dates or find date differences
- Time Duration CalculatorCalculate time between two times
- Interest CalculatorSimple & compound interest in one tool
- Loan/EMI CalculatorMonthly EMI, interest & total payable
- Unit ConverterConvert length, weight & temperature
- Time ConverterConvert between time units
- Data Storage ConverterConvert bits, bytes, KB, MB, GB & TB
- Data Transfer ConverterConvert bit/s, Mbit/s, MB/s & GB/s
- Pressure ConverterConvert pascal, bar, psi & atm
- Energy ConverterConvert joules, calories, kWh & BTU
- Number/Base ConverterConvert binary, octal, decimal & hex
- Time Zone ConverterConvert times between world time zones
- Power ConverterConvert watts, kilowatts, horsepower & BTU/h
- Fuel Economy ConverterConvert MPG, L/100km & km/L
- Password GeneratorCreate strong, secure random passwords
- QR Code GeneratorTurn any link or text into a QR code
- Random Number GeneratorGenerate random numbers in any range
- Lorem Ipsum GeneratorGenerate placeholder Lorem Ipsum text