Compress JPG to 50 KB

Compress a JPG for an exam or PAN card form while keeping its width and height whenever possible, so the photo still meets pixel rules, with a free JPG compressor that runs in your browser and can process a batch at once.

Step 2 of 3: Edit your image

Step 1 of 3: Drop images here, or paste with Ctrl+V

JPG, PNG, WebP, GIF or HEIC.

Settings size, KB limit, format, DPI
Target file size
Dimensions
Advanced unit, DPI

    Settings

    Step 3 of 3: Your image is ready

    Resized preview
    BeforeAfter
    File size
    Dimensions
    Format

    Crop image

    Drag the box to move it and the corners to resize. With the box focused, arrow keys move it and Shift+arrow keys resize it.

    Compare before and after

    Drag the divider, or focus it and use the arrow keys. Zoom 1:1 shows the resized image pixel for pixel.

    Before
    After

    How to use it

    1. Drop one or more JPG photos.

    2. Each is compressed to under 50 KB, keeping its pixel size where possible.

    3. Download them, or all together as a ZIP.

    Example with a real photo

    We ran this tool on the photo below. These are the real results.

    Original3024 × 4535 px · 5.28 MB · JPG
    Result1036 × 1554 px · 46.7 KB · JPGThis is the actual file the tool made.

    Photo: Unsplash

    How our tool helps you with the size

    Each point is something this page's presets do for you, so the file comes out at the size you need.

    1. Gets the file under 50 KB

      Choose Under 50 KB, keep dimensions. It lowers the quality step by step until the file fits under 50 KB.

    2. Keeps the width and height

      Choose Under 50 KB, keep dimensions. It lowers the quality instead of the pixel size.

    3. Saves in the format the site wants

      Add PNG or iPhone HEIC files as they are. With Under 50 KB, keep dimensions the file is saved as JPG.

    4. Passes either way of counting KB

      Some forms count 1 KB as 1,000 bytes and others as 1,024. The tool keeps the file inside the limit by either count.

    5. Keeps detail at 50 KB

      Open Crop and cut away what you do not need, such as empty background. A smaller area keeps more detail in the same file size.

    Maximum size
    50 KB
    Dimensions
    Kept, unless quality would drop too far
    Format
    JPG

    Questions

    Will compressing change how the photo looks?

    A little. Fine textures and gradients lose some detail. At moderate compression it is hard to see; at very strong compression you will notice blocky areas.

    Can I compress PNG files here?

    Yes, but they are saved as JPG, because PNG files cannot be made smaller by lowering quality.

    Is my photo uploaded to a server?

    No. The resizing runs inside your browser with JavaScript, so the image stays on your device. Nothing is uploaded unless you choose to share it with "Share by link" in the Download step. Once the page has loaded, resizing keeps working even if you go offline. If your device can't handle an image, the tool can shrink it on our server instead, but only if you agree, and it is deleted right away.