Image Compress & Resize

Shrink and resize photos of invoices, packing lists and product shots — all in your browser with the Canvas API. Set an exact KB target or pixel dimensions, then download as JPG, PNG or WebP. No uploads, files never leave your device.

Quick Answer: How do I make an image exactly 20 KB, 50 KB or 100 KB?

Load the image, switch the mode to “To target file size (KB)”, tap a preset (20 / 50 / 100 / 300 KB) or type your own limit, then press Compress & Resize. The tool searches for the highest quality that stays under your target and reports the exact result. This free image compressor typically cuts file size by 60–90% while keeping text crisp — right for signature-box uploads (10–20 KB), visa and GST form photos (20–100 KB) and email attachments. Note: e-Sanchit itself accepts PDF only (under 1 MB, about 75 KB per A4 page, max 13 pages) — resize your scan here, then use our OCR PDF Generator to build the portal-ready PDF. Nothing is uploaded; compression runs entirely in your browser with the Canvas API, so invoices and bank statements stay on your device.

1
Upload the Image

Drop a JPG, PNG, WebP or BMP photo or scan — the original size and a live preview appear instantly. The file stays on your device.

2
Set Target Size & Quality

Compress to an exact KB target, resize by percentage or exact pixels (aspect ratio kept automatically), then choose the output format.

3
Download the Result

Press Compress & Resize and see the savings — typically 60–90% smaller — then download the portal-ready image.

Resize & Compress

Choose an image, set the target, and process.

Target Size
Output

Quality applies to JPEG and WebP. PNG is lossless — quality is ignored. In KB-target mode the tool picks the best quality automatically.

Result

Processed image appears here with size savings.

Privacy first: all resizing and compression happens entirely in your browser with the HTML5 Canvas API. Files never leave your device — safe for bank statements, invoices and commercial documents.
Portal tip: need an exact size? Switch the mode to “To target file size (KB)” and type the limit your portal enforces — signature boxes on government forms often demand 10–20 KB and visa or GST form photos 20–100 KB. For e-Sanchit, remember it accepts PDF only (under 1 MB, ~75 KB per A4 page, max 13 pages) — resize here, then assemble the PDF with the OCR PDF Generator.
Why resize?
  • ● Keep email attachments under portal size limits
  • ● Hit exact KB targets for signature boxes and form photos
  • ● Speed up WhatsApp and email sharing of scanned documents
  • ● Prepare web-ready product photos for catalogues and marketplaces

Next step: need a different format instead of a smaller file? Use the Image Format Converter, and for e-Sanchit’s PDF-only rule turn your resized scans into a ≤1 MB PDF with the OCR PDF Generator. And before you e-file, stamp your signature on documents free with the PDF Signature Pad.

Related Free EXIM Tools

Continue your compliance and documentation workflow with these free tools from One Link Exim Solutions.

Image Format ConverterPNG, JPG, WebP conversion Image Crop & EditCrop, rotate, flip images Batch Image ProcessorProcess whole folders as ZIP OCR PDF GeneratorBuild the ≤1 MB PDF e-Sanchit wants Document ConverterPDF, Word, Excel & image conversion PDF Text & Image ExtractorExtract text and images from PDFs

What is Image Compression and Resizing?

Image compression reduces a picture's file size by re-encoding it with lossy (JPEG, WebP) or lossless (PNG) methods; resizing changes its pixel dimensions. Scanners and phones often produce multi-megabyte images that are too heavy for email or government portals — India's customs and banking systems commonly cap uploads well below what a raw phone photo weighs. This tool does both in one pass: it resizes to the exact pixel dimensions you need and re-encodes at your chosen quality, or searches automatically for the best quality that fits an exact KB target — typically cutting file size by 60–90% while staying perfectly legible for document submissions. For ICEGATE's e-Sanchit module, supporting documents must be submitted as PDFs under 1 MB (about 75 KB per A4 page, maximum 13 pages) — resize your scans here, then assemble them with the OCR PDF Generator. All processing uses the HTML5 Canvas API on your device — files are never uploaded, so invoices, statements and ID scans stay private.

JPEG vs PNG vs WebP at a glance

PropertyJPEG / JPGPNGWebP
TransparencyNo (flattened to white here)YesYes
CompressionLossyLosslessLossy or lossless
Typical sizeSmallest for photosLargest for photos~25–35% smaller than JPEG
Exact KB targetingYes — quality searchDownscale onlyYes — quality search
Best forPhotos, scans, portal uploadsLogos, signatures, text sharpnessModern websites
Portal acceptanceUniversal for image uploads (banks, GST, email); e-Sanchit needs the final file as PDF ≤1 MBAlmost universalOften rejected by government portals

How to compress an image (step by step)

  1. Choose or drag & drop the image — a photo, scan or product shot in PNG, JPG, WebP, GIF or BMP.
  2. Pick a mode: scale by percentage, set exact pixels, or target an exact file size in KB (with portal presets).
  3. Choose the output format and quality — or let the KB-target search pick the best quality for you.
  4. Click Compress & Resize, review the savings, and download the portal-ready image.

Official references

Last updated: 7 September 2026. Reviewed by One Link Exim Solutions — trade documentation advisors for Indian importers and exporters. Verify size limits against the official references above before finalising a filing.

Frequently Asked Questions

Which quality setting should I use?

82% is a good default for documents — small files with crisp text. For photographic images use 70–80%. Drop below 60% only when size is critical; text can start to blur.

JPEG, PNG or WebP — which should I pick?

JPEG gives the smallest files and is accepted everywhere — banks, GST portals and email systems accept it readily. WebP is even smaller but not supported by every older portal. PNG is lossless — choose it for logos, signatures and diagrams with text.

Are my images uploaded anywhere?

No. Resizing and compression run entirely in your browser with the Canvas API — your files never leave your device, making this safe for confidential commercial documents.

Can I resize an image without losing quality?

Resizing always changes pixels, but you control the outcome: scale by percentage or exact pixels with aspect ratio kept automatically, and pick PNG (lossless) when pixel-perfect output matters. For documents, JPEG at 82% keeps text crisp at a fraction of the size.

Which format does e-Sanchit or ICEGATE accept?

Important: ICEGATE’s e-Sanchit module accepts supporting documents in PDF format only — under 1 MB, roughly 75 KB per A4 page, with a maximum of 13 pages per document. Resize your scan here to keep each page small and crisp, then assemble the PDF with the OCR PDF Generator. For bank, GST and email image uploads, JPEG at 80–85% quality is the safest choice.

How do I compress an image to exactly 20 KB, 50 KB or 100 KB?

Switch the mode to “To target file size (KB)”, type the limit (or tap a preset like 20 / 50 / 100 KB) and press Compress. The tool searches for the best quality that stays under your target — signature-box uploads on government forms often demand 10–20 KB, and visa or GST form photos 20–100 KB, which the presets cover. If the image cannot get that small at its current dimensions, dimensions are stepped down automatically and the result tells you the closest size achieved.

Is the Image Compress & Resize free to use?

Yes. The Image Compress & Resize tool is 100% free for personal and commercial use — no registration, login or payment required.

Need Help with EXIM Compliance?

We reply within business hours. Your data stays private.