What an AI upscaler does
A small picture has a fixed number of pixels. Blowing it up with ordinary resizing only stretches them, which is why enlarged photos look soft and text goes fuzzy. A super-resolution model is a neural network trained on millions of pairs of small and large pictures, so it predicts the missing detail: sharper edges, cleaner lettering, finer texture.
This tool uses Swin2SR, an open model released under the Apache-2.0 licence. The 2× model, a lightweight version that is quick enough for a browser, doubles the width and height (four times the pixels); the 4× model, trained on real-world photos, multiplies each side by four (sixteen times the pixels).
How it works in your browser
- The model is downloaded once from Hugging Face and kept by your browser.
- Your picture is cut into tiles with a little overlap, so nothing is lost at the joins.
- Each tile is upscaled on your processor, and the tiles are stitched back together.
- The result is saved as PNG or JPG. Nothing is uploaded at any point.
Getting the best result
- Start from the original file, not a screenshot of it or a copy sent through a chat app, which is compressed.
- Use 2× for logos, screenshots and text; 4× for small real photos.
- Need an exact size afterwards? Use the resize tool; to bring the file under a limit, the compressor.
Honest limits
An upscaler invents plausible detail; it does not reveal real detail that the camera never captured. Faces in tiny photos can come out subtly different, and text that is unreadable to start with will not become readable. Use it to make a picture look better, not as evidence of what was there.