OfflaneAI

Crop, rotate & flip —
exact pixels, any ratio, no upload

Drag the corners or pick 1:1, 4:5, 9:16, 16:9, A4 and more; rotate by 90°, straighten a tilted horizon with the slider, flip, set an output width and download. Works with HEIC from iPhone. Nothing leaves your device.

  • ✂️ Any ratio + social presets
  • ↻ Rotate, straighten, flip
  • 📐 Exact pixel readout
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

How do I crop to an exact size, for example 1080×1080?

Choose the 1:1 ratio, drag the box to the part you want, then type 1080 in “Output width” — the height follows the ratio. The button shows the final size before you download.

How do I straighten a crooked photo?

Move the “Straighten” slider until the horizon is level; the image rotates around its centre. Then drag the crop box inside the picture to cut off the empty corners.

Does cropping reduce quality?

No — cropping only removes pixels, the rest are copied exactly. PNG and WebP-lossless keep everything; JPG at 92% is visually identical. Only the “Output width” box resamples the image.

How to crop a photo

  1. Open the photo. Drop a JPG, PNG, WebP or HEIC file on the upload area, click it to choose one, or paste with Ctrl+V. The tool works on one picture at a time.
  2. Fix the orientation. Use “↺ 90°” and “↻ 90°” for a sideways photo and the two “Flip” buttons to mirror it.
  3. Choose an “Aspect ratio”. “Free” lets you drag any rectangle; twelve fixed ratios lock the shape.
  4. Place the box. Drag a corner or an edge to resize it, drag inside it to move it.
  5. Set the extras if you need them: “Straighten”, “Output width (px, optional)”, “Format” and “Quality”.
  6. Press “Crop & download”. The button shows the final pixel size, for example “Crop & download · 1080×1350”, and the file is saved at once as name-crop.jpg.

The crop box

Where it starts

When a photo opens, the box covers 90% of it, with a small margin on every side. “Select all” stretches the box over the whole picture and sets the ratio to “Free”. Press it when you only want to rotate or flip and keep every pixel.

Handles

There are eight: four corners and four edges. With a fixed ratio the box keeps its shape whichever handle you pull. The box cannot be made smaller than 2% of the picture’s side.

The grid of thirds

Two lines in each direction divide the box into nine fields. Put the horizon on one of the horizontal lines, or the main subject where two lines cross, and the picture usually looks more balanced than with the subject dead centre.

The pixel readout

Below the picture you see a line such as “Selection: 2400×3000 px at (310, 122)”. The first pair is the size of the selection in the photo’s own pixels; the second is the position of its top-left corner. Check it before you download: if a platform needs 1080 px and your selection is 640 px wide, the crop is too tight.

Aspect ratios and what they are for

Ratio in the menuTypical use
1:1 · Square / InstagramProfile pictures, square posts, product thumbnails
4:5 · Instagram portraitPortrait feed posts
9:16 · Story / Reel / TikTokFull-screen vertical content
16:9 · YouTube / TVVideo thumbnails, slides, widescreen wallpapers
4:3Presentation slides in the classic format, tablet screens
3:2 · PhotoLandscape prints of 10×15 cm (4×6 in)
2:3 · Portrait photoVertical 10×15 cm prints, Pinterest pins
3:4Vertical photos for catalogues and listings
21:9 · CinematicUltrawide banners and a film-like frame
A4 · 210×297Photographed documents and printable pages
Facebook cover 820×312Cover image of a Facebook page
X/Twitter header 3:1Profile header

A ratio fixes the shape, not the pixel count. The pixel count comes from how large you draw the box, or from “Output width”.

Rotate, flip and straighten

Quarter turns

“↺ 90°” turns the picture left and “↻ 90°” turns it right. Two presses turn it upside down. Pixels are moved to their new place without being recalculated, so the turn itself costs no sharpness.

Flip

The first “Flip” button mirrors left and right. Use it for a selfie that came out mirrored or a photo taken through a mirror, where text reads backwards. The second one mirrors top and bottom.

Straighten

The slider goes from −45° to 45° in steps of 0.5°. The picture turns around its centre and the working area grows, so no part of the photo is lost. The new empty corners are white when the format is JPG and transparent for PNG and WebP. For a larger angle, combine a quarter turn with the slider.

Unlike a quarter turn, straightening recalculates every pixel. The softening is slight, but do it once and not in several rounds of download and re-open.

Output width, format and quality

Output width

Leave the field empty and one selected pixel becomes one output pixel. Type a number, from 16 to 8000, and the selection is scaled to that width; the height follows the shape of the box. A width larger than the selection enlarges the picture and makes it softer.

Format

JPG, PNG or WebP. The menu starts on JPG, or on PNG when you opened a PNG. Keep PNG for screenshots, graphics and anything with transparency; use JPG or WebP for photographs.

Quality

From 50% to 100%, starting at 92%. It applies to JPG and WebP and is hidden for PNG.

A working order that avoids rework

  1. Quarter turns and flips.
  2. Straighten.
  3. Aspect ratio.
  4. Position and size of the box.
  5. Output width, last.

Straightening changes the size of the working area, so a box placed earlier ends up over a different part of the picture. Setting the width last means the number on the button is the one you get.

Two habits help with composition. Leave more room on the side a person is looking or moving towards than behind them. And crop a little looser than feels right for social networks, because profile pictures are shown in a circle and feeds trim previews.

What the cropper does not do

  • Batches. For many photos at one target size, the image resizer crops each one around its faces automatically.
  • Very large originals at full size. A photo longer than 6000 px on one side is reduced to 6000 px when it opens.
  • Shapes other than rectangles. There is no circle, freehand or perspective crop for documents photographed at an angle.
  • Removing something from the middle. Cropping only trims the edges; to erase a person or object inside the frame use the object remover.
  • ID photo rules. Head size and print layout for documents are handled by the passport photo maker.
  • Metadata. Camera data, date and GPS position are not copied to the cropped file.

Where the editing happens

The photo is drawn on a canvas inside the page, and every turn, flip and crop is a drawing operation done by your browser. No AI model is involved and nothing is fetched except a HEIC decoder the first time you open an iPhone photo. The picture is not sent to a server, so a scan of a contract or an ID card can be trimmed here without leaving your device.

Crop and rotation problems

The box will not take the shape I want

A fixed ratio is selected. Set “Aspect ratio” to “Free”.

The download is slightly smaller than the original

The starting box covers 90% of the photo. Press “Select all” before downloading if you want the full picture.

White corners appeared after straightening

They are the empty areas created by the turn. Drag the box so that it sits inside the photo, or choose PNG to make the corners transparent.

The result looks soft

“Output width” is larger than the selection. Clear the field to keep the original pixels.

The file is too big for an upload form

Lower “Quality” to about 80%, or bring the cropped file under a limit in KB with the image compressor.