Free Image Upscaler
Enlarge photos up to 4x with the Real-ESRGAN AI model — running 100% in your browser.
Drop in a JPG or PNG and hit Upscale. On first use the AI model downloads once (~5 MB, then cached for future visits) and all processing happens on your device — your photos are never sent to any server.
Drop an image here, or click to browse
JPG, PNG, WEBP, BMP — anything your browser can open
How to upscale an image
- Load the source. Drag a JPG, PNG, WEBP or BMP onto the dashed box. Check the file line: anything bigger than 2048 px on the long edge or four megapixels in area is scaled down before processing, and the note tells you the size it settled on. Upscaling a downscaled image is wasted work, so crop to the region you actually need first.
- Choose 4x or 2x. The model is a 4x model; 2x runs the same pass and then downsamples the result. That means 2x costs the same time and memory as 4x, but gives slightly cleaner output than shooting straight for the smaller size — pick 2x when the destination is a retina thumbnail rather than a print.
- Choose an engine. Auto tries WebGPU first and falls back to WASM; the WASM path also pulls in the ONNX Runtime binaries (the ~14 MB one-time cost in the dropdown). The choice locks when the model session starts. On a machine without a usable GPU, expect WASM to be several times slower.
- Press Upscale and watch the tile counter. Images are processed in 384 px tiles with a 16 px overlap so the seams do not show. "Tile 12 of 40" is the real progress; time scales with area, so a 1024 px image takes sixteen times as long as a 256 px one.
- Pick a format and download. PNG keeps transparency and exact pixels; JPEG at 0.92 is much smaller but throws away alpha and adds ringing around hard edges. Both are produced from the same result, so you can switch the dropdown without re-running the model.
What "AI upscaling" actually does
Real-ESRGAN is a generative model trained to turn degraded images into sharp-looking ones. When it sees a blurry edge it does not interpolate — it draws a plausible sharp edge. When it sees soft hair it draws hair strands. That is the whole trick, and it is why the output looks better than a bicubic resize: the pixels it adds are invented, not recovered.
The honest limits follow directly from that. Text and lettering are the worst case, because glyphs are exact geometry and the model happily invents strokes that were never there — a 200 px screenshot of a paragraph will upscale to something that looks crisp and reads wrong. Logos and line art often come out better from a vector trace or a plain Lanczos resize than from a GAN. Faces at extreme zoom can gain plausible but false detail (teeth, eyelashes, earrings). And JPEG noise gets amplified: compression blocks come back as sharper blocks.
Upscaled versus genuinely high-resolution
| 4x upscale of a 512 px image | A real 2048 px photograph | |
|---|---|---|
| Detail | Plausible texture, invented where the source was empty | Real detail, captured by the lens |
| Text and logos | Often wrong — strokes invented or merged | Correct, if the lens resolved it |
| Artefacts | Over-sharpening, plastic skin, ringing at hard edges | Ordinary noise and lens softness |
| File size | ~1-4 MB PNG for the same content | ~2-6 MB JPEG from a modern camera |
| Right for | Making a small photo usable at web sizes; rescuing an old scan | Print, cropping headroom, anything evidential |
So: no, it does not recover detail. If the source is soft, the output is confidently soft-but-sharp. For a print at 300 dpi, work backwards from the physical size you need and upscale only as far as that; a 4x pass on an already-large photo mostly adds file size.
Why the upscaling runs in your browser
The pixels are read into a typed array, posted to a Web Worker, and pushed through an ONNX session tile by tile; each finished tile is copied straight into the output buffer. There is no upload endpoint and no temporary file on a server, which is what makes the tool usable for scans of documents, medical images, or photos of people who did not agree to be on someone's cloud.
After the model and runtime are cached, it also works with the network switched off — handy on a plane or on a locked-down machine. The first visit is the slow one: a few megabytes of weights plus the runtime, followed by session compilation that can take several seconds before the first tile appears. Do not assume the page has frozen during that gap; the status line stays on "Starting the upscaling engine…" until it is done.
Common problems and fixes
- Out of memory on a large photo. A 4 MP input is 16 MP at 4x, which is 64 MB of RGBA before any copies. The tile loop keeps that bounded, but the browser still needs the source, the output canvas and the encoded blob at the same time. Crop first on laptops with 8 GB of RAM.
- No visible progress for a long time. Session creation happens before the first tile; on WASM that includes compiling the model. Give it 10-20 seconds on a slow machine.
- "Engine failed to start". WebGPU was selected but no adapter was available, or the driver is blocklisted. Choose WASM and reload.
- The image looks worse than before. Over-sharpening is the model's failure mode on already-sharp photos, and it amplifies compression noise. Downscale slightly afterwards, or start from a cleaner source.
- Transparency went white. JPEG cannot store alpha. Export PNG when the image has cut-out edges, or remove the background again after upscaling.
-
HEIC or raw files will not load. The browser cannot decode them; convert to JPEG
or PNG first:
ffmpeg -i IMG_0001.heic photo.png.
Useful next steps: cut the subject out first with the background remover, shrink a finished image into an icon set with the favicon generator, check how it will look when shared using the open graph preview, or grab exact colour values with the colour converter. The image tools hub lists the rest.
Powered by the open-source Real-ESRGAN model (BSD-3-Clause) running via ONNX Runtime Web (WASM or WebGPU). Model weights download from the Hugging Face Hub on first use and are cached by your browser.
Suggested
Luke Keam | techgeek.biz