Disable confirmation dialog when changing File Extension in macOS Finder
Finder > Preferences > Advanced


  Show warning before changing an extension




Uncheck this option to disable the warning confirmation dialog when changing or renaming a file extension in the macOS Finder.