Image Crop + Rotate Tool

Lightweight browser-only editor with free crop, fixed ratios, 90-degree rotation, arbitrary angle rotation, flips, and export conversion.

Drag and drop an image

Supports JPG / PNG / WebP (auto-limited to max 3000px)

How to use

  1. 1

    Upload an image via drag-and-drop or file picker.

  2. 2

    Move/resize the crop box and choose an aspect preset if needed.

  3. 3

    Adjust 90-degree rotation, custom angle, and horizontal/vertical flip.

  4. 4

    Pick output format and quality, then download.

Features

  • Free crop + fixed ratios (1:1, 16:9, 4:5)
  • 90-degree rotation and -180 to 180 free-angle rotation
  • Horizontal and vertical flip
  • Before/After comparison slider
  • PNG/JPEG/WebP export with quality control (0.70 to 1.00)
  • Memory-efficient toBlob pipeline

FAQ

Q. Is my image uploaded to a server?

A. No. All editing runs inside your browser and no image data is transmitted.

Q. Why limit image size to 3000px?

A. To keep memory and performance stable on mobile devices, large images are normalized to a max long edge of 3000px.

Q. Why does quality slider not affect PNG?

A. PNG is lossless, so Canvas ignores quality for PNG output.

Technical notes

Image processing is built with the HTML5 Canvas API and uses toBlob instead of toDataURL for better memory behavior.

Rotation and flips are applied on an off-screen canvas before extracting the final crop region.

For JPEG input, EXIF Orientation is parsed and corrected at load time.

Privacy

All image data is processed on-device and never uploaded.

Output blobs are kept temporarily and safely released with URL.revokeObjectURL.