Set Notepad++ as default editor for .xml files Windows 11/10

Editing and performing calculations with a large XML can be difficult if you don’t have a specialized XML Editor tool for it. Notepad++ is one of the smartest editors you can use to get the job done. Here’s a simple guide to help you set Notepad++ as default editor for .xml files in Windows 11/10.

Set Notepad++ as default editor for .xml files Windows 11/10

In designing web and cross-platform portable applications, XML has an important role to play. You can easily open .xml and other file types in Notepad++ by adding their extensions to the Registered extensions in Notepad++ preferences. Here’s how it’s done!

  1. Open Notepad++ with Administrator rights.
  2. Go to settings.
  3. Choose preferences.
  4. Select File association.
  5. Move to Customize.
  6. Type ‘.xml’ and press the arrow key.
  7. Open a .xml file up and choose notepad++ one last time.
  8. Close the app and open it again to test.

The most straightforward way to set Notepad++ as the default editor for .xml files in Windows 10 is to right-click the file > choose Open With > Select Choose another app and check the Always use the app to open .xml file box next to Notepad ++. However, many users report, this works just once and defaults to IE11 after that.

Right-click the Notepad++ shortcut icon on your Desktop or PC and choose ‘Run as Administrator’ option.

When prompted with a message, hit the Yes button.

Notepad Preferences

Next, choose the Settings tab from the toolbar and select the Preferences option as shown in the image above.

Next, under the left navigation pane, scroll down to File Association option.

Set Notepad++ as default editor for .xml files Windows 11/10

Then, under Supported extensions box, click the web script entry and choose .xml extension. Press the Arrow key to register your preference.

Once done, close the window and exit.

Notepad++ should now open XML files automatically.

Hope it helps!

Notepad File Association

Source link


MORRIS is an impassioned technology writer. He always inspires technologists with his innovative thinking and practical approach. A go-to personality for every Technical problem, no doubt, the chief problem-solver!

Leave a Reply