PNG Cropper


A PNG image cropper selects a region from a PNG file and produces a new PNG that contains only that region, with full transparency preserved. PNG’s lossless format and alpha channel support make it the standard for design assets, UI elements, icons, and any image where both pixel accuracy and transparent backgrounds are required. This tool crops PNG images entirely in your browser without uploading the file to any server.

Why PNG Cropping Differs From JPEG Cropping

JPEG files contain no transparency data. Every pixel is fully opaque, and the crop operation simply selects the colour values of the pixels within the crop area. PNG files may contain an alpha channel that stores partial or full transparency for individual pixels.

Cropping a PNG with transparency requires that the alpha channel values be preserved alongside the RGB colour values for every pixel in the selected region. A transparent pixel in the source PNG must be transparent in the cropped output. A partially transparent pixel on the anti-aliased edge of a logo or icon must carry its exact opacity value into the output.

This tool preserves alpha channel data throughout the crop operation. The Canvas API reads both colour and transparency information from the source image and writes both to the output canvas. The resulting PNG is a pixel-accurate crop of the original, including all transparency values, rounded corners, feathered edges, and semi-transparent shadows.

Common Use Cases for PNG Cropping in Design Workflows

UI component libraries frequently contain PNG sprites, which are image files that contain multiple interface elements arranged in a grid. Cropping individual components from a sprite sheet extracts each element into its own file with the correct transparent background. App icons, button states, toolbar elements, and navigation assets are commonly delivered as sprite sheets and need to be cropped individually for use in code.

Logo files exported from design applications sometimes include more whitespace or padding than the intended usage requires. Cropping the logo to the exact bounding box of the visible artwork removes the excess space. This tightens the composition when the logo is placed adjacent to other elements and eliminates invisible padding that affects spacing calculations in CSS and layout engines.

Product photography with a transparent background, such as a cutout of a product against a clear backdrop, sometimes needs to be cropped to a specific aspect ratio for a product listing template. The crop must preserve the transparent background so the product displays correctly on the platform’s background. A JPEG crop would fill the transparent regions with white, destroying the cutout appearance.

Screenshot annotations that contain highlighted UI elements with transparent overlays need PNG preservation during any crop operation. Converting to JPEG before cropping would destroy the transparency and change the visual appearance of the annotation.

Aspect Ratios for Common Design Targets

App store icons require a 1:1 aspect ratio. Apple’s App Store requires icons at 1024 by 1024 pixels in PNG format. Google Play requires a 512 by 512 pixel PNG. Cropping a larger design asset to 1:1 using this tool prepares it for the correct aspect ratio before resizing to the required pixel dimensions in an image editor.

Open Graph images for social media sharing require 1200 by 630 pixels, which is approximately a 1.9:1 ratio. While this tool does not include a 1.9:1 preset, the free crop mode allows any custom selection. Drawing a selection at the correct proportions and downloading the output prepares the asset for resizing to the exact pixel dimensions.

Favicon preparation often requires a 1:1 crop from a larger logo or brand mark. A 16 by 16 pixel or 32 by 32 pixel favicon needs to show the most recognisable part of the brand at a very small scale. Cropping to isolate the icon mark from a full logo before generating the ICO or SVG file produces a more legible result than using the full logo at small sizes.

Lossless Output and What It Preserves

PNG output from this cropper is lossless. The pixel values within the selected crop area are transferred exactly to the output canvas. No compression artifacts are introduced, no colour values are approximated, and no transparency values are rounded or clipped.

This lossless quality means the cropped PNG can be edited further, re-exported, or combined with other elements without accumulating degradation. A PNG cropped here and then opened in Photoshop, Figma, or Sketch retains full pixel accuracy. Further edits and re-exports as PNG continue to be lossless.

The lossless property also means that text within the crop area remains sharp. Anti-aliased letterforms, thin lines, and high-contrast edges reproduce at their original precision in the output. JPEG cropping would introduce ringing artifacts around these elements, softening text and sharpening effects.

Rule of Thirds Grid for PNG Asset Composition

The rule of thirds grid overlay applies to PNG cropping as it does to photographic cropping. For design assets, the grid helps position the primary visual element within the crop frame. An icon mark cropped to 1:1 benefits from centering the focal element at the centre intersection or aligning key lines with the grid.

Decorative PNG assets used in web page layouts, such as illustrations, character graphics, and brand mascots, perform better compositionally when the primary point of visual interest aligns with the upper or lower third of the frame rather than the exact centre. The grid makes this alignment visible during the crop selection process.

How to Use This PNG Cropper

Drop your PNG file onto the upload area or click to browse. The image loads with the full frame selected as the default crop area. Click and drag on the canvas to draw a new selection. Use the corner handles to adjust the selection boundaries. Drag from inside the selection to reposition it without changing its size.

Select an aspect ratio preset from the button row to constrain the selection. Click Crop PNG to produce the cropped output. The download link appears immediately. Click Download Cropped Image to save the PNG file with transparency intact.

Touch drag is fully supported for mobile users. The corner handles are sized for touch interaction, and the selection can be repositioned by dragging from the centre on a touchscreen.

Privacy and No-Upload Processing

Your PNG file is never transmitted to a server. The browser reads it into local memory, renders it on the Canvas element, and produces a lossless PNG as a blob URL for the download. No image data leaves your device at any point during the crop process.

This architecture is appropriate for PNG files containing proprietary design assets, unreleased brand materials, private illustrations, or any content where confidentiality of the source file is important. No server logs, no file storage, and no account credentials are involved in the operation.

The tool works without an internet connection after the page has loaded. The Canvas API and crop logic run entirely in the browser and do not require any external endpoint to complete the operation.