pngtoolskit.org
PNG and image utilities, in the browser
Say hi →

Crop PNG Images

numeric X/Y/W/H · same crop to every file · in-browser · batch

Drop one or many PNG files (also JPG / WebP) and crop them all to the same rectangle. Drag a box right on the preview, or type exact pixel coordinates from the top-left: X = how far in from the left, Y = how far down from the top, W/H = output size. It's built for batch jobs — stripping the same toolbar from a folder of screenshots, or pulling a known region from a stack of PNGs — and runs entirely in your browser, so nothing uploads.

Drop image files here

Multiple files allowed — same crop applied to each

    no files
    Ready.

    How to find the right X / Y / W / H

    Drag a rectangle on the preview to set the crop visually (the fields fill in for you), or enter coordinates by hand. To work out exact coordinates:

    1. Open the image in your OS preview (macOS Preview, Windows Photos) — most show pixel coordinates on hover.
    2. Or open in a desktop editor that shows rulers (Photoshop, GIMP, Affinity).
    3. Or use this site's Image inspector to confirm dimensions, then math out the crop rect.

    Remember: (0,0) is the top-left. Y increases downward.

    Common batch crops

    FAQ

    How do I crop several images to the same area at once?

    Drop them all together and set one X/Y/W/H rectangle — it's applied identically to every file, then downloaded. Perfect for trimming the same menu bar or toolbar from a whole folder of screenshots taken at the same resolution.

    What if a file is smaller than the crop rect?

    The rectangle is clipped to the image bounds — you'll get the largest available portion. If X or Y are entirely past the edge you'll get an empty image; check coordinates against image dimensions in the file list.

    Can I crop interactively (drag a rectangle)?

    Yes — drag a rectangle directly on the preview and the X/Y/W/H fields fill in automatically; you can also fine-tune by typing exact coordinates. Either way the same rectangle is applied to every file in the batch.

    Different crops per file?

    Not in this tool — the same XYWH is applied to every dropped file. For per-file crops, do one at a time.

    Does the output preserve transparency / quality?

    Yes. Output format matches the source (PNG stays PNG with alpha; JPG stays JPG). No re-compression beyond what the format requires.