Image Cropper & Resizer

Crop and resize images with preset aspect ratios, social media sizes, background canvas with transparency. Real-time preview.

Runs in your browser. No data leaves your device.

About this tool

Interactive cropper: drag a crop box over the image (rule-of-thirds grid), resize it from the corner handle, or type exact X/Y/W/H values. You can optionally place the crop on a larger black, white or transparent canvas for padding or letterboxing. The result updates live and exports as PNG.

Features
  • Starts with a centered crop covering 80% of the image
  • Drag the box to move it, drag the bottom-right handle (44 px touch target) to resize; minimum 16 px
  • The image and crop box scale to the width of the screen, including phones
  • Aspect presets: Free, 1:1, 4:3, 3:2, 16:9
  • WxH dimension presets: Icons 16-512; Social 1080x1080, 1080x1350, 1200x630, 1500x500, 820x312; Screen 640x480 to 3840x2160; Photo 1200x1800 (4x6), 1500x2100 (5x7), 2400x3000 (8x10). Presets larger than the image are disabled
  • Size and position sliders plus number inputs, a common-size dropdown from 64 to 3840, and center-horizontal/vertical buttons
  • Background canvas: None/Black/White/Transparent; canvas W/H 16-4000 px (starts at the crop size plus 100 px margin on each side); drag or slider to place the crop
  • Live result preview, redrawn about 0.1 s after each change from the already-decoded image
  • Decodes JXL and HEIC/HEIF with WASM for display
How to use it
  1. Drop an image or click to browse
  2. Pick an aspect or WxH preset, or drag/resize the crop box (or type values)
  3. Optionally pick a background color and set the canvas size and placement
  4. Check the Result preview and click Export
Inputs
  • image/* plus .jxl; JXL/HEIC decoded in the browser, other formats must be browser-decodable
  • One image at a time; no size cap
Outputs
  • PNG only, downloaded as <name>-cropped.png
  • Transparent background is kept in the PNG
Limits and notes
  • Crop size is clamped to the image bounds, minimum 16 px
  • Rectangle crops only; only the bottom-right corner resizes
  • An output larger than this device can draw shows an error on Export
  • Nothing is stored locally

Frequently Asked Questions

How does the Image Cropper work?

The image is shown with a crop box that you drag, resize from the corner, or set with exact X, Y, width and height values. The box is kept inside the image and at least 16 px, and is locked to an aspect ratio if you pick one. On every change the selected region is drawn onto an HTML canvas with drawImage(). If you choose a background, it is drawn onto a larger black, white or transparent canvas at your chosen position. The result is exported as a PNG, all in your browser.

How do I crop an image to a specific size?

Upload your image, then choose from preset dimensions like 1080x1080 for Instagram, 1920x1080 for 1080p, or icon sizes like 512x512. You can also set any custom width and height, or drag to select a freeform crop area.

Can I add a background or padding around my cropped image?

Yes. Enable the background canvas feature to place your cropped image on a larger canvas with black, white, or transparent background. Drag to reposition your image on the canvas, or use the center buttons for precise placement.

What aspect ratios are available?

Built-in presets include 1:1 (square), 4:3, 3:2, and 16:9. You can also pick paired dimension presets for social media (Instagram, Facebook, Twitter), screen resolutions (720p, 1080p, 4K), photo prints (4x6, 5x7, 8x10), and icon sizes.

Can I crop images with a transparent background?

Yes. Choose the transparent background option to place your cropped image on a transparent canvas, then export as PNG to preserve transparency. Perfect for logos, icons, and design assets.