What is the best format for saving images for the web?

For web images, use JPEG for photos and PNG for graphics.

When it comes to saving images for the web, JPEG and PNG are the main image formats among others. JPEG takes the lead for photos because of compression keeping your image file sizes low while maintaining decent quality.

Now, if you are dealing with graphics, logos, or anything that needs a transparent background you can simply choose the PNG format. However, due to the detailed picture, the PNG format might take your storage more in compared to JPEG.

Simple rule: JPEG for pictures and PNG for graphics use both formats for the optimal experience.