With a target entered, the tool searches encoding quality automatically and reduces dimensions if needed. It reports failure explicitly if the result is still above the cap. Clear the target field to use the quality slider alone. Very large inputs may exceed browser limits before processing.
Browser-local image lab
Compress Image to 500 KB
Try to reduce an image to 500 KB or less locally. Review exact bytes, output dimensions, format changes and whether the target was met.
- No upload
- Pixels · DPI · EXIF
- Free, in your browser
1 KB = 1,000 bytes. Leave blank to use quality only. Target mode searches quality first, then reduces pixels. PNG/GIF/BMP/ICO/SVG switch to WebP to preserve transparency; choose JPEG if your form requires it.
Drop images here
or click to browse files
Browse filesJPG · PNG · WebP · AVIF · GIF · BMP · ICO · SVG
Thumbnails show the originals. Download an output to inspect its quality.
DPI metadata is not image quality. Changing a DPI tag does not add pixels or sharpness.
How to use this tool
Use Cases
- Prepare an image for a form that states a 500 KB maximum.
- Reduce attachments while checking that dimensions remain usable.
Key Highlights
- A real initial target of 500 KB; 1 KB equals 1,000 bytes.
- Keeps a successful quality candidate before reducing pixels.
- PNG and other non-lossy choices switch to WebP in target mode to preserve transparency.
Common Mistakes
- Submitting a file without checking the receiving site’s pixel dimensions and accepted formats.
How the byte target works
Format and transparency
Target mode writes JPEG, WebP or AVIF when the browser can encode the selected format. PNG/GIF/BMP/ICO/SVG choices become WebP. Choose JPEG for a JPG-only form; transparency then becomes white. Unsupported encoding produces an error, and animated inputs become a still image.
Local processing
Images are read and processed in this browser, without being uploaded to our servers. Supported inputs depend on what your browser can decode. Very large images may exceed browser memory or processing limits.
Compare Image Formats
Compare JPEG, PNG, WebP and AVIF by content type, transparency, compatibility and editing needs.
WEBP vs PNG
Use the original and a downloaded sample to judge the tradeoff. There is no fixed compression saving that applies to every image.
WEBP vs JPEG
Use the original and a downloaded sample to judge the tradeoff. There is no fixed compression saving that applies to every image.
WEBP vs AVIF
Use the original and a downloaded sample to judge the tradeoff. There is no fixed compression saving that applies to every image.
Image Guides
Practical guides for local conversion, image delivery, accessibility and choosing formats for a website.
How to Convert PNG to WebP
Compare a WebP export with the PNG original before choosing the delivery format.
How to Optimize Images for SEO
Image optimization supports accessibility and loading performance. Ranking gains cannot be promised.
Choosing Image Formats for WordPress
A WordPress library can use several formats. Keep editing originals and choose delivery files for each use.