Terminal Hacks - Set Screenshot's Default File Type
When using the macOS Screenshot application, screenshots are saved as PNG images (.png files) by default. This LectroHack will show you how you can change this default file type.
Change Default File Type
Open Terminal: Finder > Applications > Utilities
In Terminal, type or paste one of the following…
JPG Joint Photographic Experts Group [raster format]defaults write com.apple.screencapture type JPG
PDF Portable Document Format [vector format]defaults write com.apple.screencapture type PDF
PNG Portable Network Graphics [raster format]defaults write com.apple.screencapture type PNG
TIFF Tagged Image File Format [raster format]defaults write com.apple.screencapture type TIFF
(return)
Originally posted 11 January, 2025.