Cropped Image
{{ outputWidth }} × {{ outputHeight }} • {{ outputSizeKB }} KB
{{ originalWidth }} × {{ originalHeight }} Source {{ savingPercent }} % Smaller {{ formatLabel }}
Source

{{ dropZoneText }}

:
{{ qualityPct }} %
Crop source
Arrows: move • +/-: zoom • [ ]: rotate • H/V: flip • E: export • R: reset view • Ctrl/⌘+V: paste image
Avatar (circle)
Original
Original
{{ originalWidth }} × {{ originalHeight }} • {{ originalSizeKB }} KB
Cropped
Cropped
{{ outputWidth }} × {{ outputHeight }} • {{ outputSizeKB }} KB
Metric Value Copy
{{ r.label }} {{ r.value }}

        
:

Introduction:

Image cropping is the act of selecting part of a picture to control framing, shape, and size. It helps you match exact aspect ratios and pixel sizes for predictable previews across social and messaging. A consistent canvas avoids clipping and keeps faces and text in view.

You choose a preset or set your own ratio and then drag the frame until the composition feels right. Enter a target width or height to scale cleanly or both when you need an exact fit. Pick a format that suits transparency or file size and then save.

A quick example is a profile photo that must be square at 1080 by 1080 for a channel. Select the square preset, refine the crop around the face, and export a compact file that looks crisp.

Be mindful that enlarging beyond the crop can soften detail so starting from a high resolution source gives better results.

With careful inputs you get consistent visuals that fit neatly wherever they appear.

Technical Details:

The engine observes source pixel dimensions, a crop rectangle in pixels, and an aspect ratio defined as width divided by height. It reports output width, height, and file size in kilobytes, and it shows a saving percentage relative to the original.

Cropping selects an integer rectangle and a renderer draws that region at requested output dimensions. Compression uses a quality factor Q from 0.10 to 1.00 for JPEG and WebP to balance size and fidelity; PNG ignores Q and preserves an alpha channel. In this export path, JPEG and WebP flatten transparency to a chosen background color, while PNG retains transparency.

When a size target in kilobytes is set, the quality tuner performs a bounded binary search to approach the target within about five percent. If a requested output is larger than the crop’s native pixels, an upscaling warning appears because sharpening cannot restore lost detail. File sizes display to two decimals and all crop coordinates are integers.

r = w h
Saving% = ( 1 Sout Sorig ) × 100
Symbols and units
Symbol Meaning Unit/Datatype Source
Wo, HoOriginal width and heightpxInput
x, yCrop top‑left coordinatespx (int)Derived
w, hCrop width and heightpx (int)Derived
rAspect ratio w/hratioDerived
Wr, HrRequested output width and heightpx (0 keeps crop)Input
Wout, HoutFinal output width and heightpxDerived
QCompression quality factor0.10–1.00Input/Derived
Sorig, SoutOriginal and output file sizesKB (1024 bytes)Derived
Worked example. Original Wo×Ho = 4032×3024 and Sorig = 1024.00 KB. Crop to w×h = 2160×1350, so r = 2160/1350 = 1.6. Set Wr = 1080 and Hr = 1350. Target Sout = 300 KB in JPEG; the tuner selects a suitable Q and produces about 300 KB (within ~5%). Saving% = (1 − 300/1024)×100 ≈ 70.7%.

Processing Pipeline:

  1. Load an image by drag‑drop, click to browse, or paste from the clipboard.
  2. Detect natural dimensions and compute original size in KB to two decimals.
  3. Choose aspect: free, original, fixed list, or custom W:H.
  4. Adjust the crop; coordinates and sizes are rounded to integers.
  5. Set requested output width and/or height; zero keeps the crop dimension.
  6. Pick format; select background color for JPEG/WebP; PNG ignores background.
  7. If a size target is set for JPEG/WebP, run a nine‑step binary search on Q.
  8. Render to a canvas with high quality smoothing and create a Blob.
  9. Publish a download URL and show output dimensions and size in KB.

Presets:

Aspect and size presets
Preset Aspect Width Height Notes
Instagram · Square1:110801080Square crop
Instagram · Portrait4:510801350Tall post
Instagram · Landscape191:1001080566Wide post
YouTube · Thumbnail16:91280720HD frame
X · Header3:11500500Cover image
LinkedIn · Banner4:11584396Company page
OpenGraph120:631200630Link preview
Avatar1:1512512Circle preview
App Icon1:110241024High‑res square

Validation & Bounds:

Inputs, bounds, and behavior
Field Type Min Max Step/Pattern Notes
ImageFile (image/*)Drag‑drop, browse, or paste
AspectEnumfree|original|1:1|16:9|4:3|3:2|2:3|customCustom uses W:H integers ≥ 1
FormatEnumimage/png|image/jpeg|image/webpPNG lossless; JPEG/WebP lossy
QualityRange101001Disabled for PNG; default 92%
Output widthNumber0Zero keeps crop width
Output heightNumber0Zero keeps crop height
Target sizeNumber (KB)0Auto‑tunes JPEG/WebP quality
BackgroundColor#RRGGBBUsed for JPEG/WebP; PNG ignores

I/O Formats:

Input and output formats
Input Accepted Families Output Encoding/Precision Rounding
Image file or clipboard image/* PNG, JPEG, WebP Q for JPEG/WebP; PNG lossless Sizes to two decimals; pixels to ints

Networking & Storage:

  • All processing occurs in the browser; no network requests are made during export.
  • Object URLs are created for previews and downloads and are revoked when replaced.
  • Clipboard copy actions require user gesture and permission from the browser.

Assumptions & Limitations:

  • Quality auto‑tuning searches between 0.20 and 0.95 and stops after nine iterations.
  • Target size matching tolerates about ±5% difference from the requested kilobytes.
  • Transparency is flattened for JPEG/WebP using the chosen background color.
  • PNG ignores quality and background and preserves transparency.
  • Upscaling may soften details; a warning appears when requested pixels exceed the crop.
  • Crop coordinates and sizes are integer‑rounded from device pixels.
  • File size depends on image content; flat areas compress more than noisy textures.
  • Heads‑up Very large images may strain memory on low‑end devices.

Edge Cases & Error Sources:

  • Non‑RGB color profiles may preview differently across devices.
  • Very small crops can exceed target size even at low quality.
  • Requested width or height of zero keeps the crop dimension by design.
  • Custom ratio values below 1 are clamped to 1.
  • Clipboard pastes choose the first image item if multiple are present.
  • EXIF orientation is checked; rotated sources may change apparent width and height.
  • Transparency is discarded for JPEG/WebP due to background flattening.
  • Rapid repeated exports may reuse cache briefly until URLs are revoked.
  • Rounding to integers can shift the crop by one pixel on dense screens.
  • Saving percentage is undefined if the original size is unavailable.

Privacy & Compliance:

Files are processed locally; nothing is uploaded. Clipboard operations follow browser permissions. No personal data is transmitted or stored server‑side.

Step‑by‑Step Guide:

Image cropping to a specific aspect and pixel size, then export in your chosen format.

  1. Import an image by drag‑drop, browse, or paste Source.
  2. Pick a preset or set a custom ratio Aspect.
  3. Adjust the crop to include the content you want Crop.
  4. Enter output width and/or height; leave zero to keep the crop Size.
  5. Select PNG, JPEG, or WebP and set quality if enabled Format.
  6. Optionally set a KB target; choose a background for non‑transparent formats.
  7. Export and download; copy details or JSON if needed.

Example: Choose “YouTube · Thumbnail,” fine‑tune the frame, and export a 1280×720 JPEG with a 300 KB target for quick page loads.

  • Hold Shift while using arrow keys to move by 10 pixels.
  • Use [ / ] to rotate, + / to zoom, H/V to flip.

You now have a correctly sized image ready for consistent placement.

FAQ:

Is my data stored?

No. Images are processed in the browser and not uploaded. Download links use temporary object URLs that are revoked when replaced.

Clipboard access may prompt for permission.
How accurate is size targeting?

The tuner aims for your kilobyte target within about five percent using a bounded binary search on quality for JPEG and WebP.

Does it ever upscale?

If requested output exceeds the crop’s pixels, a warning appears. You can still export, but detail may soften.

Which formats can I export?

PNG, JPEG, and WebP. PNG is lossless with transparency; JPEG/WebP are lossy and use a background color when flattening transparency.

How do I set a 16:9 crop?

Choose the 16:9 aspect from the list or select the YouTube thumbnail preset for a ready‑made 1280×720 export.

What does a “borderline” result mean?

If the output is near your KB target, minor content changes can tip the size. Re‑export once if you need to stay under.

What does it cost?

No pricing or licensing terms are presented here. Refer to the hosting site for any applicable terms.

Troubleshooting:

  • Import fails: ensure the file is an image type recognized by your browser.
  • No transparency: use PNG or avoid setting a background for transparent results.
  • Quality slider disabled: only PNG ignores quality; switch to JPEG or WebP.
  • Cannot meet KB target: reduce dimensions or accept a slightly larger file.
  • Crop looks soft: avoid upscaling; start from a larger source or crop tighter.
  • Copy actions fail: perform a user gesture and allow clipboard permissions.
  • Download name mismatch: the file uses the source name with a -crop suffix and the chosen extension.
  • Colors look off: color‑managed displays may preview differently across apps.

Advanced Tips:

Tip Set only one dimension when maintaining aspect; the other will follow cleanly.

Tip Use a neutral background color when flattening transparency for assets with drop shadows.

Tip For consistent social posts, stick to one preset across a campaign and reuse it.

Tip Keep text away from edges; many platforms add overlays that can hide corners.

Tip Rotate first, then crop, to avoid trimming important content by mistake.

Tip When targeting a KB budget, lower dimensions slightly before lowering quality.

Glossary:

Aspect ratio
Width divided by height, expressed as W:H.
Crop rectangle
The selected region of the image in pixels.
Alpha channel
Per‑pixel transparency stored alongside color.
Quality factor (Q)
A 0.10–1.00 value controlling lossy compression strength.
Upscaling
Rendering to more pixels than the source crop contains.
Kilobyte (KB)
Reported as 1024 bytes, displayed to two decimals.