Resize any photo to passport, visa, or ID spec — center-crop to exact pixels, fully in-browser, no upload
- Runs locally
- Category Image
- Best for Getting images to the right size, format, or weight before publishing.
Drop a photo here, or click to select
JPEG · PNG · WebP · max 10 MB
No upload. Processed entirely in your browser.
What this tool does
An in-browser ID photo resizer that center-crops and resizes any portrait or square photo to the exact pixel dimensions required by official identity documents — without uploading anything to a server. Pick a standard from the preset list: US Passport (2×2 in / 600×600 px at 300 DPI), EU / Schengen Passport (35×45 mm / 413×531 px), China Resident ID 1-inch (25×35 mm / 295×413 px), China Resident ID 2-inch (35×49 mm / 413×579 px), LinkedIn Profile (400×400 px), or generic Work Badge (300×300 px). The tool automatically center-crops the input image to match the target aspect ratio — so a landscape shot becomes a properly framed portrait crop — then scales it to the precise output pixels with high-quality smoothing. Choose JPEG (white background, smaller file) or PNG (transparent background for printed overlays). A quality slider controls JPEG compression. Download the result instantly. No account, no quota, EXIF stripped as a privacy bonus, works offline once the page loads.
Tool details
- Input
- Files + Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Download + Preview
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 20 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Image · HR
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How ID Photo Resizer fits into your work
Use it while preparing images for websites, stores, social posts, forms, or handoff packages.
Image jobs
- Getting images to the right size, format, or weight before publishing.
- Checking privacy-sensitive EXIF and metadata before sharing a photo.
- Creating publish-ready variants without uploading private assets.
Image checks
- Resize to the real display size before compressing.
- Review transparency, animation, and color profile changes after conversion.
- Strip or review metadata when the image contains private context.
Good next steps
These links move the current task into a more complete workflow.
- 1 Image Resizer Image resizer — resize JPG/PNG/WebP by pixels/%/preset, fully client-side, no upload. Open
- 2 Image Cropper Image cropper — drag to crop, fixed ratios (1:1 / 16:9 / 9:16 / 4:3), zoom, rotate, fully client-side. Open
- 3 Image Compressor (Local) Image compressor — squeeze JPG/PNG/WebP without server upload, with quality slider, batch mode, file size comparison. Open
Real-world use cases
US Green Card and Visa Application Photo
Drop your phone photo in, pick "US Passport 600×600 px", choose JPEG quality 90, and download. The center-crop centers your face even if you shot in landscape mode. The output meets the 2×2 inch at 300 DPI requirement for DS-160 and similar US forms — no print shop needed.
China Resident ID 1-inch and 2-inch Photos
Chinese government portals often require a strict 1-inch (295×413 px) or 2-inch (413×579 px) crop. Pick the matching preset, upload your portrait, and get the exact pixel dimensions without any guesswork. JPEG with white background is the accepted format for most online submissions.
LinkedIn and Social Media Headshot Resizing
LinkedIn recommends a 400×400 px square profile photo. Drop your professional headshot in, pick "LinkedIn Profile", and the tool center-crops the face region automatically. Export as JPEG quality 90 for a ~30 KB file that looks sharp at every display size LinkedIn uses.
Common pitfalls
Starting from a heavily compressed or very small source photo (under 400 px wide). The canvas can only redistribute existing pixels — blurry source means blurry output. Always use the original full-resolution photo.
Choosing PNG when submitting to an official government portal. Most government systems expect JPEG with a white background; a PNG with transparency will often be rejected or render with a black background after conversion.
Expecting the tool to retouch or straighten a tilted photo. It center-crops and scales only — it does not rotate or correct perspective. Straighten the photo in your phone gallery app before uploading.
Privacy
Photo decoding, center-crop, and re-encoding all happen inside your browser using the Canvas API — no bytes leave your tab. The Network panel stays empty throughout the entire operation. Re-encoding through Canvas also strips all EXIF metadata (GPS location, camera model, timestamps), which is exactly what you want before submitting an ID photo online.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date.
- AI HR Prompt Builder Structured form that generates ready-to-paste prompts for job descriptions, interview question sets, and onboarding checklists.
- AI Legal Prompt Library 25 fill-in-the-blank AI prompts for contract drafting, NDA review, legal research, employment law, and IP
- Blood Alcohol Content (BAC) Calculator Widmark-formula BAC estimate from drinks, body weight, sex and time — educational only, never a fit-to-drive verdict — browser-only