FreeHeadshot logo
FreeHeadshot.org

Free tool · Fix & polish

Image Compressor

Compress a headshot to a target file size (under 100 KB for LinkedIn upload limits, under 240 KB for ATS systems, under 1 MB for GitHub) while preserving facial detail. Runs entirely in your browser with an iterative quality search — no upload, no signup, no watermark.

Updated May 21, 2026Reviewed by FreeHeadshot · headshot research teamRuns in your browser · No upload

Target size

What this compressor actually does

It binary-searches across JPEG quality values (0.40 to 0.96) to find the smallest quality that keeps the output file under your target size. Eight iterations are usually enough — the tool stops as soon as it finds a quality that hits the target. The pixel dimensions are preserved; only the JPEG compression factor changes.

File-size limits to know in 2026

  • LinkedIn profile photo: Hard cap 8 MB, but the platform's upload pipeline re-compresses anyway. Send under 1 MB for the fastest mobile experience.
  • GitHub avatar: Hard cap 1 MB. Strict.
  • X / Twitter profile: Hard cap 2 MB.
  • ATS (Workday, Greenhouse, Lever): Most cap PDFs and attachments at 5 MB total — keep your embedded photo under 240 KB so it doesn't crowd the rest of your resume.
  • Email signature image: Aim for under 100 KB so mobile clients don't lazy-load it.

Questions, answered

Image Compressor — frequently asked questions

Does this compressor change my photo's pixel dimensions?

No. It only changes the JPEG quality factor, so the width and height stay identical. If you need to also resize, use the Profile Picture Resizer first.

What target size should I pick?

ATS systems (Workday, Greenhouse, Lever) typically cap at 240 KB. LinkedIn accepts up to 8 MB but loads faster under 1 MB. GitHub hard-caps avatars at 1 MB. For email signatures, aim for under 100 KB.

Why does the tool sometimes return a quality of 96%?

Because your photo was already small enough — the binary search found that even the highest quality fits your target. The output file is essentially a re-saved copy with no visible quality loss.

Will this work for PNGs?

The output is always JPG (smaller than PNG for photos). The PNG download button gives you a lossless PNG version at the original size — useful for designs and logos but typically 2-5× larger than the JPG.

Will it degrade my photo?

JPEG compression is lossy by definition. For headshots, quality 80-92 is visually identical to the original; quality 50-80 is barely noticeable on a 400 px display; quality 40-50 starts showing artifacts in dark areas. The tool never compresses below quality 40.

Does this tool upload my photo?

No. All compression happens in your browser using the Canvas API. The image never leaves your device.

Keep going

Related free tools

When fixing isn't enough

Need a brand-new headshot instead?

Upload one selfie. Get three studio-quality AI headshots in about 60 seconds. Free, no signup, 100+ styles.

Open the AI Studio