ImgToSize is a small set of free online tools that make images the right size — compress a photo to an exact KB limit, resize to exact pixels, convert HEIC, WebP and AVIF, turn images into PDFs, and make passport and visa photos. It is built and maintained by Xinglin Banma Technology, an independent software company, and lives at imgtosize.com.
Why it exists
Every website that asks for a photo has its own rules: under 50 KB, exactly 600×600 pixels, JPG only, white background. Most tools that fix this ask you to upload your personal photos and documents to a server you know nothing about, then limit how much you can do for free. We built ImgToSize so you can fix the file on your own device, instantly, with nothing uploaded.
Passport and visa photos
The passport-photo tool detects your face on your device, crops to the size and head position an authority asks for, and swaps the background colour. Each document page links to the issuing government’s official requirements, and we list the size, head height, background, and digital file limits from those sources. Requirements change, so always check the official page before you submit. ImgToSize is not affiliated with any government agency and cannot guarantee a photo will be accepted.
We deliberately do not offer some documents. Where an authority requires a professional photographer, an approved photo booth or a photo taken at the office (for example Canadian passports, French IDs and Mexican passports), a home-made photo would be rejected, so we would rather not offer it. Where an authority forbids editing the background (for example Australia and South Korea), the tool leaves your background untouched.
How the tools work
Every tool runs inside your own browser. The files you open, the text you type and any camera or microphone stream you test are processed on your device and are not uploaded to our servers — there is no account, no upload step and no daily limit. Some tools save your preferences on your device (for example your pinned tools) so they are there next time; see the privacy policy for exactly what and how to clear it.
How we pay for it
The site is free to use and supported by advertising (Google AdSense). We keep ads out of the way of the tools: no pop-ups, no interstitials, and no ads made to look like download buttons. We do not sell anything and never put features behind a paywall.
How we keep it accurate
Photo requirements are taken from official government sources, linked on each page, and each document’s size, head height and file limits are checked in automated tests. Compression is tested with real photos in desktop Chrome and on iPhone Safari before every release. Corrections are welcome — email us and we will update the page.
Open-source software
These tools stand on the shoulders of excellent open-source projects. The full list, with licences, is on the credits page.
Get in touch
Found a mistake, want a tool added, or need something removed? Email hello@imgtosize.com. We read everything and fix real errors quickly — see the contact page. Our sister site: Defluffed — free everyday tools — QR codes, printable calendars, PDF merge and split, timers, counters and calculators.