Image Resizer Widget

Add this free image resizer widget to your website and let visitors change the width and height of their photos without opening another site. They can resize in pixels, centimetres, inches or percent, keep the proportions locked, and download one image or a whole batch. It is one copy-paste code, it costs nothing, and the photos never leave the visitor’s device. Try it below, then copy your code.

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 Image Resizer widget does

Inside the frame runs our full Image Resizer, the same one used by thousands of people on our site. It handles the boring part of resizing correctly, so your visitors get clean results:

  • Resize by pixels, percentage, centimetres or inches.
  • An aspect-ratio lock, so faces and products never look stretched.
  • Correct DPI written into the file when resizing in cm or inches, so prints come out at the chosen size.
  • High-quality step-by-step downscaling with no jagged edges.
  • Bulk resizing with ZIP download, saving as JPG, PNG or WebP, and HEIC, TIFF, AVIF and SVG files as input.

The tool page explains which unit to choose and lists common sizes for wallpapers, blogs and social posts. Send curious visitors there with a link to the full Image Resizer.

Who should add a image resizer widget to their website

Resizing is a daily job for many audiences. The widget fits best on these kinds of sites:

  • Social media agencies and blogs – a post listing the latest post and banner sizes is far more useful with a resizer right under the table.
  • Print shops and photo labs – customers often send photos at the wrong size. A resizer in centimetres or inches on your “prepare your files” page means fewer back-and-forth emails.
  • E-commerce seller guides – marketplaces ask for product photos of a certain width. Sellers can resize the whole batch on your guide page.
  • Photography blogs – readers learning about web exports can make web-size copies of their shots while they read.
  • Club, church and community websites – volunteers who update the site can resize event photos before uploading, without installing software.

How your visitors use it

  1. The visitor adds one or more images to the widget.
  2. They choose Resize by: pixels, percentage, centimetres or inches.
  3. They type the new width or height. With the lock on, the other side is calculated automatically.
  4. They pick the output format and download the image, or all images as a ZIP.

How to add the Image Resizer widget to your website

Set the colour and size in the box above, click Copy code, then paste the code where the Image Resizer 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 under your “recommended image sizes” table so readers can act on it straight away. Place it next to your sizing instructions, so the numbers and the tool are side by side. To remove the widget later, simply delete the code.

Customise the Image Resizer widget

SettingOptionsTip for the Image Resizer widget
Button colourAny colour (colour picker)Choose your brand colour for the Choose images and Download buttons.
Maximum width760 px (recommended), 600 px, 480 px for sidebars, or full width600–760 px gives the resize options enough room. Use full width on a dedicated tools page.
Starting height480, 560 (recommended) or 680 pxStart at 560 px. The widget grows when visitors open the settings or add many files.

Size and mobile

The resizer is responsive: on a phone the width, height and unit fields stack under each other and remain easy to tap. Because the iframe is 100% wide with a maximum width, it never overflows your layout. The height adjusts itself as visitors add files or change options, so the page around it simply moves down instead of showing a second scroll bar.

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. The resizer itself is small; extra decoders are fetched only when needed, for example the HEIC decoder when an iPhone photo is added. Resizing uses the visitor’s own device, so your server load does not change, however many people use it.

There is nothing to install or maintain. New input formats, better downscaling or interface improvements arrive in your widget automatically, because it always loads the current version from alltoolwidgets.com.

When the Image Resizer widget is not the right fit

  • Making a small image much bigger cannot add real detail. If your visitors mainly want to enlarge photos, link to our AI Image Upscaler instead.
  • If the goal is a smaller file size in KB rather than new dimensions, the Resize Image in KB widget or the Image Compressor widget fits better.
  • Very large batches of camera photos use a lot of memory, so older phones may need to resize in smaller groups.
  • 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

Every photo is resized inside the visitor’s browser. Nothing is uploaded to our server or yours, so print customers can prepare personal family photos without worry. The widget needs no account, sets no cookies and has no advertising, which keeps your site’s privacy policy simple.

Is the image resizer widget free to use on my site?

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

Can visitors resize images in cm or inches?

Yes. They can choose pixels, percentage, centimetres or inches. For cm and inches the tool also writes the DPI, so prints come out at the right size.

Are the photos uploaded?

No. All resizing happens in the visitor’s browser and the photos never leave their device.

Will it slow down my page?

No. The iframe loads lazily, contains no ads or analytics, and does the work only when a visitor adds an image.

Can visitors resize many images at once?

Yes. They can select many images, apply one size and download everything as a ZIP file.

Can I make the widget fit my sidebar?

Yes. Choose 480 px as the maximum width. The layout adapts to narrow spaces.

Open the full Image Resizer tool →