RanaFreeTools · Free online tool
Image Resizer & Compressor
Photos from a modern phone are huge — often 4000 pixels wide and several megabytes in size. That is fine for printing, but far too big for a website, a blog post, or a profile picture. A large image slows your page down, eats mobile data, and sometimes refuses to upload at all. This free image resizer and compressor fixes that in one place. Upload a photo, set the size you need, choose a format, and download a smaller version that still looks sharp. The same tool also includes a Passport Photo Maker. Need a passport-size photo for a form, an ID card or a visa? Pick from 30+ country sizes — Pakistan passport 35 × 45 mm, US visa 2 × 2 inch, UK, India, Canada and more — search your country, or set your own custom width and height. Then change the background colour from the Classical or Stylish palettes, or pick your own custom colour, and download a print-ready photo. No photo studio visit, no waiting, no payment. Resizing and compression are two different jobs, and this tool does both. Resizing changes the dimensions — the width and height in pixels. Compression reduces the file size — the kilobytes — by removing detail your eye barely notices. Used together, they can turn a 5 MB photo into a 150 KB web image without any visible loss. Everything happens in your browser. Your image is never uploaded to a server, so your private photos stay on your device. There is no sign-up, no watermark, and no limit on the number of images you resize.
Free · No signup · Instant
How to use the Image Resizer & Compressor
- Upload an image from your device.
- To resize: pick the Resize & Compress card, set the new width and height, or scale by percentage. To make a passport photo: pick the Passport Photo Maker card and choose a size.
- For a passport photo, drag to position your face and pick a background colour from Classical or Stylish, or your own custom colour.
- Choose JPG, PNG or WebP and quality, then download.
Image Resizer & Compressor example
Upload a 4000x3000 photo, resize it to 1200x900 and download it as JPG at 80% quality — the file becomes much smaller and still looks sharp on a website. Or open Passport Photo Maker, choose 35 × 45 mm, pick a white background, and download a print-ready passport photo.
Who uses the Image Resizer & Compressor?
Bloggers, shop owners, students and designers who need smaller images for websites and social media — and anyone who needs a passport-size photo for a form, ID card or visa.
About Image Resizer & Compressor
Resize and compress images free, or make a passport photo online — 30+ country sizes, custom size, background colours and download. No upload, no sign-up. Everything runs in your browser, so your data stays private and results appear instantly. No signup and no payment — free to use.
What Is an Image Resizer and Compressor?
An image resizer changes an image's width and height in pixels. An image compressor reduces the file's size in kilobytes. This tool combines both, because most real jobs need both: a photo that is too wide and too heavy for a website needs smaller dimensions and a smaller file. You upload the image, pick the new size and format, and download the result — all in your browser, with no account and no upload to a server.
The difference matters. If you only resize a photo from 4000×3000 to 1200×900, the file may still be large, because each pixel still carries full-quality data. If you only compress it, the dimensions stay huge and the page layout may break. Doing both gives you an image that fits your layout and loads fast. That is why this tool puts the two controls side by side.
How to Resize and Compress an Image (Step by Step)
Step 1: Upload an image from your device. Click the upload button and choose a JPG, PNG, or WebP file from your phone or computer.
Step 2: Set the new width and height, or scale by percentage. Type exact pixels, for example 1200×900, or shrink the image to 50% of its original size. Tick "Keep aspect ratio" so the height updates automatically and the image does not stretch.
Step 3: Choose a format and quality. JPG is smallest for photos, PNG keeps transparency, and WebP gives a good balance of size and quality. A quality setting around 80% looks sharp for most photos while cutting the file size a lot.
Step 4: Download the result. The resized image saves to your device, ready to upload to your website, blog, or social media profile.
If the result looks blurry, you shrank it too far or set the quality too low. Go back, use a larger size or a higher quality, and download again. It costs nothing to try twice.
Which Format Should You Choose — JPG, PNG or WebP?
Choose JPG for photographs and any image with many colours and gradients — it gives the smallest files for photos. Choose PNG when you need transparency, such as a logo on a clear background, or for screenshots with sharp text. Choose WebP when you want the best balance of small size and good quality; most modern browsers support it, and it is often smaller than JPG at the same quality. If you are unsure, WebP at 80% quality is a safe default for web photos, and JPG at 80% is the safest choice when the image must open everywhere.
Passport Photo Maker — Make a Passport-Size Photo Online
The second mode of this tool is a passport photo maker. A passport photo has strict rules: an exact size, a plain background, and a front-facing head shot. Getting one usually means a trip to a photo studio and a fee. This tool does the same job in your browser, free.
Passport photo sizes
The tool includes 30+ country sizes, so you can pick the one your form asks for — Pakistan Passport 35 × 45 mm (413 × 531 px), US Visa 2 × 2 inch (600 × 600 px), ID Card 30 × 40 mm (354 × 472 px), and many more, including UK, India, Canada, Australia, China and Japan. Type your country in the search box to find its size in seconds, or enter a custom width and height if your form uses a size that is not listed. The tool crops and downloads at exactly those pixels, so the photo prints at the right size.
Pick the size your form asks for — the tool crops and downloads at exactly those pixels, so the photo prints at the right size.
How to make a passport photo, step by step: first, upload a clear front-facing photo with good light and a plain background — a photo taken against a white wall works best. Second, open the Passport Photo Maker card and pick your size — a common size, a country size from the search, or your own custom width and height. Third, drag the photo to position your face in the frame, with your head centred and your eyes level, and use the zoom slider to fit your face in the frame. Fourth, change the background: tick Remove background, then pick a colour from the Classical or Stylish palettes, or choose your own custom colour — white, light blue, sky, grey, blue, red or green. Most passport and visa forms want a white or light blue background, so check your form first. Finally, download the photo as PNG or JPG.
Two honest notes. Background removal works best on plain backgrounds — a busy background may leave rough edges, so take the photo against a plain wall if you can. And a passport photo must look like you: the tool changes the background only, it does not change your face, and you should always check the photo against your form's rules before you submit it.
Who Uses This Tool?
Bloggers resize photos so their pages load fast and rank better in search. Shop owners shrink product photos so customers on slow mobile connections can still browse. Students resize images for assignments, slides, and profile pictures. Designers prepare images at exact sizes for websites and social media. Anyone who has ever seen "image too large" on an upload form has needed this tool. It is also useful before sending photos by email or messaging apps, where large attachments fail or take too long. And anyone who needs a passport-size photo — for a passport form, a visa application, an ID card, a job application or an exam registration — can make one here in minutes instead of visiting a studio.
Benefits of Resizing in Your Browser
The biggest benefit is privacy. Because resizing and compression happen in your browser with canvas, your image never leaves your device. There is no server storing your photos, no account tracking your uploads, and no risk of a private photo sitting on someone else's computer. The second benefit is speed: there is no upload and no waiting for a server to process your file — a photo is resized the moment you set the size. The third is cost: the tool is free, with no sign-up and no watermark on your images. Finally, it works offline in the sense that once the page is loaded, your image processing does not depend on a server connection.
Worked Example
Suppose you have a phone photo that is 4000×3000 pixels and about 5 MB in size, and you need it on your blog. Upload it, set the width to 1200 pixels with "Keep aspect ratio" ticked, and the height becomes 900 automatically. Choose JPG at 80% quality and download. The result is a 1200×900 image of roughly 150–250 KB — about twenty times smaller than the original — and on a web page it still looks sharp, because a screen rarely shows more than 1200 pixels wide. If you need it for an Instagram profile picture instead, set 320×320, choose JPG, and the file becomes smaller still. One photo, two jobs, two minutes, no software installed.
Passport example: you need a Pakistan passport photo, 35 × 45 mm. Upload a front-facing photo taken against a white wall, open the Passport Photo Maker card, choose 35 × 45 mm, drag to centre your face, pick a white background, then download. The file is exactly 413 × 531 pixels — print-ready at 35 × 45 mm — and it cost nothing.
Frequently Asked Questions
How do I resize and compress an image?
Upload your image, set the new width and height, pick a format and quality, then download. Resizing changes dimensions; compression reduces file size.
Is my image uploaded to a server?
No. Resizing and compression happen in your browser with canvas — your image never leaves your device.
Which formats can I download?
JPG, PNG or WebP. JPG is smallest for photos; PNG keeps transparency; WebP is a good modern balance.
Can I make a passport-size photo with this tool?
Yes — open the Passport Photo Maker card, upload a front-facing photo and pick a size: Pakistan passport 35 × 45 mm, US visa 2 × 2 inch, ID card 30 × 40 mm, or any of 30+ country sizes — search your country or set a custom width and height. Drag to position your face and download at the exact size.
Can I change the background colour?
Yes, free and one click. Tick Remove background (it works best on plain backgrounds), then pick a background colour from the Classical or Stylish palettes, or choose your own custom colour.
Can I keep the aspect ratio?
Yes — tick Keep aspect ratio and the height updates automatically when you change the width.
Looking for something else? Browse all free tools.