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. Runs 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) at quality 0.92, 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

Which aspect ratios and output formats can I crop to?
Six aspect ratios: Free (any rectangle), 1:1 (square), 16:9, 4:3, 9:16 (portrait), and Circle. The cropped image downloads as JPEG or PNG, with PNG required for circular crops because they need transparency. All cropping runs in your browser using the Canvas API.
Is my image uploaded to a server?
All cropping is performed in your browser using the Canvas API. Our servers are not involved at any point.
What image formats are supported?
You can open 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 itself changes nothing inside the box. PNG downloads keep those pixels exactly; JPEG downloads are re-encoded at quality 0.92, which adds a little compression in exchange for a smaller file.

Related tools

Resize image
Scale to any size or use platform presets. Instagram, LinkedIn, WhatsApp and more.
Rotate & flip
Rotate images 90°, 180°, 270° or flip horizontally or vertically. Download as PNG or JPG.
Favicon generator
Generate favicon PNGs in 16, 32, 48, 64, 192, and 512 pixel sizes from any image. Runs in your browser.
Crop PDF
Trim PDF pages with a draggable rectangle. Lock to A4, Letter, or square. Applied via pdf-lib in your browser.
QR code scanner
Decode QR codes from uploaded images or your webcam. All decoding runs in your browser.

Reviewed and tested September 30, 2026.