Photo & Image/Image Resize & Compress

Image Resize & Compress

Resize, compress to target size, and convert images — 100% in your browser

100% LOCAL3 formatsQuality ctrlKeep ratio25-70% smaller

Upload & Settings

Click to upload image
or drag & drop

Result

Optimized image will appear here

Data Source & Legal Disclaimer
Effective: Browser-native APIs — no expirationLast updated: 3 months agoUpdate: Manual review
Sources: MDN — Canvas API · MDN — File API

Processing uses browser-native Canvas and File APIs, so output can vary slightly between browsers. All processing runs locally in your browser.

See all data sources & update policy →

How compression trades size for quality — illustrated

Two levers control file size: pixel count (width × height) and quality (how aggressively detail is discarded). Resizing cuts pixels; quality compression cuts redundant detail. Done well, most images can drop to one-fifth their original size with no visible change.

Quality % vs file size — the payoff curve
File sizeQuality →high reprosweet spotartifacts

At 90–100% a photo is visually lossless but still large. Below ~50% banding and blocky artifacts appear. 'Compress to target' slides along this curve automatically until the output fits your size budget.

A 4,000 × 2,667 px photo, tamed

Camera JPEGs are enormous. The same file at different settings shows the three-way trade-off.

  1. Straight from camera:4000×2667 · ~4.8 MB
  2. Sharp but sized for web:1600×1067 · ~280 KB — indistinguishable on screen
  3. Target-size 100 KB:Quality drops to ~62%, fine for thumbnails
  4. Over-compressed:~40 KB, but visible banding and JPEG blocks
↩ Back to editor

To resize an image: upload your file, enter the target width/height or percentage, and download — the tool re-encodes locally with quality control, no data leaves your device.

FreeToolHub Image Resizer is a free browser-based tool that resizes images to any dimensions while maintaining quality, no signup, no upload.

About this tool

What is this tool?

Resize images to any pixel size or percentage. Keep aspect ratio or set custom dimensions. Batch resize. 100% in-browser, free, no upload.

3 formatsQuality ctrlKeep ratio25-70% smaller

What Is the Image Resize & Compress Tool?

The Image Resize & Compress tool changes image dimensions and file size in a single pass, entirely inside your browser. It accepts any image format your browser can decode, up to 10 MB and 8192 by 8192 pixels per file. Two engines are built in: Manual Quality mode, where you set exact width and height in pixels, lock the aspect ratio so the missing dimension derives automatically, and drag a quality slider from 10 to 100 percent; and Target Size mode, where you declare a file-size budget in kilobytes and the tool binary-searches for the highest quality that fits underneath it. Output formats are JPEG, PNG, or WebP, and a before-and-after slider lets you inspect results before downloading.

Who Should Use This Tool?

Bloggers and content marketers who must hit an exact featured-image size use Manual mode daily. Web performance teams chasing Core Web Vitals targets use Target Size mode to squeeze hero images under strict budgets, since the results panel reports the auto-selected quality and how many search iterations it took. Email marketers working around attachment limits enter a kilobyte ceiling and receive a file that fits. Marketplace sellers matching exact dimension requirements resize product photos without uploading them to a third-party server. Photographers sharing proofs appreciate the privacy angle too: no image ever leaves the device, processing is instant, and a sample image is built in for testing the pipeline first.

How Does It Work?

(1) Load an image by dropping a file, or click Use Sample to test the pipeline with a generated image; the original dimensions and file size appear immediately. (2) Choose a mode: Manual Quality gives direct control of width, height, aspect ratio, quality, and format, while Target Size takes a KB ceiling from 5 to 10240 and requires JPEG or WebP, since PNG has no quality setting. (3) Run the conversion — resampling uses high-quality canvas smoothing, and Target mode binary-searches through up to twelve iterations, converging within one percent. (4) Compare original and result on the before-and-after slider, check the reported savings percentage, and download the optimized file.

Will Resizing Lose Quality?

Downscaling discards pixels, so some loss is unavoidable — but this tool keeps it minimal and measurable. Resampling runs with high-quality image smoothing enabled, which avoids the jagged edges that fast nearest-neighbor resizing produces. The format choice is the real quality lever: JPEG and WebP apply lossy compression governed by the quality slider, while PNG stays lossless and preserves transparency at the cost of larger files. Target Size mode never guesses silently — it reports the exact quality it settled on and the iteration count, so you know precisely what trade-off was made. Inspect the output on the before-and-after slider and download only when the result passes your eye.

Frequently Asked Questions

Will resizing reduce the quality of my image?

It depends on the output format and resize method. For downscaling, the browser's high-quality Lanczos resampling produces excellent results. For upscaling, quality degrades since pixels are interpolated. JPG and PNG outputs are lossless at 100% quality. Use WebP output for 25-35% smaller file sizes at the same visual quality.

Can I batch resize multiple images at once?

Yes. Upload multiple images, set the target dimensions or percentage, and the tool resizes each one independently. You can maintain aspect ratio or force custom dimensions. All processing happens in your browser—no upload to servers, making it safe for confidential images and dramatically faster than cloud tools.

Related tools

Joke of the Day
Sep 6

What do you call a crab that plays baseball?

100% Free, Forever

Keep Tools Free for Everyone

No paywalls, no signups, no data sold. Built by a solo developer who believes useful tools should be accessible to everyone.

Support me on Ko-fi— keep tools free

100% of proceeds go towards hosting & building more free tools.