All toolsMenu: every tool
Daytoolz

Image Compressor

Make a photograph smaller so it fits an upload limit, choosing the width and height, whether to keep its shape, and a quality or a target file size.

Image Compressor

Next you can set the unit, width, height, density, dpi, ratio, by, quality, size, in and format, then press Compress images.

    Image Compressor

    0 = keep the original
    0 = keep the original

    Your result appears here

    Press Compress images when you are ready. Everything happens on this device.

    Your file is opened inside this page. It is never uploaded.

    In short: Image Compressor

    Image Compressor shrinks pictures in this page, which is exactly what the forms demanding a photograph under a fixed size are for. Daytoolz re-draws the picture at the width and height you choose, then re-encodes it at your quality or at the best quality under your file size limit, on your own device.

    What is Image Compressor?

    Compressing an image means re-encoding it at a lower quality, and often at a smaller width, so the file takes less space.

    How is Image Compressor calculated?

    saved=sizebefore-sizeaftersizebefore×100

    The picture is drawn to a canvas at the width and height asked for, converted to pixels first when they are given in dp, points, a percentage or a print size, and written out again at the chosen quality. With a target file size, the highest quality that fits is found by trying halfway points. The saving is the drop in file size as a share of the original. Width usually saves more than quality does, because halving the width quarters the number of pixels.

    • size_beforethe size of the picture you chose
    • size_afterthe size of the picture written back

    How to use this image compressor

    1. Choose the pictures, or drag them onto the box.
    2. Pick the unit, then enter the width and height you need. Leave one at zero to let it follow the other, or both to keep the original size.
    3. Choose whether to keep the shape, which fits the picture inside that size, or stretch it to exactly that size.
    4. Compress by quality, where around three quarters is hard to tell apart from the original, or by the largest file size the form accepts, in KB or MB.
    5. Save the result, re-encoded here on your device.

    Questions people ask

    What quality should I use?

    Around three quarters is usually indistinguishable from the original on a screen, and roughly halves the size of a photograph. Below about half, edges and skin tones start to look blotchy. Try one, look at the result, and adjust.

    How do I get a photo under a size limit such as a hundred KB?

    Choose Target file size, type the limit and pick KB or MB. The tool tries qualities until it finds the highest one that fits, and only if even the lowest quality is too big does it make the picture smaller in pixels. A kilobyte is counted as a thousand bytes, so the file passes whichever way the upload form counts.

    What are dp, points and DPI?

    Android measures screens in dp and Apple in points; one of them is as many pixels as the screen density, so a three times density turns a hundred dp into three hundred pixels. For print sizes in centimetres, millimetres or inches, DPI is how many pixels go into each inch, and a JPEG saved here carries that DPI so it prints at the size you asked for.

    What does keeping the aspect ratio do?

    Kept, the picture is scaled to fit inside the width and height you gave without being squashed, so one side may come out shorter. Not kept, it is stretched to exactly that width and height, which is what a form asking for an exact pixel size wants.

    Why did my PNG get bigger?

    PNG stores pixels exactly and ignores the quality setting, so saving a photograph as PNG can easily make it larger than the JPEG it came from. Choose JPEG for photographs and keep PNG for screenshots, logos and anything with sharp edges or transparency.

    Does reducing the width lose anything important?

    Only if the picture will be printed or zoomed into. For a form, a website or a message, a width well below what a modern camera produces is plenty. Reducing width is the most effective single change you can make to the file size.

    Are my photographs uploaded?

    No. They are decoded, drawn and re-encoded inside this page, and the result is handed back as a download from your own device. You can watch the network panel while it runs: nothing carries image data.

    Accuracy and sources

    Checked by the Daytoolz team on 16 October 2026. How we check our tools.

    All pdf & image tools