inyourbrowser.com

Crop image online

Image cropper is a browser-based tool that extracts a chosen area from any photo. It supports free, 1:1, 16:9, 4:3, 9:16, and circular crops, lets you drag handles to resize the selection, and downloads as JPEG or PNG. The tool runs in your browser.

Drop an image or click to browse

JPEG, PNG, WebP, stays in your browser

How to crop an image

  1. Drop your image onto the upload area or click to browse for a file.
  2. Choose an aspect ratio. Free, 1:1, 16:9, 4:3, 9:16, or Circle.
  3. Drag the crop box to reposition it, or drag the corner handles to resize.
  4. Select JPEG or PNG format and click Crop & download to save the result.

Common uses

  • Cropping a photo to square for a profile picture or social media post, then resize to exact pixel dimensions if needed
  • Trimming whitespace or unwanted edges from a screenshot or product image, then compress the result before uploading to a CMS
  • Creating a circular avatar with a transparent background for use on any site

Technical specification

  • Algorithm or formula: Pointer drags update a rectangular selection in image-natural coordinates. On export, the selected region is drawn to a new canvas sized to match, then encoded with canvas.toBlob. Circular crop uses arc and clip with a transparent PNG background.
  • Browser API or library: Canvas 2D API and pointer events. No external library.
  • Input limits: Files up to 50 MB and 50 megapixels.
  • Output: JPEG (.jpg) or PNG (.png). Circle preset forces PNG so transparency is preserved.
  • Known limitations: No arbitrary-angle rotation before crop. Aspect-ratio presets are fixed; custom ratios must be approximated in free mode.

Frequently asked questions

Is my image uploaded to a server?
No. All cropping is performed using the Canvas API running entirely in your browser.
What image formats are supported?
You can upload JPEG, PNG, WebP, and most other common image formats. The cropped image downloads as JPEG or PNG.
Why does circle crop require PNG?
The circular crop uses a transparent background to show the round shape. PNG supports transparency. JPEG does not.
Does cropping reduce image quality?
Cropping only selects a portion of the image, it does not add compression. Download as PNG to preserve full quality, or JPEG for a smaller file.

Reviewed and tested May 26, 2026.