✂️

Image Cropper

✓ Free & no signup 🔒 Runs 100% in your browser Updated 2026-11-25 Images Editing Tools
✂️

Drop an image here
or click to choose a file

Cropping by dragging handles feels fast until you need precision. Platform templates demand exact pixel regions, a set of avatars must all be perfectly square, and slicing one wide banner into identical panels is tedious with any mouse-driven editor. This tool crops by numbers instead: enter the x, y, width, and height of the region in pixels, and it extracts exactly that rectangle. Upload, type four values, preview, download a PNG. Everything runs locally in your browser with no upload to a server and no signup.

Numeric cropping is a different mindset from visual cropping, and it is the better one for repeated, precise work. Once you know that a platform's avatar slot starts at 40 pixels from the top of a 600 x 600 source, or that a banner slice must be exactly 728 x 90, typing the numbers guarantees the result every time, on every image, for every member of a team following the same recipe.

The tool validates your region against the original dimensions before cropping, so a rectangle that would run past the right edge or below the bottom is caught with a clear message rather than producing a silently wrong output. This page explains the coordinate system, shows worked examples for the most common recipes, and covers the edge cases that trip people up, such as regions near the borders and coordinate origins.

Understanding the Crop Coordinates

The coordinate system matches canvas and CSS conventions: the origin is the top-left corner of the image, x grows to the right, and y grows downward. That downward growth is the part people get wrong most often, coming from math class where y grows upward. A crop region is fully described by four numbers: x is the distance from the left edge to the rectangle's left side, y is the distance from the top edge to its top side, width and height are the rectangle's size in pixels.

Everything must stay inside the source: x plus width cannot exceed the image width, and y plus height cannot exceed the image height. For a 1920 x 1080 image, the largest valid region is x 0, y 0, width 1920, height 1080, which is the whole image. A region at x 1900 with width 30 would need x plus width equal to 1930 and is rejected, with the tool telling you the maximum width available from that x position, which is 20 pixels.

Worked crop recipes

GoalSource sizex, y, width, heightResult
Centered square avatar1200 x 800200, 0, 800, 800800 x 800, full height, horizontally centered
Leaderboard banner slice1920 x 1080596, 495, 728, 90728 x 90 standard ad size
Top-left quadrant1000 x 10000, 0, 500, 500Exact quarter of the image
Remove 60-pixel watermark strip1600 x 9000, 0, 1600, 840Bottom strip excluded, aspect slightly wider

The centered avatar recipe generalizes: for a square side equal to the smaller dimension, set that side as both width and height, y at 0, and x at the source width minus the square side, divided by two. For the 1200 x 800 example, that is 1200 minus 800, which is 400, divided by 2, so x equals 200 for a perfectly centered crop. Shift x toward 0 to bias the frame left or toward 400 to bias it right, which is the real advantage of numeric control: framing stays deliberate and reproducible.

How to Crop an Image (Step by Step)

  1. Upload the image by dragging it in or tapping the upload area. The original width and height are displayed prominently, since every coordinate is relative to them.
  2. Enter x and y, the top-left corner of your region, in pixels from the left and top edges.
  3. Enter width and height for the region size. The tool checks the four values against the source dimensions immediately.
  4. Fix any validation message: values that overflow the image are rejected with the maximum allowed size shown, so you can adjust without guessing.
  5. Preview the extracted region and download it as a PNG. The output is lossless and preserves transparency from the source.

Key Features

  • Numeric precision: x, y, width, and height in exact pixels, repeatable across images and team members.
  • Instant validation: regions that overflow the source are rejected with concrete maximums instead of silently producing wrong crops.
  • Lossless PNG output: pixels are copied, not resampled, so a crop is perfectly sharp at 100 percent zoom, including text and pixel art.
  • Transparency preserved: alpha channels survive cropping, so cutout graphics stay usable.
  • Local processing: cropping happens in browser memory; screenshots of confidential systems never leave the device.
  • Free and unlimited: no account, no watermark, mobile-friendly.

Cropping Is Lossless, and Why That Matters

Cropping removes pixels outside the rectangle and keeps the pixels inside untouched. Unlike rotation at arbitrary angles or any resize, there is no interpolation anywhere in the operation, so the cropped output is exactly as sharp as the corresponding region of the original. This is why cropping is the right first step in almost any image workflow: straighten and crop from the cleanest source, then resize, compress, or convert afterward.

The lossless property also has a privacy dimension worth using deliberately. Cropping out everything except the relevant area of a screenshot removes names, email addresses, and sidebar data from the output file entirely, not just visually. A crop that shows only one table cell region cannot leak the rest of the spreadsheet, because those pixels are not in the file at all.

Common Use Cases

  • Extracting perfectly square avatars from team photos, with the same numeric recipe applied to every portrait so the set aligns in a grid.
  • Slicing a wide banner into standard ad or hero panels, such as 728 x 90 leaderboard strips, using identical y and height values with shifting x offsets.
  • Cleaning screenshots for documentation: cropping to exactly the UI element under discussion, one numeric region per figure.
  • Trimming scanner borders and white margins from scanned pages by cropping inside the content area.
  • Removing watermark or timestamp strips from the bottom edge of your own source images.
  • Producing platform-specific assets from one master image, for example a 1080 x 1080 post region and a 1200 x 630 preview region cut from the same photo.

Planning Crops with Simple Math

Two formulas cover most recipes. For centering a region of width W in an image of width IW, set x to (IW - W) divided by 2; for a 1200-wide source and a 728-wide banner, that is (1200 - 728) / 2, so x equals 236. For equal slices of an image IW wide into N panels, each panel is floor(IW / N) wide, and panel i starts at x equal to i times the panel width. A 1920-wide image cut into 4 slices yields panels of 480 pixels starting at x 0, 480, 960, and 1440, with the last slice absorbing any rounding remainder if you use 480 for all four.

Vertical layout math works identically with y and height. Slicing a 1080-tall story image into three stacked panels gives 360 pixels each, at y 0, 360, and 720. Doing this arithmetic once per template and recording the numbers turns cropping into a repeatable pipeline rather than a hand-eye coordination exercise.

Tips and Best Practices

  • Crop from the largest source available. Cropping cannot add pixels; a region cut from a small image is small, and enlarging it afterward softens it.
  • Validate visually once, then trust the numbers. Check the preview the first time you run a new recipe, then reuse the coordinates confidently.
  • When trimming edges symmetrically, subtract the trim from both dimensions and shift x and y by the trim amount. A 1600 x 900 image trimmed 50 pixels on every side crops at x 50, y 50, width 1500, height 800.
  • Crop before compressing. Cropping a heavily compressed JPEG re-encodes artifacts into the PNG output, while cropping a clean source keeps them out entirely.
  • Remember y grows downward. If a crop lands one region too high or too low, invert your mental model before nudging values.

Numeric Cropping vs. Visual Cropping Tools

AspectNumeric crop (this tool)Drag-handle editors
RepeatabilityIdentical rectangles every timeVaries by hand and session
Exact template sizesGuaranteed to the pixelEasy to miss by 1 or 2 pixels
Speed for one-off artistic cropsSlower, requires coordinatesFaster and more intuitive
Batch consistencySame numbers, same resultsEach crop drifts independently

Use visual editors when framing is artistic and one-off; use numeric cropping when exactness and repeatability are the requirements, which is the case for most template-driven and batch work.

Frequently Asked Questions

How do I crop an image to exact pixel dimensions?
Upload the image, then enter the region's x, y, width, and height in pixels. The tool validates the values against the original size and extracts exactly that rectangle as a lossless PNG. Because you type numbers instead of dragging handles, the same coordinates produce the identical crop every time, which is ideal for templates and batch work.
What does the x and y in cropping mean?
x and y locate the top-left corner of your crop rectangle. x is the distance from the image's left edge, and y is the distance from the top edge, with y growing downward in canvas convention. Width and height then define the rectangle's size. For example, x 100, y 50, width 300, height 200 starts 100 pixels from the left and 50 from the top.
Why is my crop region invalid?
The rectangle must fit inside the original image: x plus width cannot exceed the image width, and y plus height cannot exceed the image height. If your values overflow, the tool rejects them and shows the maximum size available at that position. Reduce the width or height, or shift x and y closer to the top-left, until the region fits.
Does cropping an image reduce quality?
No. Cropping copies the pixels inside the rectangle and discards the rest, with no interpolation or resampling, so the result is exactly as sharp as that region of the original. Output is a lossless PNG, so no compression artifacts are added. The image becomes smaller in pixels, but the kept pixels are untouched.
How do I crop a centered square for an avatar?
Use the smaller of the two dimensions as the square's side. For a 1200 x 800 photo, an 800 x 800 square fits the full height, so set y 0, width 800, height 800, and choose x freely between 0 and 400 to frame the face; 200 centers it exactly. Apply the same recipe numbers to every portrait in a set for consistent avatars.
Can I crop an image on my phone?
Yes. The tool runs entirely in the mobile browser on Android and iOS, with no app installation. Upload the photo, type the crop coordinates using the on-screen keyboard, preview, and download the PNG. Cropping happens on the device itself, and the image is never uploaded to a server.

Related Tools