Show extensions 
Show all file extensions in the Finder.
- Tested on macOS: - Sonoma
- Ventura
- Monterey
- Big Sur
- Catalina
- Mojave
 
- Parameter type: bool
Set to false (default value) 
Do not show all file extensions inside the Finder
bash
defaults write NSGlobalDomain "AppleShowAllExtensions" -bool "false" && killall FinderSet to true 
Show all file extensions inside the Finder
bash
defaults write NSGlobalDomain "AppleShowAllExtensions" -bool "true" && killall FinderRead current value 
bash
defaults read NSGlobalDomain "AppleShowAllExtensions"Reset to default value 
bash
defaults delete NSGlobalDomain "AppleShowAllExtensions" && killall Finder