Photo Requirement Fitter
Exact pixels, output format and target file size (KB) — make any photo pass an upload form in one click
Fitting your photo, please wait…
Your file is ready
Download the fitted photoRequirements
On-device face detection. Only changes "Fill & crop": frames one face with headroom. No face / multiple faces / any error falls back to center crop.
Runs 100% in your browser — no upload, no watermark
Photo Requirement Fitter – Exact Pixels, Format and File Size
Online forms are picky: they demand an exact width and height in pixels, a specific format, and often a maximum file size in kilobytes. The Photo Requirement Fitter takes any photo, resizes it to those exact pixels, encodes it as JPG, PNG or WebP, and binary-searches the quality until it lands at or under your KB cap — then reports back whether every requirement actually passed.
Choose between Fill and crop, Fit and pad, or Stretch, or start from a ready preset such as a US passport photo, a DV Lottery image, an Instagram post or a story. All resizing, padding and compression run locally in your browser.
Key features
- Exact width × height in pixels, up to 12000 px per side
- JPG, PNG or WebP output, with a target file size in KB
- Fill & crop, Fit & pad, or Stretch — with padding colour or transparency
- Presets: US passport, DV Lottery, Instagram, story/reel, web banner
- Optional on-device face auto-framing for portraits
- A verification report checks dimensions, format, size and fidelity
How to use
- Upload one photo (JPG, PNG, WebP, BMP or GIF).
- Pick the output format and type the required width and height.
- Choose how to fit the photo and, if needed, set a max KB.
- Press “Make it fit” and read the report, then download.
Who needs an exact-pixel photo
Job portals, visa and DV Lottery uploads, university applications, seller centres and social profile pictures all state hard numbers that a normal resizer cannot satisfy on its own. This tool exists for those moments: you enter the numbers the form asks for, and the output is re-checked against them before you download.
- US passport and DV Lottery photos that must be square and under a size cap.
- Visa and work-permit portals that demand a fixed pixel count and a KB ceiling.
- Social posts, stories and web/email banners at standard dimensions.
- Any form that says “must be exactly N by M pixels and no larger than X KB”.
The three fit modes, and when to use each
Fill & crop (default)
Scales the photo so it covers the whole target frame, then trims the overflow. The output fills every pixel with image — no bars — but edges may be cropped. This is the right choice for avatars, passport portraits and feed posts where nothing important sits near the border.
Fit & pad
Scales the photo so the entire picture fits inside the frame and fills the leftover edges with a padding colour (white by default), or with transparency when you pick PNG or WebP. Use this when nothing may be cropped, such as a full document scan or a wide panorama.
Stretch
Forces the photo to the exact pixels without preserving aspect ratio. It is rarely correct — it distorts faces and products — but a few badly written forms accept nothing else, so it is there as a deliberate fallback.
The presets and the numbers behind them
The quick presets encode real requirements rather than guesses. The US passport preset is a 2×2-inch headshot exported at 600×600 JPG; the DV Lottery preset is the same 600×600 square with a 240 KB ceiling. Instagram posts are 1080×1080, stories/reels/TikTok covers are 1080×1920, and a web or email banner is 1200×630. A generic “≤500 KB” preset keeps your pixels and only applies the file-size target. Remember that physical print sizing depends on DPI: a 35×45 mm visa photo is about 413×531 pixels at 300 DPI — see 300 DPI for printing.
How the KB target is met honestly
For JPG and WebP the tool starts at the highest quality and binary-searches down until the file is at or just under your KB cap, keeping the highest quality possible. If a photo is so detailed that even the lowest quality exceeds the cap at those exact pixels, it says so rather than pretending — and it may downscale slightly to reach the target, warning you that detail will be a little softer. PNG is lossless: if a PNG cannot reach the KB cap at those pixels, the report recommends switching to JPG or WebP.
- The result report lists dimensions match, format, final file size, the quality percentage used, and an SSIM fidelity score against the original.
- “Auto-frame face (Beta)” is off by default. When enabled, on-device face detection frames a single portrait with headroom; with no face, several faces, or any error, it falls back to a centered crop.
Step by step
- Drag a photo onto the drop zone or click to choose it.
- Either type the exact width and height, or tap a preset to fill them in.
- Choose JPG/PNG/WebP and the fit mode; set a max KB only if the form requires one.
- Press “Make it fit”, read the verification report, and download the fitted file.
Privacy
Resampling, padding and the quality search all run locally with Canvas; the photo is never uploaded. There is no account and the export has no watermark. For actual printed passport sheets, pair this with the passport and ID photo maker.
Related tools and guides
- Passport & ID Photo Maker — crop, background colour and 6-inch print sheets
- Passport Photo Sizes — country size and head-height reference
- 300 DPI for printing — how millimetres convert to pixels
Frequently Asked Questions
Which photo formats can I feed in?
JPG, PNG, WebP, BMP and GIF images open in the browser; you pick the output as JPG, PNG or WebP. Only one photo is processed per run, and each side can be at most 12000 pixels.
Can it really guarantee a maximum file size such as 240 KB or 500 KB?
For JPG and WebP it searches for the highest quality that stays at or below your KB target and may downscale slightly to get there. PNG is lossless, so if it cannot reach the cap at the exact pixels the tool says so and recommends JPG or WebP instead.
What is the difference between Fill & crop, Fit & pad and Stretch?
Fill & crop covers the whole frame and trims overflow; Fit & pad shows the entire photo on a padding background (or transparent for PNG/WebP); Stretch distorts the photo to the exact pixels. Use Fill & crop for avatars and ID photos, Fit & pad when nothing may be cut.
What size is the built-in US passport preset?
It produces a 600×600 square JPG, matching the 2×2 inch passport composition; the DV Lottery preset adds the 240 KB ceiling. Physical print dimensions still follow the issuing authority, and 35×45 mm equals about 413×531 pixels at 300 DPI.
What does “Auto-frame face (Beta)” do?
When you turn it on, on-device face detection frames a single portrait with natural headroom inside Fill & crop. If there is no face, more than one face, or framing is unsafe near an edge, it silently falls back to a centered crop.
Are my photos uploaded to reach the size target?
No. Resizing, padding and the quality search all happen in your browser with Canvas; the file never leaves your device.