Drop images anywhere to compress them

Fit

Compress any image to an exact file size — 50 KB, 200 KB, whatever the form demands — and exact pixel dimensions too (600×600, 200×230…). Guaranteed under the limit at the best quality that fits. Need it as a PDF? Pick PDF output and the finished PDF fits the limit too — several images can even combine into one multi-page PDF under a single cap. Already have a PDF that’s too big? Drop it in and it’s recompressed under the cap, page by page — several at once works too (each to its own target), or tick Combine to merge PDFs and images into one PDF under a single cap. Drop a whole folder for batch mode + ZIP download. 100% in your browser: nothing is uploaded.

Drop an image here, or click to choose
JPEG, PNG, WebP, AVIF, GIF, BMP, HEIC · or a PDF, to shrink it · drop several images for batch mode (up to 100) · or try the sample photo · or draw a signature
10 KB20 KB50 KB100 KB200 KB500 KB1 MB

Common size limits

to 10 KBto 20 KBto 50 KBto 100 KBto 200 KBto 500 KBto 1 MB

Exact dimensions

400×400 (X profile)512×512 (Discord avatar)600×6001080×1080 (Instagram square)1280×720 (YouTube thumbnail)1920×1080 (Full HD)1080×1920 (Story / Reels / TikTok)1200×630 (link preview / OG)1500×500 (X header)2560×1440 (YouTube banner)3840×2160 (4K UHD)

Image to PDF

PDF under 100 KBPDF under 200 KBPDF under 500 KB

Compress an existing PDF

PDF to 100 KBPDF to 200 KBPDF to 300 KBPDF to 500 KB

DPI label

200 DPI (IBPS / PAN / XAT scans)300 DPI (print standard / Sarathi)600 DPI (high-res scans)

Draw a signature

Signature pad — transparent PNG or exact size & KB

По-русски

Сжать фото до нужного размера — по-русскидо 20 КБдо 50 КБдо 100 КБдо 200 КБдо 500 КБдо 1 МБфото 3×4 смфото 35×45 мм

Form photo requirements

All requirements — one verified tableDV lottery photo (600×600, ≤240 KB)IBPS/SBI photo (200×230, 20–50 KB)IBPS/SBI signature (140×60, 10–20 KB)IBPS thumb & declaration (20–50 / 50–100 KB)SEBI Grade A photo, signature, thumb & declaration (200×230, 20–50 KB)SIDBI Grade A & B photo, signature, thumb & declaration (200×230, 20–50 kb)IRDAI Assistant Manager photo, signature, thumb & declaration (200×230, 20–50 KB)PFRDA Grade A photo, signature, thumb & declaration (200×230, 20–50 kb)NHB photo, signature, thumb & declaration (200×230, 20–50 kb)RBI Grade B photo, signature, thumb & declaration (200×230, 20–50 kb)LIC AAO photo, signature, thumb & declaration (200×230, 20–50 kb)NIACL AO & Assistant photo, signature, thumb & declaration (200×230, 20–50 kb)ECGC PO photo, signature, thumb & declaration (200×230, 20–50 kb)GIC Re Scale I photo, signature, thumb & declaration (200×230, 20–50 kb)OICL AO & Assistant photo, signature, thumb & declaration (200×230, 20–50 kb)IDBI Bank JAM photo, signature, thumb & declaration (200×230, 20–50 kb)LIC HFL Junior Assistant photo, signature, thumb & declaration (200×230, 20–50 kb)ISRO Assistant, JPA, UDC & Steno photo & signature (200×230, 20–50 kb)SSC signature (10–20 KB, 6×2 cm)UPSC photo & signature (20–300 KB)NEET photo & signature (10–200 / 10–100 KB)NEET PG photo, signature & thumb (<80 KB)FMGE photo, signature & thumb (<80 KB)NEET MDS photo, signature & thumb (<80 KB)GATE photo & signature (5–600 / 3–300 KB)IIT JAM photo & signature (480×640, 50–200 kB — both floors explained)CUET UG photo & signature (10–200 / 10–50 KB)CUET PG photo & signature (10–200 / 10–50 KB)JEE Main photo & signature (10–200 / 10–100 KB)NCHM JEE photo & signature (10–200 / 10–100 KB)CTET photo & signature (10–100 / 3–30 KB)UGC NET photo & signature (10–200 KB / sig window explained)CSIR NET photo & signature (10–200 / 10–50 KB — window changed)ICAR AIEEA / AICE PhD photo & signature (10–200 KB / sig window explained)CLAT photo & signature (portal crops — no KB rule)AILET photo & signature (JPG/PNG, ≤1 MB — real spec)AIBE documents, photo & signature (600 KB rule, Bar Council)CAT photo & signature (1200×1200, ≤80 KB)XAT photo & signature (200×230, 20–50 KB)ICAI CA exam photo & signature (20–50 / 10–20 KB)ICSI CSEET / CS registration photo & signature (20–50 / 10–20 KB)SNAP photo (10–100 KB)Philippines NMAT photo (square ≥600×600, ≤2 MB)Railway RRB signature (140×60, 30–49 KB)Driving licence photo & sign — Sarathi (420×525 / 256×64, 10–20 KB)PAN card photo & signature (NSDL / UTIITSL)Kerala PSC photo & signature — Thulasi (150×200 / 150×100, ≤30 Kb, name & date printed)TNPSC photo & signature (300–400 px ranges, <50 / <20 KB)UPPSC OTR photo & signature (5×6 cm at 200 DPI, <50 / <30 KB)Bangladesh govt job photo & signature (300×300 / 300×80, Teletalk)Nepal Lok Sewa photo & signature (JPG/PNG ≤500 KB, PSC online)Indonesia CPNS / PPPK photo & KTP scan (JPEG ≤200 KB, SSCASN)MPSC Maharashtra photo, signature & PDF documents (real rules, 50–500 KB PDFs)KPSC Karnataka photo & signature (JPEG ≤200 / ≤70 KB, OTR)MPPSC photo & signature (JPG 20–100 / 10–100 KB, MPOnline)OPSC Odisha photo & signature (3.5×4.5 cm, 25–100 KB + thumb)UKPSC Uttarakhand photo & signature (150×200 / 150×100 px, JPG)JKPSC J&K photo & signature (10–20 kB, date-stamped)BPSC Bihar photo & signature (<35 kb photo, two signatures <20 kb)WBPSC / WBCS photo & signature (<50 / <20 KB, portal-verified)Bihar Police constable photo & signature — CSBC (15–25 KB, English + Hindi signatures)Assam Police photo & signature — SLPRB/APCAP (≤450 / ≤100 KB, no pixel rule)India Post GDS photo & signature (≤50 / ≤20 kb, jpg/jpeg)Voter ID (EPIC) photo & documents (JPG ≤2 MB, ECI portal)HSSC / Haryana CET photo & signature (white bg, name & date printed on)AIIMS NORCET photo, signature & thumb (50–100 / 10–50 kb)DSSSB photo, signature & ID-proof scan (15–60 KB ID scan — the real spec)SAT registration photo (.jpg/.gif/.png — no official px/KB spec)ACT registration photo (JPG/PNG/BMP ≤5 MB, min 640×480)LSAT registration photo (.jpg/.gif/.png, min 195×195 — size cap unpublished)ERAS residency photo (JPEG ≤150 KB, 2.5×3.5 in — AAMC/ECFMG)US visa photo — DS-160 (600–1200 px, ≤240 KB)US passport renewal photo (54 KB – 10 MB)UK passport photo (50 KB – 10 MB, ≥600×750)UK ETA / visa photo (JPG, 50 KB – 6 MB)Canada citizenship photo (≥420×540, ≤4 MB)Canada PR photo (715×1000–2000×2800 px, ≤4 MB)Canada visitor visa photo (35×45 mm decoded — no published pixels)Australian citizenship photo (70 KB – 3.5 MB, 1200×1600)NZeTA / NZ visa photo (512 KB – 3 MB, 3:4)Ireland passport photo (≥715×951, ≤9 MB)Singapore passport / ICA photo (400×514 px)Nigeria passport photo (600×800 px, <2 MB)Ghana passport photo (140×170 px, ≤250 KB)Pakistan passport photo (35×45 shape, ≤500 KB)Indian passport abroad — GPSP (630×810, <250 KB)OCI card photo & signature (square 200–900 px, ≤200 KB)India e-Visa photo (square, 10 KB – 1 MB)Vietnam e-Visa photo (4×6 shape, <2 MB)Indonesia e-VOA photo (min 400×600, <2 MB)Thailand e-Visa photo (JPG, <3 MB)South Korea K-ETA photo (colour JPG, 100 KB-safe)Saudi eVisa photo (200×200, 5–100 KB)Nusuk Hajj passport & photo upload (PNG/JPG ≤1 MB — real spec)Uzbekistan e-visa photo (413×531, <1 MB)Ethiopia e-Visa photo (JPEG/PNG, <2 MB)Tanzania eVisa photo (35×45 mm shape, <500 KB)Kenya eTA photo (selfie or passport-type — no official spec)Oman eVisa photo (picture and passport, ≤512 KB)Qatar Hayya visa photo (JPG, under 2 MB)Zimbabwe eVisa photo (PNG/JPG/PDF, ≤1 MB)China visa photo — COVA (3:4, 354–420 px wide, 40–120 KB)Japan eVisa photo (JPG/PNG/HEIC, under 2 MB)Brazil eVisa photo (413×531 px, JPEG ≤2 MB)Laos eVisa photo (4×6 shape, JPG/PNG ≤10 MB)Myanmar eVisa photo (3.8×4.6 shape, ≤2 MB)Armenia e-Visa photo (JPG/PNG, ≤6 MB safe)Togo eVisa photo (35×45 mm shape, ≤5 MB)Djibouti eVisa photo (JPG/PNG, ≤250 Kb per file)Rwanda visa photo — IremboGov (JPG, ≤500 KB)Uganda e-Visa photo & documents (5–250 KB)Angola visa photo (381–571×496–744 px, ≤200 kb)UAE visa & Emirates ID photo (square 600–1200 px, ICP)

FAQ

Is my image uploaded to a server?

No. PixFit runs entirely in your browser — the photo is decoded, resized and re-encoded locally and never leaves your device. Load the page, turn off Wi-Fi, and it still works.

How does it hit the exact size?

It binary-searches the encoder's quality setting for the highest quality that fits your byte budget, and if even the lowest reasonable quality is too big, it scales the image down and searches again. The result is always at or under your target — never over.

Can I get exact pixel dimensions too (like 600×600)?

Yes — many forms demand both, e.g. “200×230 px, max 50 KB”. Put 200x230 in the “Exact size” field and the output will be exactly those dimensions and under the byte limit (only quality is searched; dimensions are never touched). If the original's aspect ratio differs, PixFit crops to match — centered by default, and a draggable preview appears so you can choose exactly what's kept (in batch mode crops stay centered). If the source is smaller than the requested size it gets upscaled, with a warning, because the form won't accept anything else.

The form says “20 KB to 50 KB” — how do I stay above the minimum?

Type the range into the target field: 20-50 KB. PixFit still finds the best quality under the maximum, and if that best encode lands below the minimum (common for small images — a 140×60 signature at top quality is only ~5 KB), it pads the JPEG up to the floor with a comment segment. That's the mechanism the JPEG spec provides for exactly this: the file says in plain text that it's padding, no pixels change, and upload portals accept it. Padding works for JPEG output; exam and application portals that enforce minimums want JPG anyway.

The form asks for 200 DPI (or 300 DPI) — can PixFit set that?

Yes. Put the number in the “DPI label” field and PixFit writes it into the JPEG's JFIF header as the scan resolution (dots per inch) — the field portals and document scanners read. Be clear about what this is: DPI in a digital file is a label, not a property of the pixels. A 200×230-pixel image is 200×230 pixels at any DPI; what the label changes is the print-size arithmetic (200 DPI means “treat 200 pixels as one inch”). Specs like “3.5×4.5 cm at 200 DPI” are really telling you the pixel count — but if a portal checks the header field too, this sets it. JPEG output only. And if you only want the label changed — no re-encode, no resize — drop a JPEG in with the DPI field set and use the label-only button that appears with the result: it edits the JFIF density field (and any existing EXIF resolution tags, so the two agree) in place, leaving every other byte of your original file untouched. Dedicated pages: 200, 300 and 600 DPI.

Will my photo look bad?

Depends on how hard the squeeze is. A 4000×3000 phone photo into 200 KB looks fine; into 20 KB it will be visibly soft, because PixFit has to shrink it to keep artifacts acceptable. Two tips: use the max-edge field if the destination only displays a small image anyway, and pick WebP if the site accepts it — WebP fits noticeably more quality into the same bytes than JPEG.

Can I compress many images at once?

Yes — drop several files (or select multiple in the picker, up to 100 files / 500 MB) and every one is compressed to the same target, with a per-file result table and individual Save buttons. “Download all” packs everything into a ZIP, built in your browser like everything else. Files that can't be decoded or can't fit the target are listed, not silently dropped. PDFs can ride along in the batch: each one is recompressed page by page to the same target and comes back as a PDF on its own row (see the PDF question below for the honest tradeoff). Handy for photo batches going to a listing site or CMS with a per-image cap.

I don't have a signature image — can I draw one?

Yes — the signature pad (also reachable via “draw a signature” in the drop zone) lets you sign with a finger, stylus or mouse in black or blue ink. Download it as a transparent PNG for documents, or press Use signature to feed the drawing straight into the fitter: it's trimmed, letterboxed on white to match your Exact size field so no stroke is cropped off, then fitted to the byte window — padding floors and DPI label included. One honest note: many exam notifications say “scanned signature,” meaning ink on paper — when the wording is strict, sign on paper, photograph it, and drop the photo in instead (see the next question).

The portal wants my name and photo date printed on the photo — can PixFit add that?

Yes. Some portals — Kerala PSC's Thulasi is the best-known — require the candidate's name and the date the photograph was taken printed on the photo itself, in two lines of black text on a white strip at the bottom. Fill in the Print on photo fields in the options bar and PixFit draws that strip on the output before fitting it to your byte target, so the finished file has the label and the right size in one pass. Use the real date the photo was taken — the label documents the photo's age, and portals that require it treat it as a declaration. The text is drawn locally, applies to single photos only (batch mode ignores it), and what you type is never stored anywhere — not even in this browser's storage.

I photographed my signature on paper — can PixFit clean it up?

Yes. Drop the photo in and tick Signature photo cleanup in the options bar. PixFit finds the ink with an adaptive threshold (computed locally around every pixel, so uneven phone-photo lighting and paper shadows don't fool it), trims tight to the strokes with a small margin, erases stray specks, and puts the ink on a genuinely pure white background — the gray paper tint portals reject is gone. Pen colour is kept: blue ink stays blue, and faint strokes are darkened enough to read. With an Exact size set (say 300×80 or SSC's 6×2 cm strip), the trimmed ink is letterboxed to that shape so no stroke is ever cropped off, then fitted to your byte window like any other image — minimum-size floors and the DPI label included. Check the preview before uploading: if the photo has hard shadows or the paper doesn't fill the frame, the cleanup can grab the wrong thing — retake in even light and it does much better. Everything runs in this browser; the signature never leaves your device.

The form wants a PDF under a size limit — can PixFit do that?

Yes. Pick PDF as the output format. Portals often demand documents as “PDF, max 200 KB” while what you have is a photo of the document — PixFit compresses the image to fit and wraps it into a one-page PDF in the same pass, so the finished PDF (not just the image inside) is guaranteed at or under your target. The JPEG is embedded losslessly — the PDF wrapper adds no second re-encode. Minimum sizes (“100 KB to 300 KB”) work too, and the DPI field sets the page's printed size (default 96 DPI). Exact pixel dimensions apply to the embedded image. Several images? Drop them together and tick Combine into one PDF: each image becomes a page of a single PDF that fits the byte target as a whole — pages share the budget, so a small page hands its spare bytes to a detailed one. Existing PDFs can join the merge too: drop them into the same batch and each of their pages becomes a page of the combined PDF (as a picture — text stops being selectable; each page keeps its printed size). Dedicated pages: under 100 KB, 200 KB, 500 KB.

My PDF already exists and it's too big — can PixFit shrink it?

Yes — drop the PDF straight into the drop zone. Every page is rendered locally (by pdf.js, Mozilla's PDF renderer, ~1.8 MB fetched from this site the first time you drop one), re-encoded as a JPEG, and reassembled into a PDF guaranteed at or under your target — the pages share the byte budget, so a simple page hands its spare bytes to a detailed one, and every page keeps its exact printed size. Minimum sizes (“50 KB to 300 KB”) work here too. Be clear about the tradeoff: the output contains pictures of your pages — text stops being selectable and searchable, and links, form fields and digital signatures don't survive. For a scanned PDF that changes nothing real; for a text-born PDF, only do this when the upload form cares about bytes, not text. Password-protected PDFs need the password removed first. Several PDFs at once work too: drop them together (images can ride along in the same batch) and each PDF comes back recompressed to the target on its own row, with a ZIP for the lot — or tick Combine into one PDF to merge everything you dropped (PDFs and images alike) into a single PDF that fits the target as a whole. Dedicated pages: compress a PDF to 100 KB, 200 KB, 300 KB, 500 KB.

What happens to the photo's metadata?

It's gone. Re-encoding through a canvas drops EXIF, GPS location, camera serial numbers — everything. (Rotation is applied to the pixels first, so photos don't turn sideways.) If you want to remove metadata without recompressing, use PixWash, which strips it at the byte level with zero quality loss.

Which formats work?

Input: anything your browser can decode — JPEG, PNG, WebP, AVIF, GIF, BMP — plus HEIC/HEIF from iPhones, and existing PDFs (recompressed page by page, see above). Browsers can't open HEIC themselves, so the first time you drop one, PixFit fetches a ~1 MB decoder (libheif compiled to WebAssembly, served from this site) and decodes it locally — the photo still never leaves your device. Output: JPEG (default, accepted everywhere), WebP (smaller, accepted by most modern sites) or a PDF that fits the limit. Transparent PNGs get a white background in JPEG and PDF output — JPEG has no transparency; choose WebP to keep it.

Why do upload forms have size limits anyway?

Storage and bandwidth cost the operator per byte, and many older systems hard-fail on big files. Application portals, government forms, job sites and CMSs commonly cap photos at 20 KB–2 MB — usually far below what a modern phone camera produces, which is why this tool exists.