Image Compressor
Add your pictures, type the largest file size allowed, such as 100 KB, and press Compress. The tool finds the best quality that fits, makes the picture smaller only if it has to, and shows the before and after sizes. You can also set the quality yourself. Your pictures never leave your device.
1 KB here means 1,000 bytes, so a file that fits also fits a limit that counts 1,024 bytes per KB. Compressed copies leave out hidden data such as the camera and location. Transparent areas turn white in JPEG, and an animated picture becomes a still one. Your pictures are processed in your browser and are not uploaded.
Related Tools
[6 suggestions]EXIF Viewer and Remover: See and Delete Photo Metadata
See the location, date, camera and other hidden data in JPEG, PNG and WebP photos, and download clean copies with no loss of quality.
Format ConversionImage Resizer
Resize an image by width, height or percent, crop it to an exact size, and save it as PNG, JPEG or WebP, all in your browser.
Format ConversionImage Converter
Convert images between PNG, JPEG and WebP, shrink them with a quality setting and a maximum size, and download them one by one or all together.
Format ConversionImage Srcset Generator: Responsive Image Sizes and HTML
Work out the height of a picture at each width, with file names, a srcset and sizes value, and a ready HTML img tag with width and height for responsive images.
Developer & WebSVG to PNG Converter
Convert SVG code or a file to a PNG, JPEG or WebP at 1x to 4x or a custom width, with a transparent or colored background.
Format ConversionImage to Base64 Converter
Turn an image into a Base64 data URI with ready-to-paste HTML, CSS and Markdown, or decode a data URI or Base64 text back into an image file.
Developer & WebAbout the Image Compressor
Forms for job applications, exams, visas and websites often cap the size of an upload. Target file size mode answers that directly. The picture is saved as JPEG or WebP at high quality; if the file is already under the limit, that is the result. Otherwise the tool searches between quality 40 and 95 for the highest setting that fits. When even quality 40 is too large, the width and height are reduced in proportion and the search runs again, because a smaller sharp picture usually looks better than a large one full of blocks. If you untick Make the picture smaller if needed, the dimensions stay and quality can drop as low as 10, with a warning when the target still cannot be reached. Quality mode saves every picture at the setting you choose. JPEG and WebP are lossy formats: they discard detail that is hard to see, and saving the result again loses a little more, so always start from the original. PNG is lossless and photos stored as PNG are usually far larger than needed, which is why converting them helps so much; screenshots with flat colours and sharp text may look better kept as PNG, or saved as WebP at high quality. Transparent areas turn white in JPEG. The optional longest side limit is useful when a site asks for a maximum width. Sizes are counted with 1 KB as 1,000 bytes, so a file that passes here also passes a limit counted with 1,024. The work is done by your browser, so results can differ slightly between browsers, and some cannot save WebP. Nothing is uploaded.
How do I compress an image to 100 KB?▾
Add the picture, keep Target file size selected, type 100 and press Compress. Download the result. The file will be 100,000 bytes or less whenever the target can be reached.
Why did the picture get smaller in pixels?▾
At its original dimensions it could not fit the limit with acceptable quality. Untick the resize option to keep the dimensions, at the cost of more visible loss.
Should I choose JPEG or WebP?▾
Use JPEG when the file must open everywhere or the form asks for it. WebP is usually smaller at similar quality and keeps transparency, and current browsers display it.
Why is the compressed file larger than the original?▾
The original was already well compressed, or it is a simple graphic that PNG stores efficiently. Keep the original in that case.
Is location data removed?▾
The compressed copy is drawn afresh from the pixels, so camera details and location from the original are not carried over.
Are my pictures uploaded?▾
No. Compression happens in your browser on your own device, and the files are not sent anywhere.