Resize Image to 50 KB
Set the pixels and the size limit together, and get a JPG under 50 KB. It shows what was cropped. The picture never leaves your browser.
https://flxcode.com/resize-image-to-50kb/
or drop it here, or paste with Ctrl+V
JPG, PNG, WebP or HEIC, up to 50 megapixels. Nothing is uploaded. The saved file is a JPG without location or camera data.
Size as given in . Portals change these from one notice to the next, so check the notice you apply under.
Your picture never leaves this device. There is no upload, no account and no watermark. How we count What this tool keeps and sends.
Problem or idea? Email us
How to use it
- Choose a photo or scan.
- Type the width and height from the form, for example 200 and 230. Keep the largest size at 50 KB, or pick a portal.
- Choose what happens when the shape differs: crop to fill, fit with white borders, or stretch. Press Make the file.
Worked example: a phone photo cut to 200 × 230 px
A portrait phone photo is 3000 × 4000 px. A frame of 200 × 230 px is wider than that shape (0.87 against 0.75), so "crop to fill" keeps the full width and cuts the height. The crop box decides where it cuts.
| Crop from | Part of the 3000 × 4000 photo used |
|---|---|
| Top | x 0 to 3000, y 0 to 3450 |
| Centre | x 0 to 3000, y 275 to 3725 |
| Bottom | x 0 to 3000, y 550 to 4000 |
In every case the part used is 3000 × 3450 px, shrunk to 200 × 230 px. Picking Top keeps the head and drops the chest.
Worked example: a signature scan at 140 × 60 px
A signature scan of 1200 × 500 px has a wider shape than 140 × 60 (2.4 against 2.33). Here is where each choice puts it.
| Choice | Result |
|---|---|
| Crop to fill | 140 × 60 px at 0, 0; uses 1167 × 500 px of the scan |
| Fit inside | 140 × 58 px at 0, 1; uses 1200 × 500 px of the scan |
| Stretch | 140 × 60 px at 0, 0; uses 1200 × 500 px of the scan |
For a signature, "fit inside" keeps every stroke. Crop can cut the end of the line.
Worked example: what a limit means in bytes
Forms say "KB" and do not say which one they mean. This is the same limit counted both ways, with the aim the tool uses.
| Limit | If KB is 1,024 bytes | If kB is 1,000 bytes | Aim (2% under, KB) |
|---|---|---|---|
| 20 KB | 20,480 bytes | 20,000 bytes | 20,070 bytes |
| 50 KB | 51,200 bytes | 50,000 bytes | 50,176 bytes |
| 100 KB | 102,400 bytes | 100,000 bytes | 100,352 bytes |
A file of 50,800 bytes passes a 50 KB check that counts 1,024 and fails a 50 kB check that counts 1,000.
Numbers this uses
- Limit on this page: 50 KB, which is 51,200 bytes, or 50,000 bytes if the portal means kB.
- Crop to fill covers the whole frame and cuts the extra from the sides or from the top and bottom. Fit inside keeps the whole picture and adds white bars. Stretch changes the shape.
- With width and height typed, the pixels never change during the search. Only the JPEG quality does.
- The saved file is a JPG with a white background, and the safe margin is 2% unless you change it.
Pixels first, then bytes
With a width and a height typed, the pixel size is fixed. The tool works out which part of your picture fills that frame, draws it at the exact size, and only then looks for a quality that fits the limit. The pixels never change in that search, so the size you typed is the size you get.
Without a pixel size, the tool picks the biggest picture that fits. With only a width or only a height, the other side follows the shape of the picture.
When 50 KB is not enough
- At 200 × 230 px, 50 KB is about 1.1 bytes per pixel. That is enough for most photos. At 1000 × 1200 px, it is 0.04 bytes per pixel, and most photos do not.
- Cropping can cut off a head or a line of text. Look at the preview, and use "Crop from top" for portraits.
- It does not check the face size, the background colour or the date the form wants.
What happens to your file
The file is read by your browser and processed in this tab. The page sends no request with your file, its name, its size or its pixel size. After you pick a file the only requests are anonymous usage counts with words like "target" and "under", never a name or a number from your file.
Counts of events such as "download" are kept without cookies (details). The PDF code is pdf-lib, MIT licence: open source used on this site.
Nearby tools
- For 20 KB, see compress image to 20 KB. For a general shrink with a preview, compress image.
- For pixels without a size limit, use resize image. To pick the crop by hand, use crop image.
- To change the format first, try PNG to JPG or HEIC to JPG.
FAQ
What size in pixels is a 50 KB photo?
There is no single answer, because bytes depend on the picture. A face photo at 200 × 230 px usually fits well under 50 KB. The IBPS notice asks for 200 × 230 px and 20 to 50 KB, so the preset for it is in the form list.
Should I crop, fit or stretch?
Crop to fill for a face photo: the frame is full and nothing is squashed. Fit inside for a signature or a document, so nothing is cut off, and accept the white bars. Stretch only when the form says the exact shape and you do not mind a squashed picture.
My photo is 4000 × 3000. Will it work?
Yes. The tool crops it to the shape you typed first, then shrinks it. For 200 × 230 the used part is narrower than the original, and the page says it cropped. Choose "Top" in the crop box if the face is in the upper part.
Can I get exactly 50 KB?
The tool gives the sharpest file under the limit, not a file of an exact size. Adding junk to hit a number would not help you. With a smallest size set, it pads only up to that minimum.
The portal says my 50 KB file is too big. Why?
Some portals read KB as 1,000 bytes. A file of 50,500 bytes is under 50 KB in 1,024 bytes and over it in 1,000. Switch the unit to kB and make the file again. A 5% margin helps too.
Does it work on a phone?
Yes, in a current browser. You can take a photo with the camera from the file box. Large photos use a lot of memory on old phones, so a 12 megapixel photo can take a few seconds.
More from FLXCode
- Compress Image to 20 KBGet a photo or signature under 20 KB, or inside a size range, at an exact pixel size. Nothing is uploaded.
- Compress ImageCompress JPG, PNG and WebP by quality or target KB, with a side-by-side preview. Nothing is uploaded.
- Crop ImageCrop a photo with drag handles, arrow keys or exact pixels. Presets for 1:1, 4:5 and 16:9. Nothing is uploaded.
- Image ResizerResize photos by pixels, percent or preset for Instagram and email. Batch and zip. Nothing is uploaded.