Image Upscaler

Upload Image

Drag & drop an image or click to browse

PNG, JPG, JPEG, WebP (max 10MB)

Settings

Real-ESRGAN Neural Network · Runs in browser

About the AI Image Upscaler

The AI Image Upscaler enlarges images 2× or 4× using a Real-ESRGAN ONNX model that runs entirely in your browser via onnxruntime-web. No server, no upload, no rate limits. The model recovers detail through learned image priors — sharper than bilinear upscaling, faster than cloud APIs, and private enough to use on internal mockups, design comps, or photos you would not paste into a third-party service. The first run downloads the model (about 5 MB); later runs reuse it from the browser cache.

Updated: May 8, 2026

How to use the upscaler

  • Drop or click to upload an image (PNG, JPEG, WebP; up to 10 MB and 4096 px on each side). The first upscale downloads the ONNX model, about 5 MB, which your browser then caches.
  • Pick the upscale factor: 2× for slight enlargements or 4× for printed materials and high-DPI displays. Both run the same 4× model (2× output is resized down from it), so they take about the same time.
  • Click Start Upscale. Inference runs on the page with onnxruntime-web, tile by tile, yielding between tiles so the progress bar keeps updating. You can cancel at any time.
  • Compare the result with the original using the before/after slider. Download as PNG (default), JPEG, or WebP; JPEG and WebP have a quality slider.
  • For batch processing, upload one image at a time. The tool is designed for single-image quality work, not bulk pipelines.

Common use cases

  • Recovering low-resolution screenshots for documentation. A 400×300 screenshot from a customer support ticket becomes a 1600×1200 image suitable for a slide.
  • Print preparation. Web-resolution images (72 dpi) get upscaled to 4× for 300 dpi print without obvious blurring.
  • Restoring older photo assets. Family photos scanned at 600 dpi can go to 2400 dpi for archival.
  • Game / design mockups. Concept art and design comps benefit from 2× when projected on large displays.
  • Historical document digitization. Old document scans gain readability after 2× upscale, especially for OCR pre-processing.

Privacy and security

The Real-ESRGAN model is downloaded once (about 5 MB) and stored in your browser cache. Inference runs locally via onnxruntime-web in the page — your image bytes never leave the browser. Only the scale, export format, and quality settings are saved in the page address; the image is not. This is critical for upscaling internal mockups, customer support screenshots containing PII, or any image you would not upload to a cloud service. Disconnect from the network after the model loads and the upscaler still works.

Tips and pitfalls

  • Quality varies by input. Real-ESRGAN was trained on natural images; it works well on photos, screenshots with text, and mixed content. Pure-vector / pure-text content may show artifacts — for those, vector regeneration or font-aware upscaling beats the AI model.
  • Memory limits. The model always produces a 4× result first, so a 4MP input becomes a 64MP intermediate — about 250 MB of decoded RGBA in memory — even when you pick 2×. Browsers may run out on mid-range hardware; use smaller inputs if that happens.
  • JPEG compression artifacts get amplified. If your input has visible blockiness, the upscaler enlarges those artifacts. Consider denoising before upscaling.
  • Faces. Real-ESRGAN is not face-specialized — for portraits, dedicated face-restoration models (GFPGAN, CodeFormer) produce cleaner results, but those models are larger and not bundled here.
  • Downloads default to PNG, which preserves the upscaled detail without lossy compression. For web use, pick JPEG or WebP before downloading and set the quality slider.

Frequently Asked Questions

Which upscaling model is used?
Real-ESRGAN (xinntao/Real-ESRGAN) — a GAN-based super-resolution model that recovers high-frequency detail through learned priors. This tool uses the ONNX-converted Real-ESRGAN x4v3 model, run by onnxruntime-web on WebGL, with a WebAssembly fallback when WebGL is unavailable.
Is my image uploaded?
No. The model runs in your browser via onnxruntime-web. Images are decoded into ImageData in JavaScript, fed to the model tile by tile, and the result is drawn back onto a canvas — all locally. No request carries your image; the only downloads are the model and the inference runtime, both from this site, on first use.
How big is the model download?
About 5 MB. Downloaded once on first use and cached by the browser via the standard HTTP cache. Subsequent uses load from cache instantly. The model is hosted on the same origin as the page.
Why does the first upscale take longer?
The model file (about 5 MB) downloads on first use. Subsequent upscales reuse the cached model and run in seconds. If you clear browser cache, the next upscale will re-download.
Is 4× slower than 2×?
Not noticeably. The bundled model is a native 4× model, so both settings run the same inference; 2× output is the 4× result resized down with high-quality canvas smoothing. Processing time depends mostly on the input size, since the image is split into 128 px tiles and each tile is inferred separately.
What about face-specific upscaling?
Real-ESRGAN handles general images well but is not face-specialized. For portraits with visible faces, dedicated models (GFPGAN, CodeFormer, Topaz Photo AI) produce cleaner skin and feature reconstruction. Those models are larger and not bundled here.
Maximum input size?
The tool accepts files up to 10 MB and 4096 px on each side. In practice, about 4MP (2000×2000) is the comfortable limit on most hardware, because the 4× intermediate result must fit in browser memory. Split larger images into tiles, upscale each, and stitch — or use a desktop tool (Real-ESRGAN-ncnn-vulkan, Topaz, ESRGAN-Tile) for very large inputs.
Why ONNX Runtime instead of TensorFlow.js?
onnxruntime-web has better performance for CNN-style super-resolution models and supports the full ONNX operator set used by Real-ESRGAN. TensorFlow.js works but requires re-training or model conversion for full compatibility.