Skip to content
Node-devs logo

Blog

How to Make an Image Under 100 KB Without It Looking Bad: JPG, PNG and WebP Explained

One unoptimised phone photo can be 4 MB, bigger than the rest of a page combined. Here is how to resize, pick the right format, compress to 75 to 85 percent or to a target size like 100 KB, and serve images the smart way.

ARAlex Rivera Updated 3 min read
Share
Compress Images Without Quality Loss - Tools & How-tos guide by Node-devs
Table of contents
  1. Quick rules
  2. Step 1: know the formats
  3. Step 2: resize to what you need
  4. Step 3: compress with the right settings
  5. How small should it be?
  6. Step 4: remove what isn't needed
  7. Step 5: serve images smartly
  8. Mistakes
  9. Quick workflow

Images are usually the heaviest part of a web page. A single unoptimised photo from a phone can be 4 MB, bigger than the rest of the page combined. Compressing properly can cut page weight by more than half, improve Core Web Vitals and make your site feel instant, with no visible loss of quality.

Quick rules

  • Resize first, then compress. Pixel dimensions matter more than quality settings.
  • WebP or JPG for photos, PNG for sharp graphics, SVG for logos.
  • A quality setting of 70 to 85 percent is usually invisible.
  • Do it in your browser with our free image compressor. Nothing is uploaded.

Step 1: know the formats

FormatBest forCompressionTransparency
JPGPhotosLossy, smallNo
PNGScreenshots, graphics, text, transparent imagesLossless, largerYes
WebPPhotos and graphics on the webLossy or lossless, usually smaller than JPG or PNGYes
AVIFPhotos where the smallest size mattersVery small, slower to encodeYes
SVGLogos, icons, simple illustrationsVector, tinyYes

Not sure? Convert between formats with our image converter.

Step 2: resize to what you need

A phone photo might be 4000 × 3000 pixels. If it shows 800 pixels wide on your page, the browser downloads 10 times more data than needed.

UseSuggested width
Full-width hero banner1600 to 2000 px
Blog post image1200 px
Product photo800 to 1200 px
Thumbnail or card400 to 600 px
Social share image1200 × 630 px

The image resizer sets exact dimensions and keeps the aspect ratio.

Step 3: compress with the right settings

  • Photos: WebP or JPG at 75 to 85 percent quality.
  • Graphics and screenshots: PNG or WebP lossless. Reduce colours if the image is simple.
  • Target size: if a form or site demands "under 100 KB", use the compressor's target-size mode. It lowers quality (and size if needed) until the file fits.
  • Compare at 100 percent zoom on important details like faces and text.
  • Keep the original in a separate folder.

How small should it be?

ImageGood target
Hero image (main banner)Under 200 KB
Blog or product imagesUnder 100 to 150 KB
ThumbnailsUnder 30 KB
Whole page weight on mobileIdeally under 1.5 MB

Practical targets, not official rules.

Step 4: remove what isn't needed

  • Metadata: photos carry camera and location data. Strip it for privacy and size.
  • Transparency you don't need: save flat photos as JPG, not PNG.
  • Backgrounds: cut clutter. Our background remover makes product photos cleaner and often smaller.

Step 5: serve images smartly

  • Responsive images (srcset and sizes) so phones get smaller files.
  • Lazy-load below the fold, but never your main hero image.
  • Width and height attributes to prevent layout shift.
  • A CDN and long cache headers.
  • Descriptive alt text for accessibility and SEO.

Frameworks like Next.js do much of this automatically, see why Next.js suits business websites. For the full picture read how to improve website speed.

Mistakes

  • Uploading camera originals and letting CSS shrink them.
  • Saving photos as PNG.
  • Recompressing an already compressed JPG. Quality drops each time, so always start from the original.
  • Over-compressing: banding in gradients and blocky edges around text.
  • Forgetting alt text.

Quick workflow

  1. Resize to the display size.
  2. WebP or JPG for photos, PNG or SVG for graphics.
  3. Compress to 75 to 85 percent, or a target size.
  4. Check at 100 percent zoom.
  5. Upload with a descriptive file name and alt text.

Need your site audited for speed? See web development or contact us.

Frequently asked questions

How can I compress an image without losing quality?+

Resize it to the size you will actually display, choose the right format (WebP or JPG for photos, PNG or SVG for graphics) and use a quality setting around 70 to 85 percent. Most people cannot see the difference, but the file becomes much smaller.

What is the difference between lossy and lossless compression?+

Lossless compression keeps every pixel but saves less space. Lossy compression discards detail the eye barely notices and saves much more. JPG and WebP are usually lossy, PNG is lossless.

How can I make an image under 100 KB?+

Resize it to the display size first (for example 1200 px wide), then lower the quality or use a target-size compressor. Photos often fit under 100 KB as WebP at around 1200 px.

JPG, PNG or WebP?+

Use WebP or JPG for photos, PNG for graphics with sharp edges or transparency, and SVG for logos and icons. WebP is supported by all modern browsers and is usually smaller than JPG at the same quality.

Do images affect SEO?+

Yes. Large images slow pages, which hurts user experience and Core Web Vitals. Properly sized, compressed images with descriptive alt text help pages load fast and rank.

AR

Written by

Alex Rivera

Node-devs Team

Related Articles

Get practical tech insights, monthly

One email a month with our best guides on software, AI and growth. No spam - unsubscribe any time.

Contact Our Team

We pride ourselves staying at the front of innovation, constantly pushing boundaries - shaping the Digital World Together and redefining what's possible.

To More Inquiry

+8801867748073

To Send Mail

info@node-devs.com

Your Success Starts Here!

Protected by reCAPTCHA & honeypot spam filtering.

Make an Image Under 100 KB Without Losing Quality