Compress image to 300KB

Hit an exact file size in seconds, with a live before/after. Nothing is uploaded.

300 KB is enough for a sharp 1600–1920 px photo, the size most full-width website images are shown at. Drop your image to get the best JPG or WebP under 300 KB, without uploading it.

Free · no signup · a sample is already loaded below

Tool

Target file size

Presets

Output format

Dimensions (optional)

1 KB = 1,024 bytes, so the file passes whether a site counts 1,000 or 1,024. Your image never leaves this device.

Original image
Original
Compressed image
Compressed

How do I get a photo under 300 KB?

Drop it with the target at 300 KB. For a detailed photo, the tool returns about 2,100–2,300 px wide at quality 42–45, 1920 px at quality 60, or 1600 px at quality 77. For web pages, use the 1600 or 1920 px preset.

How to compress image to 300KB

300 KB is enough for a sharp 1600–1920 px photo, the size most full-width website images are shown at. Drop your image to get the best JPG or WebP under 300 KB, without uploading it.

  1. Drop, paste or choose your image (JPG, PNG, WebP, GIF, BMP or AVIF). A sample photo is loaded so you can try it first.
  2. The target is preset to 300 KB. Change it, or pick another preset, if your form asks for something different.
  3. Optionally choose an output format and a maximum width or height.
  4. Check the side-by-side preview and the exact byte count, then click Download.

What fits in 300 KB (measured)

PhotoFormatResultQualityFile size
Landscape, 3840×2743JPEG2167×1548 px45306,379 bytes
Landscape, 3840×2743WebP2341×1672 px42299,118 bytes
Landscape, 3840×2743, max 1920 pxJPEG1920×1372 px60305,467 bytes
Landscape, 3840×2743, max 1600 pxJPEG1600×1143 px77302,838 bytes
Portrait, 2848×4272JPEG1538×2308 px43301,272 bytes

Measured with this tool in Chrome on two test photos: a detailed 10.5-megapixel landscape (3840×2743, 3.4 MB) and a 12-megapixel portrait-orientation photo (2848×4272, 3.7 MB). Your results depend on how much detail the photo has; plain backgrounds compress far better.

How the compressor hits an exact size

The tool decodes your image in the browser, then re-encodes it with the browser's own JPEG, WebP or PNG encoder. For JPEG and WebP it runs a binary search on the quality setting — usually 6 to 10 test encodes — and keeps the highest quality whose file is at or under your target. If even a low quality (40%) is still too large, it reduces the pixel dimensions by the amount the byte count suggests, then searches quality again, so you get the largest picture that fits rather than a blocky one. PNG is lossless, so for PNG only the dimensions change. If your file is already under the target and you keep the same format, the original is returned untouched.

Everything happens on your device with the Canvas API; nothing is uploaded, and the re-encoded file does not carry the original EXIF metadata (camera, GPS).

Frequently asked questions

How big is a 300 KB photo in pixels?

With no size cap, our detailed 10.5 MP test landscape fit at 2167×1548 px (JPEG quality 45), and as WebP at 2341×1672 px. Capped at 1920 px wide it fit at quality 60, and at 1600 px wide at quality 77.

Is 300 KB good for a website hero image?

Yes. A 1600–1920 px JPEG or WebP around 200–300 KB is a common target for full-width images: sharp on laptops and quick to load. Pick the 1920 px or 1600 px preset so the bytes go to quality rather than extra pixels nobody will see.

How do I compress a scanned document photo to 300 KB?

Drop the scan, keep JPEG, and the tool fits it under 300 KB. Text stays readable best at a smaller width with higher quality, so try the 1600 px preset if letters look blocky.

Are my images uploaded to a server?

No. Compression runs entirely in your browser using the Canvas API. The image never leaves your device, which also makes it safe for ID photos and signatures.

Is it free?

Yes. Compressing one image at a time is free with no signup and no watermark. Gridloom Pro adds batch compression of many images with a single ZIP download.