Photo Resizer for Exams
Photo Resizer for Exams
Resize your photo to exact specifications required by government exams
- Runs in your browser
- Nothing uploaded
- No sign-up
- Free, no daily limits
- 1Add your file
- 2Choose settings
- 3Download
Photo Resizer for Exams crops a portrait to the pixel size a form asks for, finds the highest JPEG quality that fits the KB limit, and pads files below the preset minimum. If it can't fit, you get an error, never an oversized file. Nothing is uploaded. Presets cover SSC, IBPS, UPSC, RRB, passport and visa.
Upload your photo
JPG, PNG, WEBP (HEIC in Safari, max 10MB)
Select Exam / Document Type
Central
Banking
Railway
ID
Custom
Dimensions & Size
Most exams require 20-50 KB. Enter exact value like 50 or 45.5
Preview will appear here
Select an exam type, upload your photo, and click Resize
Tips for Best Results
- - Use a recent, clear photo with white background
- - Face should be centered and clearly visible
- - Avoid shadows on face or background
- - Photo should be taken in good lighting
100% Private: Your photos are processed entirely in your browser. Nothing is uploaded to any server.
Last updated
Photo Resizer for Exams formats passport-style portraits to the exact pixel dimensions and byte thresholds mandated by central, banking, railway, and state recruitment portals. Instead of guessing quality sliders in desktop graphics suites, candidates select an official preset or specify custom pixel bounds and maximum kilobyte caps. The tool handles framing, high-resolution rendering, and size compression in a single browser pass.
All image manipulation executes locally through native HTML5 Canvas routines, meaning portrait files never leave your computer or smartphone. While this client-side architecture protects privacy for sensitive identification photos, processing relies on browser decoding; standard desktop browsers open JPG, PNG and WEBP, while Apple HEIC files decode natively inside Safari.
How it works
1. Upload your portrait photo
Click the dashed upload box or drag an image into the dropzone. The tool accepts JPG, PNG, WEBP, and HEIC files up to 10 MB, immediately generating an in-memory preview.
2. Select an official exam preset or enter custom bounds
Choose a target authority such as UPSC, SSC, IBPS, Railway RRB, or Indian Passport to populate standardized pixel dimensions and file size ceilings, or choose Custom Size to configure your own width, height, and target kilobyte values.
3. Execute crop and binary compression
Click the Resize Photo button. The tool centers your portrait, crops excess width or height to preserve the required proportion, renders the image onto a virtual canvas, and binary-searches the JPEG quality until the file is at or under the KB limit.
4. Inspect specifications and download
Examine the output resolution and file size badge on the confirmation card, then click Download Photo to retrieve your compliant JPEG file labeled with the exam name and pixel dimensions.
When you'd use it
Staff Selection Commission (SSC CGL and CHSL) applications
Candidates uploading identity photos to SSC portals require precisely 200×230 pixels between 20 KB and 50 KB. The tool scales the portrait to exact pixel limits and prevents under-20 KB rejection.
UPSC One Time Registration (OTR) profile setup
The UPSC One Time Registration FAQ asks for a JPG photograph between 20 KB and 300 KB, from 350×350 pixels minimum to 1000×1000 pixels maximum on each side. The 400×400 preset sits inside that range.
Banking recruitment (IBPS and SBI PO/Clerk) submissions
Banking registration portals enforce a 20 KB minimum and 50 KB maximum ceiling with a 200×230 aspect ratio. Automated binary compression prevents portal upload timeout errors.
Railway Recruitment Board (RRB NTPC and Group D) forms
Railway boards specify 3.5×4.5 cm portraits at 300 DPI (413×531 pixels) capped at 50 KB. The dedicated preset provides precise print-density conversion without manual DPI recalculation.
International visa and passport digital filings
Online visa filings such as US DS-160 require square 600×600 pixel images capped at 240 KB (our checker tests a 50–240 KB range), while Schengen submissions demand 413×531 pixels up to 500 KB.
Aspect ratio cropping versus distortion
Government portals automatically check the pixel width and height of uploaded portrait files. Uploading an unadjusted photo from a modern smartphone (which typically captures at 4:3 or 16:9 ratios) into a 200×230 pixel slot causes portal scripts to either reject the upload or compress the face horizontally into an unflattering, distorted oval.
This utility avoids distortion by calculating the source aspect ratio against the destination bounds before drawing onto the canvas. If the source image is wider than the target frame, the algorithm trims equal slices from the left and right margins while preserving the vertical center. If the source is taller, it trims equal bands from the top and bottom. The resulting facial portrait remains natural, upright, and centered.
Official examination photo specifications matrix
Government and entrance exam boards enforce distinct dimensional parameters for candidate portraits. For instance, SSC CGL and IBPS PO specify 200×230 pixels, whereas railway notices such as RRB NTPC and medical entrance tests like NEET UG require 3.5×4.5 cm prints (413×531 pixels). If your portal requires exact millimetre dimensions, use our 35 × 45 mm photo resizer or 2x2 inch photo resizer.
If you are submitting postcard-size photographs for medical entrance exams, refer to our 4x6 inch postcard resizer. For tax registration photos, use our specialized PAN card photo resizer, and verify your document parameters with our Document Checker.
| Recruitment / Entrance Board | Pixel Dimensions | Allowed File Size | Background & Biometrics |
|---|---|---|---|
| SSC (CGL, CHSL, MTS) | 200 × 230 px | 20 KB to 50 KB | Plain light background, 70-80% face coverage |
| IBPS (PO, Clerk, RRB) | 200 × 230 px (preferred) | 20 KB to 50 KB | White background, neutral expression |
| SBI (PO, Clerk) | 200 × 230 px | 20 KB to 50 KB | White background, no tinted glasses |
| UPSC (OTR) | 350 × 350 to 1000 × 1000 px | 20 KB to 300 KB | Clear light background, recent photo |
| Railway RRB (NTPC) | 3.5 × 4.5 cm (413 × 531 px) | 30 KB to 70 KB | White background, front facing |
| NTA NEET (UG) Passport | 3.5 × 4.5 cm (413 × 531 px) | 10 KB to 200 KB | White background, 80% face coverage |
| US Visa DS-160 / DV Lottery | 600 × 600 px | Max 240 KB (50 KB floor in checker) | White background, eyeglasses banned |
Source: Official Recruitment Bulletins (SSC, IBPS, UPSC, SBI, RRB, NTA NEET), checked October 29, 2026
How does the tool aim for a KB range?
Reaching a tight file window such as 20 KB to 50 KB is difficult with standard image editors. Saving at high quality easily exceeds 50 KB, while saving at low quality risks dropping below 20 KB, triggering portal validation errors. This tool solves the problem with an automated binary search over JPEG quality.
The script tests successive JPEG quality factors between 0.10 and 1.00 on the canvas, at the exact pixel size, until it finds the highest quality that stays at or under the maximum byte limit. It never shrinks the dimensions to save bytes. If even quality 0.10 is over the limit (a very detailed photo at large dimensions), you get an error explaining the smallest size it reached, and no file to download. If a clean, low-noise headshot compresses smaller than the portal's mandatory minimum floor (such as 20 KB), the tool invokes trailing-byte zero padding past the JPEG End of Image marker. This technique satisfies server-side file size inspectors while preserving 100% of the decoded image fidelity.
Why do portals reject a photo that is the right size?
Most application rejections stem from preventable lighting, background, and framing errors rather than numerical dimensions alone. Official guidelines typically mandate a plain white or light-colored background without patterns, shadows, or outdoor scenery. The applicant's face must occupy roughly 70% to 80% of the vertical frame, looking directly into the lens with both ears visible.
Applicants should remove tinted spectacles, heavy frames, and caps or head coverings unless worn for religious reasons. Flash glare reflected on glass lenses is a frequent reason for automated scrutiny failure. For best results, capture your photo in diffused daylight facing a clean white wall, crop close to the collarbones, and run the photo through this tool to lock in the required pixel geometry.
Check before you upload: before submitting your photograph, test it in our Document Checker against the SSC/IBPS Photo, 200x230, 20-50 KB or Railway Photo, 413x531, 20-50 KB preset.
Frequently asked questions
How many KB should a passport photo be?
For central exams like SSC and IBPS, passport photos must be between 20 KB and 50 KB. Entrance tests like NEET and JEE allow 10 KB to 200 KB, while UPSC accepts up to 300 KB and the U.S. State Department caps visa photos at 240 KB. TryDocsy presets calibrate to each portal's exact window.
Will resizing my photo distort or stretch my face?
No. The tool calculates the proportional difference between your original picture and the target preset. It crops equal margins from the excess edges to center your face before resizing, ensuring your facial features are never stretched or compressed.
Why is there a minimum file size requirement on exam forms?
Recruitment servers set minimum thresholds (typically 20 KB) to block heavily pixelated or illegible photos. When the quality search produces a clean image below the required floor, it safely pads the JPEG structure to satisfy the server validator.
Can I upload HEIC photos taken on an iPhone?
Yes, if you open TryDocsy in Safari on macOS or iOS, which provides native browser HEIC decoding. On Chrome, Firefox, or Windows browsers that lack HEIC support, convert the photo to JPG or PNG first.
Are my uploaded personal photos sent to any remote server?
No. All canvas transformations, cropping operations, and JPEG encodings execute locally within your browser runtime. No image data or metadata is ever transmitted over the network.
What should I do if my exam is not listed in the presets?
Select the Custom Size option from the preset menu. You can manually enter the exact width in pixels, height in pixels, and the maximum file size in kilobytes specified in your official exam brochure.
Does this tool automatically remove colored backgrounds?
No. This tool crops, resizes, and compresses your photo. If your original image has a dark or busy background, use our dedicated background remover tool first, then import the resulting white-background portrait here.

