Home › Blog

How to Compress Images for Websites and Online Forms

Choose the right format, size and quality to make photos load fast and fit upload limits.

By the PDFly team · Published · 2 min read

Images are usually the heaviest part of a web page, and upload forms often limit photos to a few hundred kilobytes. Understanding three settings — format, dimensions and quality — is all you need.

1. Pick the right format

2. Use sensible dimensions

A phone photo can be 4000 × 3000 pixels. Most websites display images at 800–1600 pixels wide. Uploading the full size wastes bandwidth. Common targets:

Use Resize image for exact dimensions, or the “maximum width” option in Compress image.

3. Choose the quality

For JPG and WebP, quality between 65% and 80% is almost always indistinguishable from the original on screen, while the file can be 5–10 times smaller. Go lower only for thumbnails.

A quick recipe

  1. Open Compress image.
  2. Add all your photos at once.
  3. Set quality to 75%, format WebP (or JPG if the site requires it), maximum width 1600.
  4. Download everything as a ZIP.
Privacy bonus: re-encoding removes EXIF metadata, including the GPS location stored by many phones.

For online application forms

If a portal asks for “JPG, max 200 KB, 600 × 600 px”, first crop the photo square, then resize to 600 × 600, then compress at 70–80% as JPG. Check the size shown by PDFly before uploading.

🗜️ Compress Image

Shrink JPG, PNG, WebP

Try the free tool →

Related tools

📖 PDF guides & tips

🔒 HTTPS secured
🖥️ Runs in your browser
🙈 Files never uploaded
💯 No registration
📱 Mobile ready