What is JPG?
JPG (or JPEG — Joint Photographic Experts Group) is a lossy image compression standard published in 1992 by the Joint Photographic Experts Group committee. The name of the standard became the name of the format. JPG works by dividing the image into 8×8 pixel blocks and applying a Discrete Cosine Transform (DCT) to each block — this converts the block's pixel data into frequency components, similar to how sound is described in terms of frequencies. The high-frequency components (fine details, sharp edges) are then discarded or reduced according to the quality setting: at low quality, even large blocks of colour variation are simplified; at high quality (90%+), only imperceptible high-frequency details are removed. The result is dramatically smaller files at the cost of some image detail. A 12-megapixel camera RAW file might be 25 MB; converted to JPG at high quality, it becomes 5 MB; at medium quality, 1.5 MB. The DCT block structure means JPG compression produces characteristic artefacts: ringing around sharp edges, 'mosquito noise' in fine textures, and 8×8 pixel blockiness at low quality settings. These artefacts are negligible at high quality settings but obvious at aggressive compression. JPG doesn't support transparency (alpha channel) — transparent backgrounds become white or a fill colour when saved as JPG. JPG is a one-way format: re-saving a JPG as another JPG causes quality loss each time, even at the same quality setting, because the image is re-compressed with new block quantization. The format is optimal for photographic images — natural scenes, portraits, landscapes, product photography — where fine gradients and complex textures hide compression artefacts. It performs poorly on images with sharp geometric edges, flat colours, and text, where PNG or SVG are better choices.
JPG pros and cons
Advantages
- Universal compatibility — opens in every app, device, and platform
- Excellent compression for photographic images (5–20× smaller than lossless)
- Hardware decode support in every camera, phone, and display chip
- Well-understood and battle-tested over 30+ years
- Progressive JPEG supports 'loads fastest first' progressive rendering
- Small file size enables fast web page loading for photos
Limitations
- Lossy — discards image data permanently; quality degrades with re-saves
- No transparency (alpha channel) support
- Compression artefacts visible at low quality settings or around sharp edges
- Not ideal for screenshots, text images, logos, or illustrations
- Obsolete compared to WebP and AVIF for web delivery efficiency
- Fixed 8-bit colour depth — no HDR or wide gamut support in baseline JPEG
When should you convert JPG files?
Convert PNG to JPG when you need smaller file sizes and your image is photographic (not a logo, screenshot, or image with transparency). Convert JPG to PNG if you need transparency or will re-edit and re-save the image many times (PNG avoids generation loss). Convert JPG to WebP for web delivery — WebP produces 25–35% smaller files at the same quality. Convert JPG to HEIC to save storage on Apple devices.
All FormatDrop conversions run entirely in your browser — no file upload, no server processing. Your files stay on your device.
JPG FAQ
What's the difference between JPG and JPEG?
What JPG quality setting should I use?
Does JPG support transparency?
More formats