Private Browser Utility

Image Resizer & WebP Converter Resize and Convert Images Without an Upload

Drop an image, set the pixel dimensions, pick a format, and download the result. Everything happens inside your browser with the HTML canvas API, so the file never leaves your device.

Last Updated: 27 October 2026

Choose an image

Click the box or drag a file into it. The image is read into memory and shown as a preview before anything else happens.

Output ready
—
Dimensions, format, and file size comparison appear below.
Original size——
Output size——
Saved—Bytes and percentage
Format——
What this usually means

—

Resized image preview

Output preview at the chosen dimensions.

Optional AI insight

A short written note on your conversion, with reminders on when to use each format and what the numbers actually tell you. Nothing leaves your browser until you press the button, and only the anonymous summary on this page is used to generate the response. Nothing is stored. Your image is never part of the payload.

What this tool actually does

The image resizer does three things. It reads a picture into memory, it draws that picture onto an HTML canvas at whatever pixel dimensions you set, and it re-encodes the canvas as a new file in WebP, JPEG, or PNG. Nothing else. There is no server involved, no account, no session, and no upload. The whole pipeline runs inside your browser tab, and the moment you close it, the file disappears from memory.

That simplicity is the point. Most image resizing on the web happens on a server, which means sending the original file over the network and receiving the result back. That works fine for holiday photos but is a poor fit for anything sensitive, and it adds a round trip that can be slow on a mobile connection. Doing the work in the browser removes both problems at once.

What the tool does not do is edit your image. It does not crop, rotate, sharpen, adjust colours, or remove objects. It scales the whole picture to the new dimensions you give it and changes the file format. For anything more involved, you want a proper image editor. For a quick resize or format conversion before uploading something, this is faster than opening one.

How the browser resizes an image

The browser has a built-in drawing surface called a canvas, and the canvas API includes a method for drawing images at a chosen size. The sequence this tool follows is straightforward. First, the file you selected is read into memory as a blob. Second, the blob is loaded into an image element. Third, a canvas is created with a width and height equal to the output dimensions you set. Fourth, the image is drawn onto that canvas, which scales it in the process. Fifth, the canvas is asked to produce an encoded image file at the chosen quality.

Because the browser is doing the drawing, the resampling method is whatever the browser chooses internally. In practice every modern browser uses a decent interpolation algorithm that produces a clean result when scaling down and an acceptable one when scaling up. That is why a resized photo looks sharp at the output dimensions, and why an enlarged photo looks soft. The canvas can only work with the pixels it already has.

What the canvas does not preserve is most of the original metadata. When an image is drawn onto a canvas and re-encoded, the EXIF block is generally stripped. That includes the camera model, the shooting date, and, most importantly for privacy, any GPS coordinates that were embedded by the phone or camera. If you are posting a photo online and want to remove that information, running it through this tool is one way to do it. The other way is to use a dedicated metadata stripping tool, but the effect on the visible image is the same.

Choosing between WebP, JPEG, and PNG

The three output formats cover most of what you would need, and the choice between them comes down to a simple trade off between file size, quality, and features.

WebP is the modern default. It was released by Google in 2010 and is now supported by every major browser, including all versions of Chrome, Firefox, Safari, and Edge from the last several years. WebP typically produces files twenty five to thirty five per cent smaller than an equivalent JPEG at the same visual quality, and it supports both lossy and lossless compression as well as an alpha channel for transparency. For most website images, it is the format to choose unless you have a specific reason not to.

JPEG remains the safe, universal choice. It is a lossy format, which means it discards information to save space, and it has been optimised for photographs for over thirty years. It does not support transparency, so a logo or icon saved as JPEG will come out with a white background. Its main advantage is compatibility with older systems, older email clients, and software that was never updated to handle WebP.

PNG is a lossless format, which means the file preserves the original pixel data exactly. It supports full transparency and is the right choice for logos, icons, screenshots with sharp text, and any graphic where edges matter more than file size. The trade off is size: a PNG photograph can easily be four or five times larger than the same image saved as JPEG at high quality. For photographs, PNG is usually the wrong choice unless transparency is essential.

What the quality slider changes

The quality slider only affects lossy formats, which are WebP and JPEG. At a setting of one hundred, the encoder tries to preserve as much information as possible, which produces the largest file. At a setting of ten, it discards aggressively, which produces the smallest file and the most visible artefacts.

The artefacts of over-compression show up first in fine detail. Text becomes fuzzy at the edges, hair and fabric lose definition, and smooth gradients like skies or skin tones develop visible bands. Because these artefacts are usually most obvious at one hundred per cent zoom, which is not how an image is normally viewed on a page, a lower quality setting can look fine in practice even when it looks poor at full magnification.

The right setting depends on the image. For a large hero image on a landing page, eighty or eighty five is a safe default that produces a small file with no obvious loss. For a small thumbnail, seventy five is often indistinguishable from one hundred. For an image where sharp text needs to survive compression, like a product screenshot, ninety is worth trying. PNG is a lossless format, so the slider does not change PNG output in the same way; a PNG saved from the same canvas will have the same file size regardless of the quality setting.

The counterintuitive case. Re-encoding an image that was already heavily compressed at a higher quality setting can produce a larger file than the original. The encoder is preserving compression artefacts from the first pass. If you are trying to shrink an already-optimised photo, try WebP at eighty five and compare. If the file is still bigger than the original, the original was already well optimised and re-encoding will not help.

A worked example with real numbers

Take a photo straight out of a phone camera. It is 4032 pixels wide and 3024 pixels high, which is the standard output from a twelve megapixel sensor. The file size on disk is about 4.2 megabytes, saved as JPEG at the phone's default quality.

Now suppose the image is going onto a blog post where the maximum display width is 1200 pixels. Resizing to 1200 by 900 (keeping the aspect ratio) reduces the pixel count to about one tenth of the original. Encoded as WebP at quality eighty five, the resulting file is around 180 kilobytes. Encoded as JPEG at the same quality, it is around 260 kilobytes. Encoded as PNG, it is around 1.8 megabytes, which is why PNG is rarely the right choice for photographs.

The difference between the WebP and the original is roughly twenty three times smaller. On a mobile connection, that is the difference between a page that loads in a second and a page that takes twenty. Multiply it by four or five images on the same page, which is typical for a blog post or product listing, and the effect on loading time becomes dominant.

What matters here is not the exact numbers, which vary by image and by encoder, but the shape of the change. Reducing dimensions has a bigger effect on file size than changing format, because pixel count scales with the square of the linear dimensions. Halving the width and height reduces the pixel count to a quarter, which usually reduces the file size by a similar amount before any format change is applied. Getting the dimensions right is the first job. Choosing the format is the second.

Everyday uses for resizing

Image resizing shows up in more places than most people expect. Here are the ones that come up most often.

Preparing images for a website. This is the classic case. You have a folder of original photos and you need versions sized for a hero banner, a card thumbnail, and a profile avatar. Running each through this tool at the target dimensions produces the files you need without opening Photoshop or uploading anything to a third-party service.

Meeting a size limit on an upload form. Government portals, university application systems, and job boards frequently impose a maximum file size on uploaded documents. A passport photo that is 3 megabytes on your phone has to be under 500 kilobytes to go through. Resizing to a smaller dimension and converting to WebP usually clears the limit in one step.

Reducing attachment size for email. A single phone photo can be too large for some email systems. Resizing to a display resolution of around 1600 pixels on the long edge is usually sufficient for anything that will be viewed on a screen, and it cuts the file size dramatically.

Preparing images for social media. Different platforms have different preferred aspect ratios and maximum file sizes. Resizing to the platform's recommended dimensions before uploading gives the platform less work to do and usually produces a sharper result than letting it resize automatically.

Removing location metadata before sharing. Because canvas re-encoding strips EXIF data, a quick resize is one way to strip GPS coordinates and camera model information from a photo before it goes online. This is not a substitute for a proper privacy tool, but it does clear the most common metadata that people would rather not share.

Common mistakes when resizing for the web

Six mistakes come up repeatedly when people resize images for the web, and each one is easy to avoid once you know it is there.

Enlarging a small image to fill a large space. A thumbnail scaled up to a hero banner will look soft and slightly blurry, because the canvas has to invent pixels that do not exist. The rule is simple: you can always make an image smaller without problems, but you cannot make it larger without losing sharpness. Always start from the largest version you have.

Using PNG for photographs. PNG is lossless, which means it preserves the exact pixel data, and for a photograph that means a very large file. If you need transparency, fine, use PNG. If you do not, WebP or JPEG will be a fraction of the size at a visual quality that no one can tell apart.

Setting quality to one hundred out of habit. Quality one hundred on WebP or JPEG doubles or triples the file size for a difference that most people cannot see. Eighty to eighty five is the sweet spot for almost everything, and for small thumbnails seventy five is fine.

Ignoring aspect ratio. Stretching a portrait into a square, or squashing a landscape into a tall banner, distorts everything in the image, and the distortion is often subtle enough that it is not noticed until someone points it out. Keep the aspect ratio locked unless you have a specific reason to change it, and if you need a different shape, crop first in an image editor.

Forgetting to test the output. A converted file can look fine in the preview and behave differently when uploaded to a specific platform. Some content management systems re-encode images on upload and can undo your work. Some email clients strip certain formats. Download the file, open it in the app where it will actually be used, and confirm the result before you replace the original.

Deleting the original. Once you have resized an image down, the original is the only record of the full resolution. Keep it. Disk space is cheap, and you never know when you will need a larger version for a new use case.

What the tool does not do

This tool resizes and converts images. It does not edit them. There is no crop tool, no rotate control, no colour adjustment, no watermark, no text overlay, and no way to draw on the image. If you need any of those, use an image editor. GIMP is free and runs on Windows, macOS, and Linux. Snapseed and Photoshop Express run on mobile. Figma and Canva handle the web side.

It also does not handle animated files properly. When a browser loads an animated GIF or animated WebP into an image element, only the first frame is available. The output from this tool will be a static image of that first frame, with all subsequent frames discarded. If you need to resize an animation and keep every frame, use ImageMagick, GIMP, or an online tool that explicitly advertises animated format support.

And it does not preserve metadata. The EXIF block, the colour profile, the ICC information, and any embedded thumbnail are all stripped when the canvas re-encodes the image. For most web use that is a benefit. For archival work, professional photography, or anything where you need to preserve the original metadata alongside the resized version, keep the original file and treat the resized copy as a separate output.

Finally, the tool does not upload anything. Your image is not sent to AfriWidget, to a cloud service, or to any third party. Everything runs in your browser, and the only data that leaves your device is the anonymous byte summary that goes to the AI service if you press the AI insight button. The image itself never leaves your machine.

Sources

The technical details behind this tool come from the HTML specification, the canvas API documentation, and Google's published research on the WebP format. The sources below are the ones that carry the most weight for this subject.

Sources

  1. WHATWG. HTML Living Standard — The canvas element. html.spec.whatwg.org
  2. W3C. HTML Canvas 2D Context Specification. w3.org/TR/2dcontext
  3. MDN Web Docs. Canvas API and Image Formats. developer.mozilla.org
  4. web.dev (Google). Choose the Right Image Format. web.dev
  5. Google Developers. WebP Compression Studies and Format Guide. developers.google.com/speed/webp

Frequently asked questions

Does resizing an image improve a blurry photo?

No. Resizing changes the number of pixels, but it cannot invent detail that was not captured in the first place. Enlarging a small image usually produces a soft, slightly fuzzy result, because the canvas has to interpolate between the pixels that already exist. If you want a sharper version of a photo, start from the largest original you have rather than resizing a smaller copy upwards.

Which output format should I use for a website?

For most modern websites, WebP is a strong default. It produces a smaller file than JPEG or PNG at comparable visual quality, and every current version of Chrome, Edge, Firefox, Safari, and Opera supports it. JPEG remains a good choice for photographs where you need the widest possible legacy support. PNG is best when you need transparency or lossless output, even though the file will usually be larger. Test the result in the browser or app where it will actually be shown.

Are my images uploaded to a server?

No. The file never leaves your device. When you choose an image, the browser reads it into memory, draws it onto an HTML canvas at the dimensions you set, and encodes the result with the browser's own encoder. The download link points at an in-memory blob that disappears when you close the tab. Nothing is uploaded, stored, or logged, and there is no account or session identifier.

What does the quality slider actually change?

The slider affects the encoder for lossy formats, which are WebP and JPEG. Higher values keep more detail and produce larger files. Lower values discard more information and produce smaller files, usually with visible artefacts in fine detail like text, edges, or hair. PNG is a lossless format, so the slider does not change a PNG file the same way. As a rule of thumb, 75 to 85 is a good range for photos on the web.

Will the aspect ratio be preserved when I resize?

Yes, if the aspect ratio lock is on, which is the default. Changing the width recalculates the height to match the original proportions, and changing the height recalculates the width. Turning the lock off lets you set both numbers freely, which is useful when you need an exact pixel frame, but it will stretch or squash the image if the new proportions do not match the original.

Does the tool crop the image?

No. Resizing scales the whole image to the new dimensions. If the new width and height do not match the original proportions and the aspect ratio lock is off, the image is stretched rather than cropped. To crop to a specific region, use an image editor that lets you select the area you want. Cropping inside a fixed frame without distorting the image is a different operation and this tool does not do it.

What happens to EXIF data and colour profiles?

When an image is drawn onto a canvas and re-encoded, most of the original metadata is stripped. That includes camera EXIF data such as GPS coordinates, shooting date, and camera model, along with most colour profile information. Losing EXIF can be a privacy benefit for photos shared online, but it may matter if you rely on that data for archival or professional workflows. Keep the original file for those cases.

Can I resize an animated GIF or WebP?

Not with this tool, and not with any canvas-based approach. When a browser loads an animated image into an Image object, only the first frame is available to the canvas. The output will be a static image on the first frame. If you need to resize an animation and keep every frame, use a dedicated tool such as ImageMagick, GIMP, or an online service that explicitly supports animated formats.

Why is my output file larger than the original?

A few reasons can cause this. Enlarging dimensions adds pixels, which increases size. Switching from a well-optimised JPEG to PNG can produce a much larger file, since PNG uses lossless compression. Re-encoding a JPEG that was already heavily compressed at a higher quality setting can also produce a bigger file than the original. Compare the dimensions and format of the original against your chosen settings before assuming something has gone wrong.

Does this tool store anything about my images?

No. Every step runs inside your browser tab. The file is read into memory, drawn on a canvas, and encoded with the browser's own encoder. Nothing is sent to any server, nothing is stored, and there is no history. If you press the AI insight button, only an anonymous summary of the input and output dimensions, format, and byte counts is sent to a small serverless function that runs once and then stops. The image itself is never part of the payload.

Explore more productivity tools

Alongside this converter, there are tools for HTML minification, Base64, URL slugs, JSON, and text case. All free, all private, all running in your browser.

See all productivity tools