# Image Cropper

Crop images to specific dimensions or aspect ratios with custom positioning

> Canonical page: https://elysiatools.com/en/tools/image-cropper

- **Category:** Design

- **Keywords:** image, crop, resize, aspect, ratio, dimensions, trim

## Overview

The Image Cropper is a precise utility designed to trim images to specific dimensions, standard aspect ratios, or custom coordinates, ensuring your visuals fit perfectly into any layout or design requirement.

## Inputs

- **Image File** (file): Upload any image file (JPEG, PNG, WebP, GIF, BMP, TIFF) for cropping
- **Crop Mode** (select): Choose how to crop your image: square, aspect ratio, exact dimensions, or custom positioning
- **Aspect Ratio** (select): Select a predefined aspect ratio for cropping. The image will be cropped to match this ratio
- **Width (px)** (number): Set the exact width for cropped area. Will be limited to image width if larger
- **Height (px)** (number): Set the exact height for cropped area. Will be limited to image height if larger
- **Position** (select): Choose where to position the crop area. Works with all crop modes
- **X Position (px)** (number): Set the horizontal position for crop area (0 = left edge). Will be adjusted if outside image bounds
- **Y Position (px)** (number): Set the vertical position for crop area (0 = top edge). Will be adjusted if outside image bounds
- **Output Format** (select): Choose output format or keep original. Converting to JPEG may reduce quality for transparency
- **Quality (1-100)** (number): Output quality for lossy formats (JPEG, WebP). Higher = better quality but larger file size

## When to use

- Adjusting image dimensions to meet specific social media or website banner requirements.
- Removing unwanted edges or background elements to focus on the subject of a photo.
- Standardizing a collection of images to a uniform aspect ratio for consistent gallery displays.

## How it works

- Upload your image file in any supported format like JPEG, PNG, or WebP.
- Select your preferred crop mode, such as square, predefined aspect ratio, or exact pixel dimensions.
- Adjust the positioning using the gravity settings or manual X and Y coordinates.
- Choose your desired output format and quality level, then process the file to download your cropped result.

## Use cases

- Preparing profile pictures by cropping portraits into perfect 1:1 squares.
- Creating consistent 16:9 thumbnails for video content platforms.
- Extracting specific sections of high-resolution images for detailed product shots.

## Frequently asked questions

### Which image formats are supported?

You can upload JPEG, PNG, WebP, GIF, BMP, and TIFF files.

### Can I crop an image to exact pixel dimensions?

Yes, select the 'Exact Dimensions' crop mode and enter your desired width and height in pixels.

### What does the 'Gravity' setting do?

Gravity allows you to anchor the crop area to a specific part of the image, such as the center, top-left, or bottom-right.

### Will cropping reduce the quality of my image?

If you choose a lossy format like JPEG or WebP, you can adjust the quality slider to balance file size and visual clarity.

### Is there a limit to the file size I can upload?

Yes, the maximum file size for uploads is 10 MB.

## Related tools

- [Batch Image Convert](https://elysiatools.com/en/tools/batch-convert): Convert multiple images to different formats with quality settings and batch processing
- [Image Bit Depth to PNG Converter](https://elysiatools.com/en/tools/image-to-bit-depth-png): Convert images to exact monochrome, indexed, grayscale, RGB, or RGBA PNG bit depths with verified output.
- [Data URI Generator](https://elysiatools.com/en/tools/data-uri-generator): Convert files into Data URIs (Base64 or percent-encoded) for inlining images, fonts, and assets directly into HTML, CSS, or Markdown
- [Image Composite](https://elysiatools.com/en/tools/image-composite): Composite multiple images together with precise control over position, opacity, and blend modes
- [PDF Photo Contact Sheet](https://elysiatools.com/en/tools/pdf-photo-contact-sheet): Generate paginated photo contact sheets with thumbnails, filenames, and EXIF lines
- [Add Border to Image](https://elysiatools.com/en/tools/image-add-border): Add customizable borders to images with various styles, colors, and widths
- [Add Frame to Image](https://elysiatools.com/en/tools/image-add-frame): Add decorative frames to images with various styles like classic, modern, vintage, and custom designs
- [Add Glow Effect](https://elysiatools.com/en/tools/image-add-glow): Add beautiful glow effects to images with customizable color, intensity, size, and style variations

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing TypeScript Samples](https://elysiatools.com/en/samples/web-image-processing-typescript): Web TypeScript image processing examples including image read/save, scaling, and format conversion
- [Web Image Processing Go Samples](https://elysiatools.com/en/samples/web-image-processing-go): Web Go image processing examples including image reading/saving, image resizing, and format conversion
- [Windows Image Processing C++ Samples](https://elysiatools.com/en/samples/windows-image-processing-cpp): Windows C++ image processing examples including reading/saving images, resizing, and format conversion using Windows Imaging Component (WIC)

## Related content

- [Image Geometry Transform Tools](https://elysiatools.com/en/hubs/image-geometry-transform-tools): Choose rotation, flip, crop, affine, perspective, scale, or padding transforms and verify framing, dimensions, orientation, and clean transparent or background edges.
