Compress JPG

Drop a JPG below, choose a quality level and click Compress to shrink its file size. You'll see the before and after size plus the percentage reduction. Everything happens locally in your browser — your image never leaves your device.

Read the guide: How to compress JPG images
Loading tool…

How the Compress JPG works

  • Your JPG is loaded into an in-browser HTMLImageElement — nothing is uploaded.
  • The image is drawn onto a canvas at its original dimensions.
  • The canvas is re-encoded as JPEG at the quality level you choose.
  • The new file size is compared with the original so you can see the reduction before downloading.

Useful tips

  • Start at 80% and step down in 10% increments until you hit the size you need.
  • Photos tolerate lower quality better than graphics with sharp edges or text.

Frequently asked questions

Is my image sent to a server?+

No. All compression happens entirely in your browser using a canvas. Nothing is uploaded or stored.

How does the quality setting work?+

The quality slider controls JPEG compression from 10% to 100%. Lower quality means a smaller file but more visible artefacts; higher quality keeps the image sharper at a larger size.

Will the dimensions change?+

No. The width and height of your image are preserved — only the JPEG quality is adjusted to reduce the file size.

What is a good quality to use?+

Around 70–80% is a safe balance for photos on the web. Use 90% or above when you need the image to stay crisp, and 50–60% when the smallest possible size matters most.

Related guides

Related tools

    base44
    Edit with Base44