đź“ť Edit page
âž• Add page
Compare text
Using command-line tools and applications to compare files
Shell
diff
$ diff foo.txt bar.txt
vimdiff
$ vimdiff foo.txt bar.txt
$ vimdiff foo/*
IDE
For a richer UI comparisons.
VS Code
- Select two files
- Right-click
- Click “Compared selected”
Online
Don’t put any private or sensitive data here.
- diffchecker.com/
- text-compare.com
- diffnow.com - Let’s you specify two files. Their example has two JS files.