How to Chnage Default Screenshot File Format in macOS

The default screenshot file format in macOS is PNG.

Open up terminal and enter the following code to change it to JPG

defaults write com.apple.screencapture type JPG

options are JPG, TIFF, GIF, PDF and PNG