back to top

How to disable the ‘change file extension’ warning on Mac

Do you deal with a lot of files, and sometimes have to change the file extension? If yes, you must have come across the warning that macOS throws whenever you change a file extension.

This may turn out to be annoying for someone who knows what they’re doing. Luckily, there are two easy ways to get rid of it on a Mac. Let’s take a look.

Turn off the file extension change warning in macOS using Finder

  1. Launch Finder on your Mac.
  2. Navigate to the top Menu bar and select Finder Preferences.

    Select Finder and then Preferences on Mac
  3. In the Preferences panel, select the Advanced tab.
  4. Uncheck ‘Show warning before changing an extension.’

    Uncheck Show warning before changing an extension on Mac

And there you have it. You will no longer see the warning when you change a file’s extension. To enable the warning, simply repeat the above steps and recheck the option.

How to disable the file extension change warning using Terminal

  1. Launch Terminal by heading over to Applications → Utilities → Terminal via Finder or Launcher.
  2. Copy and paste the following command and hit enter.
    defaults write FXEnableExtensionChangeWarning -bool false
  3. Next, input this command killall Finder. It will relaunch Finder with the new settings in place.
How to disable the file extension change warning using Terminal

Note: To re-enable the file extension change warning, copy-paste the following command in Terminal defaults write FXEnableExtensionChangeWarning -bool true and follow the above steps.

Tip: You can also enable show file extension names on your Mac.

Is it safe to disable Mac’s ‘change file extension’ warning?

It’s perfectly alright to disable the warning if you know what you’re doing and have been changing file extensions for a long time. However, if you have no idea about it, I’d recommend not disabling it, as it does help you avoid mistakes.

I hope this tutorial helped, and now you can peacefully change file extensions blazing fast.

Read more:

  • Siddarth Suvarna

    Siddharth is a freelance technology writer with over a decade of experience. He has written tutorials, guides, features, how-tos, listicles, and more for sites such as 91mobiles, MySmartPrice, GadgetReview, TheAndroidSoul, and more. In his free time, he loves to travel, ride motorcycles, watch movies/TV shows, and pet dogs.

🗣️ Our site is supported by our readers like you. When you purchase through our links, we earn a small commission. Read Disclaimer.


Please enter your comment!
Please enter your name here

Related Articles