Exact-KB Photo & Document Prep — Compress to Target KB for Visa, Passport & Exam Photos
Compress photos to exact KB targets for US Visa, Schengen/UK Passport, India Passport/OCI, UPSC/SSC Exam, and signatures. Binary-search compression hits target KB while preserving maximum sharpness. Choose Cover (crop) or Contain (pad) fit modes. 100% client-side, no uploads.
Upload Photo / Document
Process & Download
Frequently Asked Questions
- No. All processing happens entirely in your browser using the HTML5 Canvas API. Your image never leaves your device.
- JPG, PNG, and WebP images are supported for input. Output can be JPEG, WebP, or PNG. Drag and drop an image or click the drop zone to browse.
- The tool uses binary search over JPEG/WebP quality (5%–95%) to find the highest quality that produces a file just under your target KB. If even minimum quality exceeds the target, it progressively downscales the image until it fits.
- Cover crops the image to completely fill the target dimensions (may cut off edges). Contain fits the entire image within the target dimensions, adding white padding where needed. Use Cover for passport/visa photos; Contain for signatures or documents where nothing should be cropped.
- Yes. Once the page is loaded, the tool works completely offline because all logic runs client-side. No network requests are made.
- Currently the tool accepts JPG, PNG, and WebP images. For PDF documents, use the PDF to Image converter first, then process the resulting images with this tool.
- Presets match official requirements: US Visa (600×600 px, ≤240 KB), Schengen/UK Passport (413×531 px, ≤200 KB), India Passport/OCI (630×810 px, ≤250 KB), UPSC/SSC Exam (300×400 px, ≤48 KB), and Exam Signature (300×120 px, ≤19 KB). Each preset sets the exact dimensions, target KB, and recommended fit mode.
Use Cases
Exact-KB Photo & Document Prep is a browser-based tool for compressing photos and scanned documents to exact file-size targets required by government portals, exam registrations, and identity-verification systems. It is built for applicants, students, travelers, and anyone who needs to meet strict KB limits without guessing quality settings.
Typical use cases include preparing a US Visa (DS-160) photo at 600×600 px under 240 KB, a Schengen or UK passport photo at 35×45 mm (413×531 px at 300 DPI) under 200 KB, an India Passport or OCI photo at 630×810 px under 250 KB, UPSC/SSC exam photos at 300×400 px under 48 KB, and scanned signatures at 300×120 px under 19 KB. Because every operation runs client-side, your biometric photos and identity documents never upload to a remote server, making the tool safe for sensitive personal images.
Additional scenarios include batch-preparing family visa photos to the same spec, compressing high-resolution DSLR portraits for online application forms, and down-scaling screenshots or scanned documents for portal uploads with strict size limits. The binary-search compression engine finds the highest visual quality that stays just under the target KB, eliminating the trial-and-error of manual quality sliders.
How It Works
Prepare your photo in four simple steps:
- Select a preset (US Visa, Schengen/UK Passport, India Passport/OCI, UPSC/SSC Exam, Exam Signature) or choose Custom mode to set your own target KB, dimensions, format, and fit mode.
- Upload your photo by dragging it into the drop zone or clicking to browse.
- The tool instantly runs binary-search compression: it tests quality levels from 5% to 95%, converging on the highest quality that produces a file just under your target KB. If the target cannot be met even at minimum quality, it progressively down-scales the image until it fits.
- Preview the result side-by-side with the original, see exact before/after file sizes, achieved quality %, and final dimensions, then download the compressed image.
No account is required, and there are no server-side file size limits. The tool runs entirely in your browser, so compression starts immediately and keeps working offline after the page loads. It also requires no build step or installation, and processing stays local so sensitive photos never leave your machine.
Exact-KB Photo Prep is part of the Image category of DevPouch tools, sitting alongside other browser-based utilities for image compression, resizing, format conversion, cropping, rotation, and watermarking. It pairs well with the PDF to Image converter for document workflows: convert a PDF page to JPG, then hit an exact KB target for upload. Run it on your next application photo and watch a 5 MB raw image become a 198 KB visa-ready file in milliseconds.
Privacy & Offline Use
No data is uploaded. No analytics, no tracking, no server calls. The tool works fully offline after initial page load — ideal for secure environments, air-gapped networks, and privacy-conscious workflows.