Enhance or upscale an image right now
100% browser-based Real-ESRGAN AI (~4.6 MiB cached once) + 0-download Instant mode. Zero uploads.
Stretching a small 300-pixel photo in an ordinary image viewer only copies blurry pixels onto a larger grid. In ToolKnit's Image Upscaler, two distinct client-side engines solve different kinds of blur right inside a background Web Worker: an open-source Real-ESRGAN neural network (realesr-general-x4v3.onnx, BSD-3-Clause) powered by self-hosted onnxruntime-web@1.21.0 (MIT) via WebGPU or WASM SIMD, and a zero-download algorithmic pipeline combining Catmull-Rom cubic resampling, noise smoothing, unsharp masking, and micro-contrast.
Choosing between AI Super-Res and Instant Enhance
Pick the engine and scale factor that matches why the image looks soft instead of maxing every slider.
| Mode / Scale | How It Works Locally | Best Input Material |
|---|---|---|
| AI Super-Res · 1× Deblur | Runs 4× Real-ESRGAN inference in overlapping tiles, then area-downsamples back to exact 1× source pixels | Compressed JPGs or soft chat screenshots needing clean edges without changing dimensions |
| AI Super-Res · 2× Crisp (Rec.) | Super-samples 4× neural output down to 2× for tighter anti-aliased edges and cleaner textures | Blurry phone photos, portraits, product thumbs, and medium UI captures |
| AI Super-Res · 4× Ultra HD | Outputs direct 4× neural tensor dimensions (for example 240×160 → 960×640 px) | Tiny avatars, cropped details, and thumbnails under ~500 px per side |
| Instant Enhance (0 Download) | Catmull-Rom cubic interpolation + edge-preserving smooth + unsharp mask + micro-contrast | Clean large photos on metered data, offline tabs, or oversized images past the 1600 px AI edge cap |
Verified local output behavior (synthetic test evidence)
On November 25, 2026, we verified both pipelines locally in Chrome against two constructed test inputs—a blurred 240×160 px JPEG sample (blurry-sample.jpg) and a 64×64 px transparent PNG badge—not customer photographs or external datasets. All output buffers were inspected pixel by pixel after export:
| Engine & Scale | Input → Output Pixels | Measured Export Result |
|---|---|---|
| Instant Enhance · 2× | 240×160 → 480×320 PNG | 112.6 KB PNG with zero model fetch |
| Real-ESRGAN (WebGPU) · 2× | 240×160 → 480×320 PNG | 170.1 KB PNG; adjacent-edge contrast sum rose from 60,386 (baseline bicubic) to 104,273 |
| Real-ESRGAN (WebGPU) · 4× | 240×160 → 960×640 PNG | 693.2 KB PNG; model cached locally at 4,866,417 bytes in toolknit-upscale-model-v1 |
| Transparent PNG · 2× AI | 64×64 → 128×128 PNG | Transparent outer corner stayed alpha=0 while opaque center stayed alpha=255 |
Step-by-step workflow for natural sharpness
- Load your image: Drop any JPG, PNG, WebP, BMP, or AVIF file (up to 20 MiB) into Image Upscaler, or start with Try Blurry Sample to inspect the controls immediately.
- Select engine and scale: Keep AI Super-Res (Real-ESRGAN) and 2× Crisp selected for most blurry web images, or switch to Instant Enhance for zero download. On the first AI run, the browser fetches the
4.87 MB(~4.6 MiB) model once and caches it locally; future visits reuse that cache offline. - Fine-tune without re-running AI: After output appears, adjust AI Blend Strength (for instance
70–85%if textures feel slightly over-smoothed) and keep Fine Crispness low (5–25) to avoid chalky halos. Drag the center split divider, hold Hold Original, or toggle the 2× / 4× Loupe to inspect hair, clothing, and text edges. - Export or reset cleanly: Export lossless PNG, WebP (both keep alpha transparency), or quality-adjusted JPG with white or black fill. Before moving to an unrelated project, click Reset Page to clear the workspace back to defaults while keeping the cached AI weights ready.
Practical limits and companion tools
- AI source edge ceiling: Because 4× neural expansion multiplies pixel counts 16-fold in canvas memory (a
1600 pxedge becomes6400 px), images above1600 pxon their long edge are automatically capped for AI inference. When you only need mild crispness on an already-large 4000 px camera photo, use Instant Enhance instead. - Downstream size & layout prep: If an upscaled PNG or JPG grows past a portal upload limit, run it through Compress Image for a strict KB cap, crop or downscale with Image Resizer, isolate a product cutout via Background Remover, or stamp ownership badges in Image Watermark.
Frequently asked questions
Does browser AI upscaling invent missing tiny text or blurry faces?
No. Real-ESRGAN reconstructs plausible clean textures and edges from existing pixel structure. It sharpens soft edges and cleans JPEG compression artifacts, but cannot recover unreadable tiny license plates or obscured faces.
Why choose 2× Crisp instead of jumping straight to 4× Ultra HD?
2× Crisp runs the 4× neural network first and then downsamples smoothly back to 2×, removing over-synthesized micro-textures and ringing halos on typical photos and web screenshots.
How big is the local AI download and where does it live?
AI mode fetches the BSD-3-Clause realesr-general-x4v3 ONNX weights (4.87 MB, about 4.6 MiB) once and stores them in dedicated Cache Storage inside your browser. Zero-download Instant Enhance works offline immediately without fetching the model.
Can I upscale a transparent PNG logo without getting dark fringes?
Yes. RGB channels and the Alpha mask are handled cleanly across upscaling and preserved when exporting PNG or WebP. For JPG exports, choose a white or black matte fill.
Restore blurry details in your browser
Test 1× Deblur, 2× Crisp, and 4× Real-ESRGAN with live before/after loupe comparison.