Skip to content
KazamTools

AI Image Upscaler

Enlarge photos 2× or 4× with AI that runs on your own device. No credits, no watermark, no uploads.

Files are processed in your browser and never uploaded.How it works

or drop or paste a photo, screenshot or drawing. It is enlarged on your device.

Enlarge by

Method

A neural network (Swin2SR) rebuilds sharp edges and fine texture. Runs on your device.

AI model

Swin2SR lightweight ×2: downloads about 7 MB once from Hugging Face, then it is cached.

Save as

How to use the Image Upscaler

  1. 1Click Choose an image, or drop or paste a photo.
  2. 2Pick 2× or 4× and the method: AI for added detail, or Fast for instant Lanczos resampling.
  3. 3Click Upscale. The AI model downloads once (7–53 MB) and is then cached.
  4. 4Drag the divider to compare before and after, then download PNG or JPG.

What an image upscaler does

Upscaling makes an image bigger: more pixels wide and tall. The hard part is filling in the new pixels. A 500 × 500 photo enlarged to 2000 × 2000 needs 16 times as many pixels, and 15 of every 16 have to be invented.

There are two ways to invent them, and this tool offers both:

Method How it fills new pixels Looks Speed Download
Fast (Lanczos) A weighted average of nearby pixels, using the Lanczos-3 filter Smooth, accurate, but soft; no new detail Instant Nothing
AI (Swin2SR) A neural network predicts the most likely detail from patterns it learned Sharper edges, crisper text, cleaner texture Seconds with WebGPU, minutes on a CPU 7–53 MB once

Everything runs in your browser, with no account and no daily cap. AI mode downloads the transformers.js library (jsDelivr) and the model (Hugging Face) once; both are cached. Your image never leaves your device, unlike upscalers that upload photos or charge credits for 4×.

How the AI upscaler works

The AI is Swin2SR, a published super-resolution model built on the Swin Transformer and released under the Apache 2.0 licence. It looks at the picture in small windows of 8 × 8 pixels, compares each window with its neighbours, and predicts a larger, sharper version. Two versions are available:

  • Best quality: the real-world ×4 model. It was trained on photos that had been deliberately blurred, noised and JPEG-compressed, so it learned to clean up the kind of damage real photos have, not just enlarge clean ones. About 21 MB on a processor (8-bit weights), 32–53 MB on a graphics card.
  • Fast AI: the lightweight ×2 model, about a tenth of the size and several times faster on a processor. For 4× it simply runs twice. About 7–8 MB.

Large images do not fit through the network in one go, so the tool cuts them into overlapping tiles of 128 × 128 pixels. Each tile is enlarged, the overlapping edges are thrown away, and the centres are stitched together. Because every kept pixel had neighbours on all sides when it was processed, you do not see seams. Transparent PNGs keep their transparency: the network enlarges the colours and the original alpha channel is smoothly enlarged and put back.

New pixels = (scale² − 1) × original pixels. At 4×, a 1-megapixel photo becomes 16 megapixels: 15 million new pixels.

Where it runs: WebGPU or WebAssembly

If your browser supports WebGPU (current Chrome and Edge, and other browsers as they enable it), the model runs on your graphics card and a typical photo takes a few seconds. Otherwise it runs on your processor with WebAssembly, which always works but is much slower: in our tests on a laptop, one 128 × 128 tile took about 4 seconds with Fast AI and 29 seconds with Best quality. The tool tells you before starting if a job will take more than a few seconds, and you can cancel at any time.

Worked examples

A small product photo for a shop. A 600 × 600 JPG downloaded from a supplier looks blurry on a 1200-pixel product page. Upscale 2× with AI: the result is 1200 × 1200, with sharper edges on the product and less visible JPEG blocking. On a processor with Fast AI, that is 36 tiles, roughly two and a half minutes; with WebGPU it takes seconds.

An old scanned photo for printing. A family photo scanned at 800 × 600 pixels would print at only 160 pixels per inch at 5 × 3.75 inches. Printers like about 300 pixels per inch for sharp prints:

Print width in inches = pixels ÷ PPI. 3200 pixels ÷ 300 PPI ≈ 10.7 inches

Upscale 4× to 3200 × 2400 and it prints at about 10.7 × 8 inches at 300 PPI. The AI cannot restore detail the scan never captured, but it gives a sharper base than enlarging in print software.

A screenshot or digital drawing. Line art and interface screenshots have hard edges that ordinary resampling blurs. AI keeps lines crisp. For pixel art, where you want blocky pixels, use Fast at 2× or 4× instead; it keeps the image faithful without inventing smooth curves.

Choosing the right settings

  • 2× or 4×? Pick the smallest scale that gets you to the size you need. 4× takes longer and makes huge files.
  • Best quality or Fast AI? With WebGPU, choose Best quality. On a processor, start with Fast AI; use Best quality for small images where it matters most, such as a face or a logo.
  • PNG or JPG? PNG is lossless and keeps transparency, but a 4× photo can be 20–40 MB. JPG at quality 92 is usually 5–10 times smaller and looks the same. You can also convert afterwards with JPG to WebP for websites.
  • Huge results? The AI output is limited to 40 megapixels (for example 1500 × 1000 at 4× or 4000 × 2500 at 2×) so it fits in browser memory; the Fast method goes to 64 megapixels. Crop away what you do not need first with Crop Image.

What upscaling cannot do

Upscaling is a good guess, not a recovery. An AI upscaler makes images look sharper by drawing the most likely detail, so:

  • Tiny text and faces made of a handful of pixels become sharp-looking guesses, which may not match the real letters or features. Never use an upscaled image as evidence or to read a number plate.
  • Heavy blur from camera shake or bad focus is only partly improved.
  • Official photos for passports and visas should come from a real, sharp photo. Upscaling a tiny photo can make it look artificial, and many offices reject edited images. Use Passport Photo Maker with an original photo instead.

After upscaling

Drag the comparison slider across faces, text and edges to compare the original (left) with the result (right), or click Zoom 100% to inspect real pixels. Then:

Frequently asked questions

Is this image upscaler really free?

Yes. There are no credits, no daily limits, no watermark and no account. The AI runs on your own device, so each upscale costs us nothing.

Are my images uploaded to a server?

No. The AI model is downloaded to your browser and your image is processed on your device. Only the model files come from the internet (Hugging Face); your picture never leaves your computer or phone.

What is the difference between AI and Fast upscaling?

Fast (Lanczos) makes the image bigger with smooth, accurate resampling but cannot invent detail, so it looks soft. AI (Swin2SR) learned from thousands of high-quality photos and rebuilds sharp edges, text and texture, often with less noise and fewer JPEG blocks.

How long does AI upscaling take?

With WebGPU (recent Chrome and Edge, and other browsers with WebGPU on) a typical photo takes seconds. Without it, the AI runs on the processor: Fast AI handles a small photo in under a minute, and large images or Best quality can take several minutes.

What is the largest image I can upscale?

The AI result can be up to 40 megapixels (for example 1500 × 1000 at 4×, or 4000 × 2500 at 2×). The fast method goes up to 64 megapixels. There is no file size cap.

Can upscaling recover a face or text that is unreadable?

No upscaler can recover detail that is not there. AI makes edges and textures look plausible and sharp, but tiny unreadable text or faces made of a few pixels stay guesses. Do not use upscaled images as evidence.

Which AI model is used?

Swin2SR, an open model released under the Apache 2.0 licence: the real-world ×4 version for Best quality, and the lightweight ×2 version for Fast AI.

Was this tool helpful?