Steps to Compare Two files in Sublime Text Side-by-Side

Example - Compare two files side-by-side in Sublime Text Editor

If you want to compare two files in Sublime Text Editor, you will need to get a plugin installed,


  1. Open Sublime Text and Open Command Palatte.. to install the package,

  2. Type: Install Package to open Package Control and look for: Compare Side-By-Side, and get it installed,
    Compare Side-by-Side plugin for Sublime Text
    Compare Side-by-Side plugin for Sublime Text

  3. Open both the files in Sublime Text,

  4. Now Open Command Palatte again and type Compare with,

  5. Now both the files will be compared side-by-side and displayed in a new window.

✏️ You can use the keyboard shortcut: Command + Shift + P on macOS or Control + Shift + P on Windows to open Command Palette.

Have Questions? Post them here!
Try Out Code2care Dev Tools:


Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR -