On-device cropping — the selected image is not sent to a QuickMerge processing server.

Crop a Photo to Exact Pixels

Short answer: To crop an image to exact dimensions, enter the width, height and crop position or drag the selection, then export the result. QuickMerge crops the image in your browser without uploading it.

Type the exact width, height and position you need in pixels, or drag a selection with 1:1, 4:3, 16:9, 5:1 and a custom ratio. The crop is taken at your image's native resolution and downloads as JPG, PNG or WebP.

  • Free to use
  • No sign-up
  • Exact pixel entry
  • Runs in your browser
  • No uploads

How do I crop an image to exact pixel dimensions?

Drag & drop here

or click to browse

How to crop an image to exact pixel dimensions

Most online croppers only let you drag a box, which means the output size is whatever your mouse happened to land on. This one takes numbers. If a form demands 600×600, you type 600 and 600.

  1. Load your image. Drag a JPG, PNG, WebP, GIF or BMP onto the box above, or click to browse. Files up to 50MB are accepted. Nothing is uploaded — the file is read straight into this page.
  2. Type the exact pixel values. The four number fields are the crop rectangle: X and Y are the position of its top-left corner measured from the top-left of the image, and Width and Height are the output size in pixels. Enter 0, 0 and your target size to crop from the corner; increase X and Y to move the box right and down. The selection on the preview moves as you type, so you can see where the numbers land.
  3. Or drag, then fine-tune. If you would rather aim by eye, drag a box on the preview and read the resulting pixel values out of the same four fields — then correct them by hand until they are the exact numbers you need. Set Aspect while dragging to 1:1, 4:3, 16:9 or 4:5 to lock the proportions first.
  4. Pick the output format and download. Keep the original format, or convert to JPG, PNG or WebP on the way out. Press Crop & Download and the file saves to your device.

Why the pixel fields matter

Dragging is fine for framing; it is useless for compliance. A passport photo portal, a marketplace listing, an ad slot and an app-store screenshot all specify dimensions to the pixel and reject anything else, and no amount of careful mouse work reliably produces exactly 1200×628.

The crop itself is performed on an HTML canvas at the image's full native resolution. The preview is only for aiming: it is scaled to fit your screen, but the pixel values you type are read against the real image, so a 600-pixel-wide crop is 600 real pixels of the original — not 600 pixels of a downscaled preview. Nothing outside the region you export is re-encoded.

Two things worth knowing about the numbers. Cropping only ever removes pixels, so the result cannot be larger than the region you selected — if you need to reach a size the crop cannot supply, crop to the right shape here first and then resize to the exact dimensions. And the order matters: crop first, resize second. Resizing first throws away detail you were about to crop into.

Everything runs on your device via open-source browser libraries — your file is never uploaded. You can verify it yourself, or start from the QuickMerge home page to see the rest of the tools.

Common exact-pixel crops

  • Profile picture: square, so use the 1:1 preset or type equal width and height. 400×400 or 512×512 covers most platforms.
  • Video thumbnail: 16:9. 1280×720 is the usual target.
  • Social share card: 1200×630, which is what Open Graph previews expect.
  • Passport and visa photos: whatever the issuing authority publishes, to the pixel. Crop to their ratio here, then resize to their exact dimensions.
  • Cutting one element out: a signature, a chart, a table or a logo from a larger screenshot. Drag roughly, then round the numbers off.

Next steps

What to do with the result

Guides

Browse all image tools, or see every QuickMerge tool.

Frequently Asked Questions

How do I crop an image to exact pixels, like 400×400?

Type the numbers instead of dragging. Width and Height are the output size in pixels — enter 400 and 400 — and X and Y place the top-left corner of that box, measured from the top-left of the image. The selection on the preview follows the numbers as you type, so you can nudge X and Y until the box sits over the part you want without ever losing the exact 400×400 size.

Can I crop a photo by pixels rather than by dragging?

Yes — that is the point of the four number fields. Dragging is there for framing by eye, but every crop is ultimately defined by pixel values, and you can type them directly or correct the ones a drag produced. Nothing forces you to accept whatever size the mouse landed on.

Does cropping reduce image quality?

It removes pixels rather than degrading the ones that remain. The kept area is unchanged, but it is now a smaller image, so enlarging it afterwards will look soft.

Is my image uploaded?

No. The preview, the selection, and the crop all happen in your browser. The image never leaves your device.

Can I crop a JPG without re-compressing it?

Saving a JPG re-encodes it, which costs a little quality once. Choosing PNG or WebP as the output avoids further lossy compression if the image will be edited again later.

Should I crop before or after resizing?

Crop first. That keeps the maximum available detail in the part you are keeping, and lets you resize the result to the exact target afterwards. Resizing first throws away pixels you were about to crop into.

Keep the intended rectangle

Use the source-image coordinates and dimensions to define the crop.

Calculate an exact crop

For a 1600 × 1200 source, a centered 1200 × 1200 crop starts at X = 200 and Y = 0. Keep X + width and Y + height within the source dimensions. Resize the crop afterward if the delivery dimensions differ.

Check the boundary and saved pixels

Inspect the subject, labels and document edges before downloading. Reopen the result to verify its dimensions; the displayed preview size is not the saved pixel size.

Choose the output with care

JPEG re-encoding can change detail. PNG supports transparency and avoids an additional lossy encoding step. Check the format actually offered and the saved background. Cropping removes a rectangle; it does not detect the subject or remove its surrounding background.