Skip to content
ToolsOnDuty - free online tools
Image ToolsNovember 6, 2026

How to Crop and Resize Images in Your Browser

Frame an image, move the crop, resize the selected area and verify the actual exported dimensions with an original demonstration image.

By ToolsOnDuty Editorial Team

Image Cropper showing a selected area and a verified 400 by 399 pixel final export.

Cropping changes which part of an image remains, while resizing changes the number of pixels in the retained area. Mixing up those operations can cut off a subject, stretch a design or deliver a file with the wrong dimensions. Start with the composition you want, then check the actual output size.

This guide uses the ToolsOnDuty Image Cropper with original demonstration artwork measuring 1,200 by 800 pixels. We moved the selection through the real interface, resized the retained region and inspected the downloaded PNG. The test also revealed a small pixel-rounding difference after dragging, which is important when a destination requires exact dimensions.

Choose an appropriate source and keep the original

Open Image Cropper and choose a local image you own or have permission to edit. The source is decoded inside the browser; it is not uploaded to a document-editing server by this tool. Our sample contains three colored areas and large labels so that the selected region is easy to identify.

Keep an untouched source copy. A downloaded crop cannot restore pixels that were excluded from it, and enlarging a small result does not recover detail from the original. For a photograph, decide which subject or edge must remain visible before choosing an aspect ratio.

Choose a composition ratio, then position the selection

The controls offer Free, 1:1, 4:3, 3:4, 16:9 and 9:16. Free allows a less constrained selection; the numeric presets guide its proportions. A ratio is not a pixel count: selecting 1:1 does not by itself mean the output will be 400 by 400 pixels.

We chose 1:1 and dragged the selection horizontally to retain the central blue area and more of the right-hand green area. The shaded region outside the selection is excluded from the crop. Move or resize the selection through its handles, and check subject placement rather than treating the initial centered crop as automatically suitable.

Original three-area demo image with the 1:1 crop guide moved right and reported output of 801 by 799 pixels.
Actual moved selection. This browser reported 801 x 799 pixels after dragging, despite the 1:1 guide.

Read the reported pixel dimensions after dragging

The Output width and Output height cards describe the selected region at source-image resolution, not the smaller on-screen preview. In the tested browser, the moved selection reported 801 by 799 pixels. The displayed selection is scaled, and translating its coordinates back to source pixels involves rounding.

Do not silently treat that near-square region as an exact square. A one- or two-pixel difference can matter to an avatar uploader, design specification or automated validator. Recheck the cards after every move, and verify the final file's dimensions when exactness is part of the requirement. A visual ratio guide is not a substitute for that final check.

Resize the cropped result rather than the entire original

Enable Resize the cropped result to reveal Final width and Final height. These fields apply to the retained region. The crop cards remain the source-region dimensions, so their numbers can differ from the final-export fields without indicating that resizing failed.

We entered 400 for Final width. The tool calculated a height of 399 while preserving the selected region's rounded proportions. The final export label therefore read 400 x 399px. If you require exactly 400 by 400, do not accept this result merely because 1:1 is selected; adjust your workflow and independently verify the required dimensions.

Resize controls set to width 400 and automatically derived height 399 for the selected crop.
Verified resizing behavior: width 400 derives height 399 from the selected region's proportions.

Choose a format that fits the intended use

The output selector offers PNG, JPG and WebP. We used PNG for the demonstration, which is useful for a graphic containing sharp text and solid-color shapes. JPG may be more appropriate for an opaque photograph when file size matters, while WebP requires checking support in the destination.

The JPG export fills transparent areas with white because JPEG does not retain an alpha channel. A rectangular crop also differs from a circular avatar with transparent corners. Choose the format and editing operation deliberately rather than assuming a filename extension or a visually round subject changes the underlying canvas shape.

Download and inspect the actual output

Click Download cropped PNG after reviewing the selection and final size. Our actual file was 31,974 bytes and decoded as a 400 by 399 pixel image. We inspected the saved image and confirmed that it contained the selected blue and green areas, with the expected portions of the left area and title excluded.

A successful download is not the same as a successful destination upload. Reopen the file, check its dimensions, inspect edge clipping and confirm that text remains legible at the intended display size. Renaming a file does not change its encoded format or recover pixels outside the selected region.

Separate composition, file size and sensitive-content removal

Cropping may reduce file size because fewer pixels remain, but it is not a guaranteed compression target. Image content and format also affect the byte count. If a destination has a size limit, measure the downloaded file and use an appropriate compression workflow instead of repeatedly cutting off important content.

Before sharing, review the visible crop for faces, addresses or other information you did not intend to include. Cropping is not a claim that every form of metadata or hidden information has been removed. Keep private originals and exported drafts appropriately, and do not publish an identifying image simply because the editing happened locally.

Apply the steps from this guide directly in your browser.

Frequently asked questions

Does choosing 1:1 guarantee a particular square pixel size?

No. It is a composition guide, not a fixed resolution. In the tested drag workflow, the region reported 801 x 799 pixels, so exact dimensions must be checked.

Why do the crop cards differ from Final export?

The cards report the selected source-region size. Optional resizing produces a separate final size, such as the tested 400 x 399 pixel output.

Does enlarging a crop restore the excluded image detail?

No. Enlarging changes the output pixel count, but it cannot recover detail or regions discarded from the saved crop. Keep the original.

Which format preserves transparency?

PNG supports an alpha channel. The current JPG export uses a white background for transparent areas; verify the destination's format requirements.