JS Diff
This free online JS diff tool compares two JavaScript files and highlights the differences.
All tools on this site run entirely in your browser locally. No data is uploaded to any server.
Features:
- JS Format: Auto-formats as you type
- Local files: Open a local JS file and diff it directly
- History Restore: Restore content from last session, only available when the input is empty and history exists
Diff Mark:
- Red Mark: Content that appears only on the left compared to the right
- Green Mark: Content that appears only on the right compared to the left
- Line number redirect: Click a diff line to jump to it