Skip to content
Toolars
Explore
Report bug

Images · Local utility

Image Cropper

Crop PNG, JPEG, or WebP images to exact pixel coordinates at free or fixed aspect ratios, and export the region as PNG, JPEG, or WebP.

Task path / input to outcome

Choose the image

Worked example

Runs locally · Nothing is uploaded

Worked example

Crop a repeatable square avatar

Start with a non-sensitive 600 × 400 test image. A square avatar should remove the left and right margins without stretching the subject. Cropping selects pixels; resizing scales them. Decide which operation you need before changing dimensions.

Input and settings
600 × 400 · X 100 · Y 0 · width 400 · height 400
Expected output
400 × 400 · no stretching

Steps to reproduce

Select Free or 1:1, enter the region and choose PNG. Generate the crop, inspect the preview and download. The coordinates refer to the upright decoded image, including any applied orientation.

Check before you use it

Check that the subject remains inside the square. X 300 with width 400 would run beyond a 600-pixel source; reduce the width or move the origin. JPEG flattens transparency, so use PNG when the avatar needs transparent corners. No crop can restore pixels already absent from the source.

How Image Cropper works, privacy, and related tools

Task path / input to outcome

How to crop an image to an exact region

  1. 01

    Choose the image

    Select Choose file — or drop the image onto the zone — 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. The signature, dimensions, and EXIF orientation are checked locally before anything renders, the standing limits are listed under the field, and the preview appears only once every check passes; nothing is uploaded at any point.

  2. 02

    Pick an aspect ratio

    Under Aspect ratio choose Free, 1:1 square, 4:3, 3:2, or 16:9. Free keeps exactly the width and height you enter, while a fixed ratio keeps the region's origin and trims the side that exceeds the proportion. Dimensions are rounded to whole pixels, so small crops can differ slightly from the nominal ratio; check the result panel for the actual size.

  3. 03

    Set the crop region

    Enter whole-pixel values in X origin, Y origin, Region width, and Region height. The origin must sit inside the image and the full region must stay within its bounds; out-of-bounds or fractional input is rejected with a message that names the problem, so you can correct the exact field instead of guessing.

  4. 04

    Pick a format, crop, and download

    Under Output format choose PNG (the default, keeps transparency), JPEG (lossy, quality 50–95%, transparency flattened onto the background color you pick), or WebP (keeps transparency; the option stays disabled when this browser cannot encode it). File size depends on the image and quality. Press Crop image. The result panel reports the exact crop, such as 640 × 480 from (10, 20), and Download saves it in the chosen format. Changing any control clears the previous export, so crop again after edits.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Nothing is stored
Price
Free

Your input stays in the browser.

Image Cropper 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.

Immediate reset

Clear the tab and the active working data is gone.

What Image Cropper actually does

A square avatar cut out of a wide team photo, a screenshot trimmed to the one settings panel that matters, product shots normalized to a consistent 4:3 for a catalog — cropping is usually the first edit and often the only one. Typing the region in numbers beats dragging handles when the target is exact: 640 × 480 from (10, 20) is reproducible, shareable, and identical on every rerun. Image Cropper works on exact pixel coordinates inside the browser, so unpublished designs and personal photos stay on the device while they are trimmed.

Common questions

Which files and sizes are accepted?
PNG, JPEG, and WebP up to 12 MiB, at most 8,192 pixels on either side and 24,000,000 pixels overall. The file signature is verified rather than the extension, and a JPEG carrying an EXIF orientation tag (2-8) has its pixels baked into that orientation right after decoding, so the crop region always matches the upright image you see.
How does the Aspect ratio field change my region?
With Free, the region is exactly the width and height you enter. With 1:1, 4:3, 3:2, or 16:9 the region keeps its origin and the side that exceeds the ratio is reduced. The adjusted side is rounded down to whole pixels, so a small crop may only approximate the selected proportion. Check the exported dimensions when an exact ratio is required.
Why is my crop region rejected?
All four fields take whole pixels only, the origin must lie inside the image, and the rectangle formed by the origin plus the region size must fit the image entirely. A region that starts at the last column and extends ten pixels further, or a fractional width, is refused before any rendering, with the message naming the exact violation.
What quality should I use for JPEG or WebP output?
The quality slider runs from 50% to 95% and defaults to 85%, which is a balanced choice for photos. Push toward 95% when the crop holds fine text or sharp edges, and toward the middle of the range when file size matters more than the last bit of detail. PNG ignores the slider entirely because it is always lossless.
Is the original image modified or uploaded?
Neither. The crop renders into a brand-new file inside the current browser tab — PNG by default, or JPEG and WebP at the quality you choose; the source file on your disk stays byte-identical, no account is required, and resetting the workspace discards the loaded image and the result.

Keep reading

Continue in Image Studio

Related tasks, not a dead end.

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

Image Filters

Adjust brightness, contrast, saturation, grayscale, sepia, and blur with six sliders, then download the filtered PNG at full size.

Edit

Image Resizer

Resize images to exact pixel dimensions with an aspect-ratio lock, one file at a time or in batches of up to 12 downloaded as a zip.

Edit

Image Average Color Finder

Measure an image's alpha-aware average color and copy it as HEX, rgb(), or rgba() — transparent pixels are ignored, not averaged in.

Inspect

Image Color Extractor

Extract up to 12 RGB color groups from a PNG, JPEG, or WebP photo, ranked by alpha-weighted share of the visible analyzed sample; copy HEX values or download a JSON palette.

Inspect