Skip to content
Toolars
Explore

Image Resizer

Resize local PNG, JPEG, WebP, SVG or GIF images to an exact size with an optional aspect-ratio lock. PNG / JPEG / WebP / SVG / GIF. GIF input exports the first frame only; animation is not retained.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Privacy information
Worked example
Report bug
Worked example · Fit a landscape image inside a square limit

Worked example

Fit a landscape image inside a square limit

A portal asks for an image no wider or taller than 300 pixels, but it does not require a square crop. Start with a 600 × 400 test image. Preserving the whole frame matters more than filling every pixel of a square.

Input and settings
600 × 400 → box 300 × 300
Expected output
300 × 200 · original proportions

Steps to reproduce

Enable the aspect-ratio lock and edit the width to 300 pixels; let the height update automatically. The calculated height is 200 pixels, so it also fits the 300-pixel height limit. A pixel limit and a file-size limit are separate requirements.

Check before you use it

If the recipient requires exactly 300 × 300, use a crop or the Image Delivery padding mode instead. Stretching to a square distorts the subject. Open the downloaded image and verify its dimensions; changing a file extension does not resize an image or convert its format.

Task path / input to outcome

How to resize an image to exact dimensions

  1. 01

    Choose the image — or several

    Select Choose file and open a PNG, JPEG, or WebP up to 12 MiB, at most 8,192 pixels per side and 24,000,000 pixels in total. Selecting several images at once (or dropping them) opens batch mode: up to 12 images and 96 MiB in total, queued in a keyboard-operable list and resized one at a time with the same settings. Files open inside this tab; nothing is uploaded. Image Resizer: Choose a local PNG, JPEG or WebP image. SVG / GIF. Raster input: up to 12 MiB, 8,192 px per side and 24 million pixels. SVG: 2 MiB.

  2. 02

    Enter the target size

    Type whole-pixel values into Output width and Output height, each between 1 and 8,192. The result must also stay within the 24,000,000-pixel processing limit, and out-of-range or fractional input is rejected with the boundary named. Output width / Output height; SVG / GIF.

  3. 03

    Decide on the aspect ratio

    Keep Lock source aspect ratio checked to have the second dimension recalculated whenever you edit the first — the safest default for photos. Uncheck it only when the target slot demands two independent values and a stretch is acceptable, because nothing will preserve the proportions for you.

  4. 04

    Pick a format

    Under Output format choose PNG (the default, lossless, keeps transparency), JPEG (quality 50–95%, transparency flattened onto a background color you pick), or WebP when the browser supports encoding it. Remember the source ICC profile is not copied, so compare colors on the downloaded file before color-critical use.

  5. 05

    Resize — one file or a batch

    Press Resize image. Scaling uses the browser's high-quality interpolation; a single image downloads as one file in the chosen format, while a batch finishes as a zip of every resized image, named toolars-resized-batch.zip. Batch processing runs one image at a time and can be cancelled, and a file that fails validation is marked with its error code without stopping the rest.

  6. 06

    Download and verify

    Check the exported dimensions against the requirement — a marketplace's 1,200 × 1,200 slot, a CMS width cap — and inspect sharpness after any large downscale. Upscaling cannot invent detail, so expect softness on big enlargements and prefer moderate bumps. Reset clears only the current workspace; it does not remove a result already handed off to another tool.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Optional local handoff
Price
Free

Your input stays in the browser.

Image Resizer uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Workspace and handoff

Closing the tab clears normal workspace data. If you choose a handoff, the selected result stays on this device across reloads and tab closes, and can be accepted for 30 minutes. Accepting or dismissing removes it; expired records are cleared the next time the handoff feature is used.

When Image Resizer is useful

Check a 50 KiB upload requirement

In a 2026-09-24 local browser run, a synthetic 1200 × 800 RGB PNG (2,881,711 bytes) was loaded. With aspect ratio locked, output width 600 made height 400. JPEG at 75% quality downloaded as 56,011 bytes: smaller than the source, but above the 50 KiB (51,200-byte) cap. Check the downloaded file size; this workspace has no target-bytes field and encoder results vary by image and browser.

Recover when the export is too large

For the same input and 600 × 400 dimensions, lower JPEG quality from 75% to 50% and press Resize image again. The 2026-09-24 download was 34,318 bytes, below 50 KiB. Inspect the visual quality before delivery; if 50% is unacceptable, try smaller dimensions or the Image Delivery workflow for a target-size search.

Correct an oversized dimension

With the aspect ratio unlocked, a width of 8193 exceeds the 8192-pixel limit. Change it to 300, set the height to 200, and retry. Check the downloaded PNG before using it. Select twelve 4000 × 3000 JPEG product shots at once — the batch list queues them, 12 images and 96 MiB total at most. Lock the aspect ratio, enter 1200 for the width, and every height lands at 900 automatically. One press resizes all twelve, and the finished batch downloads as a single zip.

What Image Resizer actually does

A concise guide to the transformation, its boundaries, and the result you should expect.

Common questions

What sizes can I enter?
Width and height from 1 to 8,192 pixels each, with the output also bounded by the 24,000,000-pixel total. Non-integer or out-of-range values are rejected with a specific message before rendering. A valid but unintended size cannot be detected automatically; review both dimensions before exporting.
Can I upscale an image?
Yes. The fields accept values larger than the source and the same high-quality interpolation is applied. Upscaling cannot invent detail that is not in the original, so expect softness on large enlargements; for a moderate bump such as 1.5x the result is usually perfectly usable.
Can I resize several images at once?
Yes. Select or drop up to 12 images (96 MiB in total, each up to 12 MiB) and they queue in a keyboard-operable list. One set of dimensions and one output format apply to every file, processing runs one image at a time and can be cancelled, and the finished batch downloads as a single zip. Encoded outputs are limited to 100 MiB per batch; exceeding this stops the run without a ZIP, so use smaller dimensions, choose JPEG, or split the batch and retry.
Which output format should I pick?
PNG is the default: lossless, and it keeps transparency. JPEG uses lossy encoding at 50–95% quality and flattens transparency onto the background color you choose. WebP also keeps transparency at the same quality range, but only when your browser can encode it. Processing uses an sRGB canvas and the source ICC profile is not copied, so colors can shift slightly — compare the download with the original before color-critical use.
Does resizing keep my photo's metadata?
No. An orientation tag on the source is already baked into the pixels at decode time, so the resized file displays upright without needing the tag. Other EXIF metadata does not carry into the output; if it matters, keep the original alongside.
Why is the WebP option disabled?
The workspace probes whether this browser can really encode WebP before offering it. Where the probe fails, the option stays disabled with an explanation instead of silently handing you a PNG with a .webp name. Switch to a browser with WebP encoding support and the option becomes available.
Will resizing make my image blurry?
Downscaling with high-quality interpolation usually looks crisp because surplus detail is averaged away; the risk sits at aggressive ratios and in upscaling, which spreads existing pixels over more space and cannot add information. If the result looks soft, try a smaller target, keep the aspect lock on, or compare the PNG output, which skips the JPEG quality trade-off.
Can I resize to a percentage, like 50% of the original?
There is no percentage field — enter the computed pixels instead. Halve each dimension for 50%, or type one side and let the locked aspect ratio calculate the other. The result panel confirms the exact exported dimensions after the run.
Is the image uploaded anywhere?
Images are processed locally without uploading or changing the original file. Closing the tab clears normal workspace data. If you choose a handoff, the selected result stays on this device across reloads and tab closes, and can be accepted for 30 minutes. Accepting or dismissing removes it; expired records are cleared the next time the handoff feature is used.
What should I compare when choosing an image tool?
This tool processes images in your browser. Compare accepted formats, file and pixel limits, available controls and the downloaded result. For another service, check its current privacy and usage terms before providing files.

Keep reading

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

Image Compressor

Choose a target size or encoding quality for JPEG/WebP. Process locally, keep dimensions, check bytes, and download. A smaller file is not guaranteed.

Convert

Image Cropper

Drag to crop, choose a ratio, and download your image. Rotation: 90° / 180° / 270°.

Edit

Image Format Converter

Convert HEIC/HEIF, AVIF, GIF, PNG, JPEG or WebP locally to PNG, JPEG, WebP or a static GIF. Choose the output format and applicable quality or background settings, then compare actual file sizes.

Convert

EXIF Metadata Viewer & Remover

Inspect GPS, camera, and exposure metadata in JPEG and PNG photos, then strip it losslessly — single files or batches of up to 12.

Protect