Resize & Compress Image — dimensions and weight in one pass
Shrink dimensions and file weight in a single pass, then pull the whole batch down as one ZIP.
Your files never leave your device — everything runs locally in your browser.
No file added yet.

What this tool does
Most image jobs need both halves of the answer at once: the picture has to fit a box — 800 × 800, 1024 wide, a square for a form — and it has to fit a weight limit — under 100 KB for a government portal, under 2 MB for an estate-agent listing, under 50 KB for a signature scan. Doing one then the other means two round trips through a desktop program. This page does both in a single pass: you name the frame, you name the ceiling, and the file that comes out satisfies both.
Two modes drive the same engine. In By Pixels the image is redrawn at the width and height you type, with the aspect-ratio lock deciding whether the second number is calculated for you or ignored and the picture stretched. In By File Size the tool works the other way round: it searches JPEG quality, then trims the pixel dimensions if quality alone cannot reach the ceiling, and stops the moment the encoded file is at or below your target. Every attempt is a real encode, so the number you see on the result is the number the file actually has.
Drop twenty photos in and you get twenty files back plus a ZIP — no queue on a server, no per-day quota, no email link that expires. HEIC from an iPhone is decoded in the browser before anything else happens, so a batch can mix iPhone and Android sources. PNG keeps its transparency; JPG and WebP are flattened onto whatever background colour you choose.
Nothing is uploaded. The image bytes go straight from your storage into this tab's memory, the resized copy is created there, and when you close the tab the memory is released. The only network traffic on the page is the one-time fetch of the decoder libraries when you first press the button, pulled from a pinned CDN version.
How to use the Resize & Compress Image | Step by Step Guide
- Drop one or many pictures onto the panel — JPG, PNG, WebP or HEIC.
- Pick By Pixels and type the frame you need, or pick By File Size and set the KB or MB ceiling.
- Choose the output format; keep the aspect lock on unless the target box is a fixed shape.
- Press Adjust & Download and wait while each file is re-encoded against your limits.
- Save the single result, or take the ZIP for a whole batch.
Pehle tasveer ka size (jaise 800x800) set karein ya maqsad wazan (jaise 100KB) — phir ek hi button se resize aur compress dono ho jate hain. Agar ek se zyada photo daalein to sab ka ZIP ban jata hai. Poora kaam aapke browser me hota hai, koi upload nahi.
Features
- One pass for dimensions and weight
- Real encodes — the reported size is the file's actual size
- Quality search first, downscale second
- Batch any number of files into a single ZIP
- HEIC, PNG with alpha, JPG and WebP output
- No sign-up, no watermark, no upload
Tips
- Set the ceiling slightly below the portal's limit — many reject a file that is exactly at it because they count overhead.
- For a photo, dropping 20% of the width usually saves more KB than dropping quality to 60%.
- WebP at 80 typically beats JPG at 85 on weight; keep JPG when the receiver is an old form.
- Run the batch once with a copy of your worst photo before processing forty files.
- Keep the original — this page writes a new file and never touches what you opened.
Frequently asked questions
Is the resize & compress image free to use?
Yes — Resize & Compress Image has no usage cap, no sign-up and no watermark, and it is not a trial: the page is a static file on https://wafasmart.tech with no billing backend behind it.
Does anything get uploaded when I use resize & compress image?
No. Resize & Compress Image reads your picture straight into page memory, works on it locally and hands the result back as a download — there is no upload request to intercept, store or leak, and no log of what you processed.
Can I use it on my phone?
Yes. Resize & Compress Image is mobile-first: one column, big tap targets, and the system keyboard opens with sensible number/text input. On iPhone, Files and the share sheet feed the picker the same way Downloads does on Android. and a ZIP of twenty resized photos builds on a mid-range phone in seconds
Will the output be exactly the size I asked for?
It will be at or below your ceiling. Encoders work in steps, so landing on 100.0 KB is rare; the tool takes the largest quality that fits under the limit.
What happens if a picture cannot be made small enough?
It says so instead of lying. A 4000 × 3000 photo with dense texture has a floor below which quality cannot go without shrinking the frame, so if your ceiling is unrealistic the tool reports the smallest it honestly reached.
Does resizing change the DPI?
No. Screens and browsers use pixel dimensions; DPI metadata only matters to print software, and changing it does not change the picture.
Related tools — Try more free tools
Your files never leave your device — everything runs locally in your browser.