Glossary

What Is a JPG File?

A JPG file, also written JPEG, is a raster image that uses lossy compression to make photos small. It throws away fine detail the eye is unlikely to miss, which keeps file sizes low while photos still look good. That balance is why JPG is the default format for digital cameras, phones, and images across the web.

TL;DR

JPG is the go-to lossy format for photos. Keep a lossless master for editing, and resize JPG copies down when you need light files to share or post.

JPG is the most common image format on the web, used by roughly three out of four websites that serve photos.

How JPG Compression Works

JPG splits an image into small blocks and simplifies the color and brightness data inside each one, keeping what your eye notices and discarding what it does not. You control how aggressive this is with a quality setting. A high setting looks almost identical to the original; a low setting makes a tiny file but can show blocky artifacts and fuzzy edges.

JPG compression is lossy and it stacks. Every time you open a JPG, edit it, and save again, the format re-compresses and a little more detail is gone for good. For images you will edit repeatedly, keep a lossless master in PNG or TIFF and export to JPG only at the end.

Where JPG Wins and Where It Loses

JPG is ideal for photographs and complex scenes with smooth color gradients, where its compression is efficient and the losses are hard to spot. It struggles with sharp lines, text, and flat areas of solid color, where it produces visible halos. For logos, screenshots, and graphics with hard edges, PNG or SVG is the better choice.

JPG does not support transparency. If you need a logo or icon with a see-through background, a JPG will fill that area with solid white. Reach for PNG or WebP when transparency matters.

How to Convert or Resize JPG Files

Photos straight from a camera are often far larger than a website or email needs. A batch tool resizes and re-saves a whole folder of JPG images at once, letting you set the dimensions and quality so the files are light enough to share without opening each one by hand.

What you'll need
  • JPG Image Resizer: resizes and converts folders of JPG photos in bulk on Windows
  • A Windows PC, version 10 or 11
  • The JPG files you want to resize or convert

Amit megtudhat

Related Terms