Mac guide

How to stop apps from changing your default apps on Mac

For macOS Sonoma and later.

You set Visual Studio Code to open .json files. A week later they open in Xcode. Nothing you did, so what happened?

Why defaults change by themselves

Since macOS 26.4, apps must get your confirmation to change file-type and browser defaults, which helps a lot. Changes from new installs and other link types can still slip through, and it's easy to click “Use …” without reading.

Catch changes with Default Guard

Default Guard is part of Defaultify for Mac Pro:

  1. In Defaultify, click the pin next to each default you care about.
  2. Defaultify checks your defaults in the background, and right after any app launches or quits.
  3. If a pinned default changes, you get a notification: “.json default changed. Xcode replaced Visual Studio Code.”
  4. Click Revert. Defaultify takes a backup first, then puts your app back.

Every change also shows up in the Default Guard list and the menu bar, so you can review them later.

Without extra apps

You can check a type at any time with Finder: select a file, press ⌘ I, and look at Open with. To fix it, choose the app and click Change All…. See changing the default app for a file type.

Set it once, keep it that way

Defaultify for Mac watches the defaults you pin and puts them back in one click.

Get Defaultify for Mac