Crop Image Widget

This free crop image widget lets visitors cut their photos to the right shape on your website, before they upload them anywhere. They can choose a ratio such as 1:1 or 16:9, drag the crop box, or type an exact size in pixels, then download the cropped image in full quality. If your site asks people for profile photos, banners or thumbnails, this saves them from badly framed uploads.

Live preview – this is the real widget. Try it.

Customise your widget

The widget grows and shrinks to fit its content automatically, so visitors never see a scroll bar inside it.

Free forever. No sign-up, no API key, no ads inside the widget. Paste it into any page (WordPress: Custom HTML block).

What the Crop Image widget does

The widget runs our Crop Image tool with its full editor. It is quick to learn, even for visitors who have never cropped a photo:

  • Aspect ratio presets such as 1:1, 4:5, 16:9 and 9:16, plus Free crop.
  • Drag handles on every corner and edge, with touch support on phones.
  • Exact width and height in pixels.
  • Rotate by 90 degrees and flip before cropping.
  • Full-quality output as JPG, PNG or WebP, from JPG, PNG, WebP and iPhone HEIC photos.

Which ratio to use for each platform and tips for a good crop are on the Crop Image page. The full tool page also has an Expand (AI) option for making photos bigger instead of cutting them.

Who should add a crop image widget to their website

Wherever people upload photos that must fit a shape, a cropper prevents problems. Good examples:

  • Profile photo upload pages – HR portals, membership sites and clubs get far better member photos when people crop to a square first.
  • Social media blogs – a guide to Instagram or LinkedIn sizes can include the cropper so readers crop to 4:5 or 1:1 immediately.
  • School and yearbook websites – students submitting yearbook photos can all crop to the same ratio, which makes layout much easier.
  • Event and conference sites – speakers sending headshots can crop them to the ratio your programme uses.
  • Directory and listing sites – business owners adding a logo or cover photo can crop it to the size your listing card shows.

How your visitors use it

  1. The visitor chooses an image or drops it on the widget.
  2. They pick a ratio, or keep Free crop for any shape.
  3. They drag the box, resize it from the corners, or type the width and height in pixels.
  4. They rotate or flip if needed, then click Download cropped image.

Tip: tell visitors which ratio your site needs, for example “crop to 1:1 for your profile photo”, in the line above the widget.

How to add the Crop Image widget to your website

Set the colour and size in the box above, click Copy code, then paste the code where the Crop Image widget should appear. It is plain HTML (an iframe, one credit line and a tiny height script), so you need no account, API key or plugin.

PlatformWhere to paste the code
WordPressAdd a Custom HTML block and paste. Elementor: HTML widget. Classic editor: Text tab.
Any HTML sitePaste anywhere inside <body>. No jQuery or other library needed.
BloggerPost editor in HTML view, or Layout › Add a Gadget › HTML/JavaScript for every page.
WixAdd › Embed Code › Embed HTML, paste, then set the box height yourself (about 650–750 px).
ShopifyOnline Store › Pages › Show HTML (<>), or a Custom Liquid section in the theme editor.
Google SitesInsert › Embed › Embed code, then drag the box tall enough for the whole tool.

Where to put it: Put it above your member registration form, with a note on the ratio you need. Place it just before your photo upload field, so the cropped image is ready to upload. To remove the widget later, simply delete the code.

Customise the Crop Image widget

SettingOptionsTip for the Crop Image widget
Button colourAny colour (colour picker)Use your brand colour so the active ratio and Download button match your site.
Maximum width760 px (recommended), 600 px, 480 px for sidebars, or full width760 px or full width gives visitors a large photo to crop. Avoid 480 px except on very narrow layouts.
Starting height480, 560 (recommended) or 680 pxChoose 680 px so the photo and controls fit without jumping. It still adjusts itself.

Size and mobile

The crop box works with touch: visitors drag with one finger and resize from the corners. On phones the photo is shown as large as the screen allows, with the ratio buttons and size fields below it. The iframe never gets wider than your content column, and its height adjusts as the editor opens.

Light on your page and always up to date

The iframe uses lazy loading, so the browser only loads the widget when a visitor scrolls near it. Inside the widget there are no ads, no analytics and no tracking scripts. Cropping uses the browser’s built-in image tools, and the HEIC decoder is loaded only for iPhone photos. The heavier AI code for expanding images is not loaded at all unless a visitor switches to that option.

Any improvement to the cropper, such as new ratio presets or smoother touch control, reaches your widget automatically. You do not need to change the code.

When the Crop Image widget is not the right fit

  • Cropping only removes parts of a photo; it cannot make an image larger in pixels. For that, visitors need the Image Resizer widget or our AI Image Upscaler.
  • For round profile pictures with a transparent background, our Circle Crop Image tool is the better fit.
  • The cropper works on one image at a time, so it is not meant for cropping large batches.
  • On Wix and Google Sites the widget cannot resize itself, because those builders keep embedded code in a closed frame. Set a fixed height there.

Privacy for your visitors

Photos are cropped inside the visitor’s browser and never uploaded to our server or yours. Members can prepare their profile photo privately before deciding to upload it to your site. The widget asks for no account, sets no cookies and shows no ads.

Is the crop image widget free?

Yes. It is free for any website, with no usage limits, no sign-up and no API key. Please keep the credit line below it.

Can visitors crop to an exact size like 1080 × 1080?

Yes. They type the width and height in pixels, and the crop box resizes to that size.

Does cropping reduce quality?

No. Only the outer parts are removed; the remaining pixels stay as they are. JPG files are re-saved at high quality.

Does it work with touch screens?

Yes. Visitors can drag and resize the crop box with their fingers on phones and tablets.

Are photos uploaded anywhere?

No. Cropping happens in the visitor’s browser and the photo never leaves their device.

Will the widget slow my site?

No. It is lazy-loaded, has no ads or trackers, and does all its work on the visitor’s device.

Can I tell visitors which ratio to use?

Yes. Write the ratio your site needs above the widget, for example “choose 1:1 for profile photos”.

Open the full Crop Image tool →