Skip to main content

Compress Image to 40 KB

Many state government forms and department portals set a 40 KB upload limit. This tool compresses your image to stay under 40 KB while keeping it as clear as po

Quick start

Done in 3 steps

  1. 1

    Upload your image

    Drop your JPEG, PNG, or WebP image onto the upload area, or click to browse files. Camera capture is also supported on mobile.

  2. 2

    Compressed to under 40 KB

    The tool automatically finds the highest quality setting that keeps the file under 40 KB. No sliders, no manual settings, done in seconds.

  3. 3

    Download your compressed image

    Your compressed image downloads automatically. The file is under 40 KB and ready for any portal that requires it.

Requirements

Output specifications

These settings are applied automatically — no manual configuration needed.

Target size
40 KB
Min quality
32%
Format
Converted to JPEG

Troubleshooting

Common issues & fixes

If your upload is rejected, one of these is usually the reason.

  • File still too large after compression

    What you see

    Even after downloading the compressed file, the portal still rejects it as too large.

    How to fix it

    Check that you are uploading the downloaded file and not your original. If the file is still too large, your source image may be extremely high resolution — crop it to just the subject area before re-processing.

  • Output looks blurry or pixelated

    What you see

    The downloaded file has visible JPEG artefacts or looks significantly worse than the original.

    How to fix it

    Start with a higher-quality source image. Screenshots and heavily compressed photos degrade further under compression. Use the original camera file if available.

  • Output format changed unexpectedly

    What you see

    You uploaded a PNG but downloaded a JPEG, and the portal only accepts PNG.

    How to fix it

    The "Compress to 20 KB" preset converts to JPEG when PNG cannot reach the target size. Use a different compression target, or use a smaller PNG source.

  • Portal does not accept the output format

    What you see

    Portal shows "Unsupported file type" even though the download looks correct.

    How to fix it

    Some portals do not accept WebP. If your original was WebP, the output preserves that format. Use the "Compress to 20 KB" target which always outputs JPEG, or convert your source to JPEG first.

Frequently asked questions

What is the best way to compress an image to 40 KB?
Upload your image to Presetly's Compress Image to 40KB tool. It automatically finds the highest JPEG quality that keeps the file under 40 KB — no manual quality slider needed. Common use case: State government forms, department portals, document fields.
Will my image look blurry after compressing to 40 KB?
It depends on your original image size. A 2 MB photo compressed to 40 KB will lose some detail — inevitable at a 98% reduction. A photo already close to 40 KB looks nearly identical. The tool always maximises quality within the size limit.
Which image formats are supported, and will my PNG be converted?
JPEG, PNG, and WebP are accepted. Because the target is 40 KB — a strict limit — PNG files are automatically converted to JPEG before compressing. JPEG achieves far smaller file sizes for photographs. If you need a PNG output at this size, that is not possible while meeting the 40 KB cap.
Is this tool completely free?
Yes. 100% free, no sign-up, no watermarks, no daily limits. The tool runs entirely in your browser using the Canvas API — nothing is uploaded to any server.
Can I compress multiple images at once?
Not yet — the tool processes one image at a time so each result hits 40 KB precisely. Click "Process another image" after downloading to compress the next one. Batch processing is planned for a future release.

Search Presetly

Search for tools, guides, and categories