Free Forever 100+ tools available — no signup, no limits Advanced PDF Studio is live →
All Tools
Home Blog About Us Contact
Calculators
Age Calculator BMI Calculator Profit Margin Calculator Amazon FBA Fee Calculator FB Marketplace Shipping Calculator eBay Final Value Fee Calculator Pregnancy Calculator Macro Split Calculator Daily Water Intake Calculator Houseplant Watering Schedule Calculator Advanced CAC Calculator 3D Print Filament Calculator Script to Video Calculator GLP-1 Weight Loss Calculator Mortgage Recast Calculator Resin Art Mixing Ratio Calculator Cricut Vinyl Pricing Calculator Epoxy Resin Volume Calculator Gumroad vs Payhip Fee Calculator Dog Food Portion Calculator Candle Wax Fragrance Oil Calculator Shopify Shipping Margin Estimator Freelance Hourly Rate Calculator Freelance Day Rate to Hourly Converter TDEE Calculator Soap Making Lye Calculator TikTok Shop Fee Profit Calculator Vinted Depop Payout Calculator Yarn Crochet Stitch Calculator Discord Server Boost Calculator Digital Nomad Cost of Living Comparator Poshmark Payout Calculator Sourdough Starter Feeding Calculator Whatnot Seller Fee Calculator UGC Creator Rate Calculator PTO Calculator 1099 Tax Estimator Airbnb Host Net Income Calculator Debt Payoff Calculator Driver Pay Check Calculator Rent vs Buy Calculator FIRE Number Calculator Baby First Year Cost Calculator Gym Membership vs Home Gym Break Even Calculator Couples Wedding Budget Planner Shift Differential Calculator Multi-Platform Reselling Profit Comparator Personal Emergency Fund Target Calculator IVF Cost Insurance Mandate Checker Medication Cost Insurance Calculator Moving Cost Salary Adjustment Calculator Workout Commute Trade-Off Calculator Time Zone Overlap Meeting Finder Air Fryer Time Temp Converter Coffee to Water Ratio Calculator Cost Per Diaper Calculator DD Carry Weight Calculator EV Home Charging Cost Calculator Genshin Honkai Pity Calculator Handbag Liter Capacity Converter Handmade Bag Pricing Calculator KDP Royalty Calculator Luxury Bag Resale Calculator OSRS GE Tax Calculator RPE to 1RM Calculator Robux to USD DevEx Calculator Upwork Connects to USD Calculator Sublimation Bleach Ratio Calculator
Social Media
YouTube Shorts Safe Zone Checker YouTube Money Calculator TikTok Caption Splitter YouTube Timestamp Generator Instagram Bio Space Generator TikTok Engagement Rate Calculator Twitch Sub Revenue Calculator
More Tools
Invoice Generator Receipt Generator QR Code Generator Image Compressor Image Converter Advanced PDF Studio Password Generator AI Prompt Token Counter AI Subscription Cost Calculator
Legal
Privacy Policy Terms & Conditions Disclaimer Cookie Policy DMCA Policy Browse All 100+ Tools
Featured on tools.cafe Toolriz - Free online calculators and converters for everyday use. | Product Hunt

Image Compressor

Free Image Compressor Online – Compress JPG, PNG & WebP Without Losing Quality

Image Compressor

Shrink JPG, PNG & WebP files, resize, convert & hit a target size — 100% in your browser

Upload Images
Your Results
Total Size Reduction
0%
Compress your images to see savings
Original Size
0 KB
Total of all files
Compressed Size
0 KB
After processing
Quick Answer

This tool shrinks JPG, PNG, and WebP files by re-encoding them at a lower quality level and, if you choose, at smaller pixel dimensions — right inside your browser tab. Nothing is uploaded anywhere, so there's no queue, no watermark, and no file waiting on a server somewhere.

What Actually Happens When You Hit "Compress"

Most compressor pages never explain this part, so here it is in plain terms. When you drop a photo into this tool, your browser draws it onto an invisible canvas — a feature built into every modern browser called the Canvas API. From that canvas, the browser re-encodes the pixels into a new file using whatever quality level you picked. Lower the quality number, and the encoder throws away more of the fine detail a viewer is unlikely to notice; raise it, and it keeps more of the original information at the cost of a bigger file.

Because this whole process runs on your device's own processor, there's no upload step, no server queue, and no size cap tied to a free-tier limit. It also means the tool keeps working even on a slow connection, since the only network activity is loading the page itself. The one exception is the optional ZIP download, which briefly pulls in a small packaging library to bundle multiple files together — everything else, including the compression itself, never leaves your machine.

How to Use This Tool (Quick Version)

1
Add your images
Drag files into the box above or tap to browse. JPG, PNG, WebP, GIF, and BMP all work, and you can add several at once for a batch job.
2
Pick an output format
Keep the original type, or convert everything to JPEG, PNG, or WebP in one pass — handy when a client or platform insists on a specific format.
3
Set your compression level
Use a preset, drag the quality slider yourself, or switch on "Target an exact file size" if a platform enforces a strict upload limit.
4
Resize if the photo is bigger than it needs to be
Fit within a maximum dimension, scale by a percentage, or type exact pixel measurements with the aspect ratio locked.
5
Compress and save
Download files one at a time or grab the whole batch as a ZIP. If you want a walkthrough of every setting with screenshots, the full guide on how to use an image compressor covers each option in more depth.

Understanding the Compression Levels

The five buttons above the quality slider aren't arbitrary — each maps to a quality percentage tuned for a different priority:

  • Best Quality (92%) — barely compresses the file at all. Use this for images you'll print, zoom into, or edit further later.
  • Recommended (80%) — the setting most people should leave alone. It's the point where file size drops sharply while the image still looks untouched on a normal screen.
  • Small File (60%) — a noticeably smaller file with a very slight softness that's hard to spot unless you're comparing side by side.
  • Smallest (35%) — for situations where size matters more than looks, like a thumbnail or a placeholder image.
  • Custom — drag the slider anywhere from 1–100% for full control, which the tool switches to automatically the moment you touch the slider.

If you're compressing images for a form, application, or upload portal that lists an exact size limit — say, "photo must be under 100 KB" — skip the presets entirely and switch on Target an exact file size. Rather than guessing at a quality number, the tool tests multiple quality levels behind the scenes and lands on the highest one that still fits under your limit. This is one of the more genuinely useful long-tail features here: most free compressors only offer a quality slider and leave you to guess-and-check manually.

Choosing a Resize Mode

Resizing and compressing are two different jobs, and combining them properly is where the biggest file-size savings usually come from. This tool offers three resize modes, each suited to a different scenario:

  • Fit Within — set a maximum dimension (say, 1920px) and any image larger than that gets scaled down proportionally, while smaller images are left alone. This is the fastest option for batch jobs where your photos come from different cameras at different sizes.
  • Scale % — shrink every image by the same percentage, useful when you already know your photos are roughly uniform in size and just need them all a bit smaller.
  • Exact Size — type a precise width and height, with the aspect-ratio lock keeping the proportions correct as you adjust one field. This is the one to reach for when a platform demands a specific pixel size, like a 500×500 profile photo or a 1200×630 social share image.

A rule that holds up in practice: resize to the dimensions your image will actually display at before you touch the quality slider. A photo that's 4000 pixels wide but only ever shown at 800 pixels on a page is carrying data nobody will see — shrinking the dimensions first, then compressing, produces a smaller and sharper result than compressing alone ever will.

JPEG vs. PNG vs. WebP: Picking the Right Output

The format you choose affects file size more than almost any other setting. Here's the short version of how the three behave:

FormatBest ForCompressionTransparency
JPEG Photos, complex images with gradients Lossy — small files No
PNG Logos, screenshots, graphics with text Lossless — larger files Yes
WebP Modern websites, general-purpose use Lossy or lossless — smallest files Yes

A quick way to remember it: WebP for a website when you can, since it typically lands 25–35% smaller than a JPEG at matching quality. JPEG when you need a format every device and platform will open without question. PNG only when transparency or perfectly sharp text and edges actually matter — using it for an ordinary photo just means carrying extra weight for no visual benefit.

Matching Settings to What You're Actually Doing

Rather than a generic settings table, here's how this tends to play out for the situations people actually land on this page for:

Selling on a marketplace or storefront. Buyers zoom in, so keep quality around 80–85% and resize to roughly 1200–1600px on the longest side — sharp enough to inspect, light enough to load fast on mobile data.

Attaching photos to an email or online form. Many inboxes and portals cap attachments at 5–25 MB total, and some application forms specify an exact per-photo limit. This is exactly what the target-size feature is for — set the number the form asks for and let the tool find a quality level that fits.

Publishing on a blog or content site. Convert to WebP, fit within 1920px for full-width hero images, and keep quality at 75–80%. Search engines increasingly reward pages that load quickly, and images are usually the heaviest thing on the page.

Uploading a headshot, ID photo, or avatar. Use Exact Size to match the pixel dimensions the platform specifies exactly, rather than letting it get auto-cropped or stretched after upload.

Archiving or backing up a personal photo library. Stick closer to 90%+ quality. The point of compression here isn't maximum savings — it's trimming the excess without giving up anything you'd notice years later.

Common Mistakes That Leave a File Bigger Than Expected

If you've compressed a photo and the size barely moved, the setting probably wasn't the problem — something upstream usually was. A few patterns show up constantly:

  • Compressing a PNG photograph instead of converting it first. PNG is lossless, so it has very little left to trim once it's already a photo. Switch the output format to JPEG or WebP before compressing anything that isn't a logo or screenshot.
  • Skipping the resize step. A full-resolution camera photo displayed small on a page is storing far more pixel data than anyone will see — resize first, then compress.
  • Leaving the quality slider near 90%+ by habit. That range barely compresses anything; most of the real savings sit between 70% and 85%.
  • Re-compressing a file that's already been compressed once. There's a practical floor — running an already-lossy file through compression again rarely shrinks it further.

For a deeper, reason-by-reason breakdown of exactly why a file refuses to shrink — including hidden metadata, color profiles, and chroma subsampling settings most tools never mention — see why your image might still be large after compression.

Frequently Asked Questions

Yes — it's free with no sign-up, no watermark, and no daily limit. It's also private by design: everything runs inside your browser using the Canvas API, so your images are never uploaded to a server or stored anywhere outside your device.
Most photos can drop to 70–80% quality with no visible difference, often shrinking the file by 50–80%. Results vary with the image itself — a busy, detailed photo compresses less cleanly than a simple one with large flat areas.
Yes. Select or drag in as many images as you need, apply one set of settings, and process the entire batch together. You can download files individually afterward, or grab everything at once as a single ZIP.
The quality slider sets one fixed compression level for every image, which can produce different final sizes depending on each photo's content. Target file size instead works backward — you set a size limit in kilobytes, and the tool tests different quality levels until it finds the highest one that still fits under that limit.
Phones often save an orientation instruction in the file's metadata instead of physically rotating the pixels. This tool reads that instruction and applies the correct rotation before compressing, so the output displays upright everywhere, instead of appearing sideways once the metadata is stripped by a less careful tool.
Yes. Re-encoding through the canvas naturally drops EXIF metadata — including GPS coordinates, camera model, and timestamps — aside from the orientation tag, which is read once to fix rotation and then discarded. This is a welcome side effect if you're sharing photos publicly.
Check the format first — a photo saved as PNG will stay large no matter the quality setting, since PNG can't discard pixel data the way JPEG or WebP can. Next, check whether resizing is switched on; a large photo left at full resolution keeps far more data than a typical page displays. The full breakdown is in this guide to why images stay large after compression.

About This Tool

Toolriz Editorial Team
Web performance & image optimization
Last reviewed: August 2026

This tool was built for online sellers, bloggers, job applicants, students, and anyone who needs a smaller image file without installing software. It relies on standard browser APIs — Canvas, Blob, and File — to resize and re-encode images entirely on your device, the same underlying approach used by professional image-optimization pipelines, just without the upload step.

Sources & References
Editorial Note

Compression results vary by image content, browser, and device. This tool is built for everyday use — for professional print production or archival masters, specialized desktop software may still be the better choice.

Toolriz – Related Tools Section
Toolriz Footer