Image formats look alike on screen but behave very differently when you upload them. Choosing the right one saves size and avoids errors.
JPG (JPEG)
The standard for photographs. It uses lossy compression, so files are small, and almost every site accepts it. JPG and JPEG are the same format. Only the extension differs. It does not support transparency.
PNG
Lossless compression with support for transparent backgrounds. Great for logos, screenshots and graphics with flat colour. For photos, PNG files are much larger than JPG.
WebP
A modern format from Google that is usually smaller than JPG or PNG at similar quality. Browsers support it well, but many upload forms and older software do not, so convert it to JPG if a form refuses it.
HEIC
The default photo format on recent iPhones. It saves space, but many websites and Windows programs cannot open it. Convert HEIC to JPG before uploading.
GIF and SVG
GIF is limited to 256 colours and is mainly used for short animations. SVG is a vector format made of shapes, so it stays sharp at any size and suits logos and icons. SVG is not a photo format.
A quick rule
Photos for forms and email: JPG. Graphics needing transparency: PNG. Images for your own website: WebP or JPG. iPhone photos that will not upload: convert HEIC to JPG.