Resize images for the web without uploading
A 4000-pixel original is the wrong file to drop into a blog. Resize on your device, then compress, instead of sending the camera file to a cloud resizer.
Web pages do not need your 12 MP original. Serving a 3600-pixel JPEG into a 720-pixel column wastes bandwidth and slows Largest Contentful Paint. web.dev on responsive images is still the right mental model: ship the pixels the layout will actually show.
Pick a target, not a vibe
- Blog hero: 1920 px on the long edge is plenty for most themes.
- Inline figure: 1200 px wide, then let CSS scale down.
- Avatar or logo: the displayed size times 2, for 2× screens.
- Marketplace listing: follow the host’s documented pixel box, then compress.
How StackImage resizes
You can lock a width, a height, or a long edge, and keep aspect ratio. The browser draws the bitmap into a smaller canvas and encodes the result. That is a high-quality downsample for everyday photos. It is not Lightroom’s proprietary sharpening pipeline. Images above 32 megapixels or 50 MB are rejected so the tab stays up.
- Open Resize Image and drop the file.
- Enter the width, height, or long-edge target.
- Preview, then download. Run Compress afterward if the encode is still heavy.
Resize an image privately
Exact pixels or a long edge. No account, no upload.
Resize is not crop, and it is not upscale
Crop changes the framing. Resize changes the pixel grid. Upscale invents pixels with a model and is a different tool: typical phone photos run at 2×, and larger frames are fitted first. If you need a 1:1 Instagram square, crop first, then resize to 1080.
Crop before you resize
Set the frame, then scale the result for the web.
Sources
web.dev: Learn Images
Google’s course on formats, density, and responsive delivery.
MDN: Responsive images
srcset and sizes, the HTML side of “don’t ship extra pixels.”
Try these tools
More guides
iLoveIMG alternative: private tools, no account
iLoveIMG is the familiar image half of iLovePDF. StackImage is the alternative when you want the same everyday jobs without sending the files away.
Read guideBest free image tools in 2026 (and what free costs)
Free image sites are easy to find. Unlimited private tools without an account are not. Here is how the main options actually compare in 2026.
Read guideTinyPNG alternative that never uploads your photos
TinyPNG is excellent at shrinking public assets. StackImage is the alternative when the photo should stay on your device.
Read guide