How to Crop an Image Online in 3 Easy Steps
Follow these three simple steps to crop an image. No software installation required. Free and secure.
Choose an Image
Select a JPG, JPEG, PNG, WebP, AVIF, or BMP image from your device, or drag and drop it into the browser.
Set the Crop Area
Drag and resize the visible crop box, enter exact width, height, X, and Y values, or choose a Freeform, Original, Custom, or preset aspect ratio.
Export and Download
Choose PNG, JPG, or WebP, review the selected area, then click “Download Image” to save the cropped result.
How Does the CompressFly Image Cropper Work?
The CompressFly image cropper lets you define the part of an image to keep by moving and resizing a visible crop box or entering exact width, height, X, and Y values. A preset aspect ratio constrains the shape of the selection, while Freeform lets you choose any proportions. Pixels outside the selected area are removed from the exported image; the remaining content is not stretched to fit another shape.
The selected area is written as a new PNG, JPG, or WebP image. JPG output uses lossy encoding and fills transparent pixels with white, while PNG and WebP output can retain transparency. Cropping is performed directly in your browser, and the image file is not uploaded to a server.
What "in your browser" means
- No image file is uploaded to a server
- The crop selection and export are processed locally on your device
- The cropped image is downloaded directly from your browser
Ways to Crop an Image
Choose a visual or numeric cropping method based on the framing and proportions required for the finished image.
Freeform Crop
Move and resize the crop area without locking it to a fixed aspect ratio.
Original Aspect Ratio
Trim unwanted edges while keeping the width-to-height proportions of the source image.
Preset Aspect Ratios
Choose common square, portrait, landscape, and widescreen ratios such as 1:1, 4:3, 3:2, 16:9, and 9:16.
Exact Pixel Selection
Enter the crop width, height, X position, and Y position in source-image pixels for precise control.
Which Aspect Ratio Should You Use?
Choose an aspect ratio based on the shape required by your layout. A preset controls the shape of the crop area but does not automatically resize the result to a specific pixel size.
| Aspect Ratio | Common Uses | What to Know |
|---|---|---|
| Freeform | Manual framing and custom compositions | The crop area is not locked to fixed proportions |
| Original | Trimming edges while retaining the source shape | The image keeps its original proportions but has smaller pixel dimensions |
| 1:1 | Square profile, avatar, and product images | Creates a square crop but does not automatically resize it |
| 4:3 or 3:2 | Standard photo and landscape layouts | Choose the ratio that gives the required framing |
| 16:9 | Thumbnails, banners, and widescreen layouts | Controls the crop shape rather than the final pixel size |
| 9:16 | Stories, Reels, and other vertical layouts | The result is not guaranteed to match a platform's required pixel dimensions |
Aspect-ratio presets control the shape of the crop area. To produce an exact final width and height after cropping, use the Resize Image tool.
Why Use CompressFly to Crop Images Online?
Fast Browser-Based Cropping
Crop an image on your device without waiting for the file to upload to or download from a server.
Visual and Numeric Control
Position the crop box visually or enter exact width, height, X, and Y values for precise framing.
Multiple Aspect Ratios
Choose Freeform, Original, Custom, or common landscape, portrait, square, and widescreen ratios.
Multiple Image Formats
Open JPG, JPEG, PNG, WebP, AVIF, and BMP images and export the crop as PNG, JPG, or WebP.
Private & Secure
Your image is processed locally in your browser and is not uploaded to a server.
Free Access
Use the image cropper for free without signing up or entering credit card details.
Free Image Cropper FAQ
How do I crop an image online?
Crop an image online in three steps: 1. Select or drag and drop a JPG, JPEG, PNG, WebP, AVIF, or BMP image into the browser. 2. Drag the crop box, enter exact width, height, X, and Y values, or choose an aspect ratio. 3. Select PNG, JPG, or WebP and click “Download Image” to save the cropped result.
What image formats can I crop?
The image cropper accepts JPG, JPEG, PNG, WebP, AVIF, and BMP files. You can export the cropped area as PNG, JPG, or WebP.
Can I crop an image to exact pixel dimensions?
Yes. Enter the width and height of the crop area in source-image pixels, then use the X and Y fields to position it precisely. Cropping removes pixels outside that area; it does not enlarge the selection or resize it to another set of dimensions.
Can I crop an image to a specific aspect ratio?
Yes. Choose Freeform, Original, Custom, or a preset such as 1:1, 4:3, 3:2, 16:9, or 9:16. A preset locks the shape of the crop area but does not automatically set a fixed output size.
What is the difference between cropping and resizing an image?
Cropping removes content outside a selected area, while resizing changes the pixel width and height of the entire remaining image. Use the Resize Image tool when you need an exact final width and height.
Does the image cropper preserve transparency?
PNG and WebP output can retain transparent pixels in the selected area. JPG does not support transparency, so transparent pixels are filled with white when JPG is selected.
Is the image cropper free?
Yes. The image cropper is free to use. No account, credit card, or software installation is required.
Are my images uploaded to a server?
No. CompressFly crops the image directly in your browser, so the image file is processed locally and is not uploaded to a server.