Image Resizer
Resize images in your browser. Set width and height, lock aspect ratio, then download.
Compress JPG, PNG and WebP images in your browser without uploading them.
An image compressor reduces JPG, PNG and WebP file size on your device, without uploading the photo.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
The Image Compressor re-encodes a JPG, PNG, or WebP in your browser. Set a quality from 10 to 100, pick an output format, and compare the file size the page reports after you press Compress. Use it before you attach a photo to an email or a page. PNG output is lossless in this tool, so a flat graphic may barely shrink. Compressing a JPEG again can add artifacts.
Open a camera JPEG and leave quality at 80, which is the starting value. Choose JPG and press Compress. The browser draws the picture and encodes JPEG at 0.80. The page then shows the original file size and the new file size for that image. Those two numbers come from your file. This explanation does not publish a sample size, because a different photo produces a different result.
A screenshot is often a PNG of flat color and sharp text. Re-encoding it as PNG on this page is lossless, and the quality slider does not change that encoding, so the file may not get smaller. Converting that same screenshot to JPEG at quality 80 throws away detail. Text edges and flat areas can pick up blocks. If you need the letters to stay crisp, keep PNG, or resize the image first on the Image Resizer.
GIF, HEIC, and SVG are rejected. A file over 25 MB is rejected so the tab stays responsive. A side longer than 8,192 pixels is rejected. Quality below 10 or above 100 is rejected. Convert those files to JPG, PNG, or WebP in another tool first, or export a smaller image.
Compression runs in the browser with the canvas. The image is drawn, then encoded to the format you chose. JPEG and WebP receive a quality value from 0.10 to 1.00, which is the slider divided by 100. PNG is encoded without that quality argument, so the slider does not make a lossy PNG. JPEG and WebP output are filled on a white background first, which matters for a PNG that had transparency.
Lower quality usually makes a smaller JPEG or WebP, and it also removes more detail. Quality 80 is a reasonable start for a photo. Step down toward 70 or 60 only after you look at the preview. Quality 10 is the lowest the page allows, and it is visibly harsh on most photos.
PNG on this page does not use the slider. A logo or a UI screenshot can stay large after a PNG re-encode. That is expected. This is not a palette reducer such as a specialized PNG optimizer. If size matters more than sharp text, switch the output to JPEG or WebP and accept the loss.
JPEG is lossy. Repeating JPEG compression on an already compressed photo adds artifacts, even at a high quality. WebP at the same slider setting is also lossy here. Neither format keeps a transparent background on this page, because the canvas is filled white before those encodings.
PNG output is lossless relative to the pixels drawn on the canvas. It still will not recover detail a JPEG already lost. Starting from a JPEG and saving PNG makes a larger file of the same soft picture. It does not restore the original camera file.
A 4000 pixel photo stays 4000 pixels after compression. The byte count falls because the encoding is harsher, not because the pixel dimensions changed. If the picture will be shown at 1200 pixels, resize it first, then compress. The Image Resizer on this site changes width and height. This page does not.
After Compress, use the sizes the page prints for your file. A before-and-after from someone else’s photo is not a prediction of yours.
The file is read and re-encoded in this tab. It is not sent to Tools Star Hub. Reset and leaving the page drop the preview. Analytics, if you accept it, does not receive the image.
GIF, HEIC, and SVG files are rejected. An image must be 25 MB or smaller, and neither side can exceed 8,192 pixels. Quality must be from 10 to 100. PNG is re-encoded without a lossy quality control, so a flat graphic may barely shrink. JPEG and WebP are lossy, and compressing a JPEG again can add artifacts. The page shows the resulting file size after you compress. It does not promise a target size in advance.
See the disclaimer for what these tools do not cover.
Resize images in your browser. Set width and height, lock aspect ratio, then download.
Drag a box over a JPG, PNG, or WebP and download the pixels inside that box. Frames are free, 1:1, 4:3, or 16:9. Rotation and filters are not on this page.
Convert JPG to PNG or PNG to JPG in your browser, including a background color for transparency.
Convert PDF pages to JPG images in your browser. Choose the first page, selected pages, or all pages.
Pick a color with the browser color input and copy HEX, RGB or HSL values.
Turn up to 20 JPG or PNG images into one PDF, in the order you set. WebP is not accepted. Sides over 2,000 pixels are downsampled, and Fill can crop to cover.
Guide
Resize a photo first, pick JPEG, WebP, or PNG, then compress in small steps while you compare a preview. The file stays in your browser.
Read guideGuide
Read English text from one JPG, PNG, or WebP in the browser. The first run downloads about 6.6 MB, and a clear sign can still come back wrong.
Read guideDrag and drop an image here, or choose a file.
JPG, PNG and WebP. 25 MB and 8192 pixels per side maximum.
80
Lower quality usually means a smaller JPEG or WebP file.
The JPG, PNG, or WebP is re-encoded in this tab at the quality you set. The file is not sent to Tools Star Hub.