utilitech
All tools
Encoders

Text Compare

Compare two texts or files side by side and highlight every added, removed and changed word.

Originaloriginal.txt

20 lines · 215 characters

Changedchanged.txt

22 lines · 239 characters

Differences+7−5

1# utilitech server config
1# utilitech server config
2server:
2server:
3 host: 0.0.0.0
3 host: 0.0.0.0
4− port: 3000
4+ port: 8080
5− timeout: 30s
5+ timeout: 60s
6 
6 
7database:
7database:
8 driver: postgres
8 driver: postgres
9 host: db.internal
9 host: db.internal
10− pool: 10
10+ pool: 25
11+ ssl: require
11 
12 
12features:
13features:
13 - uuid
14 - uuid
14 - json
15 - json
15 - jwt
16 - jwt
17+ - diff
16 
18 
17logging:
19logging:
18− level: info
20+ level: warn
19− format: text
21+ format: json
7 added · 5 removed · 14 unchanged · 70% similar

How the comparison works

  • Texts are compared line by line with the same algorithm as git diff, then the words that changed inside each modified line are highlighted. Thai text is split into words too.
  • Ignore whitespace treats indentation, trailing spaces and repeated spaces as equal; Ignore case treats upper and lower case as equal. Windows (CRLF) and Unix (LF) line endings always compare as equal.
  • Copy patch or .diff gives a standard unified diff you can apply with git apply or patch.
  • Both texts stay in your browser — nothing is uploaded, so it's safe for config files and code.

How was Text Compare?

Tap a star — you can add a comment next.