OfflaneAI

AI image upscaler —
enlarge 2× or 4× without the blur

Small, blurry or compressed photos, old scans, logos, game textures: the AI reconstructs edges and texture instead of just stretching pixels. Runs on your device — nothing is uploaded, no watermark, no limits.

  • 🔍 2× and 4× enlargement
  • 🔒 Photo never leaves your computer
  • ⚡ GPU option for speed
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

How does AI upscaling work?

The page downloads an open-source Real-ESRGAN model once and runs it in your browser: the fast general x4v3 (4.9 MB, BSD licence) on any device, or the full RealESRGAN x4plus (64 MB) in HD mode on a WebGPU graphics card for sharper detail. The network looks at each patch of the image and predicts the missing detail — sharp edges, skin and fabric texture — rather than smoothing between pixels like a normal resize.

What photos work best?

Photos between 200 and 1,500 px on the long side: social-media downloads, screenshots, old scans, product thumbnails. Heavily blurred or very noisy images improve less. Faces look natural but are not “invented” — the model does not add fake features.

Is there a size limit?

Results are capped at roughly 24 megapixels, so a 4× upscale works from images up to 1,200 px and 2× from 2,400 px; larger originals are downscaled first. On CPU a 1-megapixel photo takes 20–60 s; with WebGPU, a few seconds.

How to upscale an image

  1. Add the image. Drop a JPG, PNG, WebP or HEIC file on the upload area, click it to choose a file, or paste with Ctrl+V. The file name, its size and its pixel dimensions appear above the controls.
  2. Check the model. “Model” offers “Fast — Real-ESRGAN x4v3” and “HD — RealESRGAN x4plus (best)”. The tool preselects HD on a computer with a WebGPU graphics card and Fast everywhere else.
  3. Choose the factor. “Enlarge” offers 2× and 4×, each with the size it leads to. 2× is preselected.
  4. Press “Upscale”. The first run downloads the model. A counter then shows “tile 3 of 20” and so on; “Stop” cancels at any time.
  5. Compare. “Show original” and “Show upscaled” switch the preview. Zoom the page with Ctrl and + to inspect edges and texture.
  6. Download. The button shows the real pixel size of the result.

What super-resolution adds, and what it cannot

An ordinary resize calculates each new pixel as an average of its neighbours, so an enlarged image turns soft. Real-ESRGAN is a neural network trained on pairs of damaged and clean images. For every patch it predicts what the sharp version most likely looked like: a clean edge instead of a blurred step, texture where there was mush, smooth areas where JPG compression left blocks.

That prediction is based on the pixels that are there. The model sharpens and completes; it does not know what a number plate said or what a face looked like if the source holds only a few pixels of it. Text that was unreadable before stays unreadable, only with crisper edges.

Fast or HD: the two models

Fast — Real-ESRGAN x4v3HD — RealESRGAN x4plus (best)
Download4.9 MB64 MB, once
LicenceBSD 3-ClauseBSD 3-Clause
LookClean, slightly softSharper, more texture
On a graphics cardA few secondsAbout 20–60 s per photo
On the CPUAbout 20–60 s per megapixelMinutes
PreselectedPhones, computers without WebGPUComputers with WebGPU

When Fast is the better choice

On a phone, on an older laptop, and for drawings, screenshots and logos, where the extra texture of HD brings nothing. It is also the one to use when you have many pictures and little time.

When HD is worth the wait

For photographs: skin, hair, fabric, foliage and stone come out with more believable detail. Choosing HD on a device without a usable graphics card works, but expect minutes per photo.

If the HD model cannot be downloaded, the tool says so and upscales with the fast model instead.

2× or 4×

2× for photos

The network always enlarges four times. For 2× the tool then averages every block of 2×2 pixels into one. That averaging removes the slight over-sharpening and fine speckle a 4× result can show, which is why 2× looks the most natural on photographs. It takes the same time as 4×.

4× for small sources

Use it when the source is small, roughly under 600 px: icons, thumbnails, old web graphics, crops from a larger picture. A 4× result has 16 times as many pixels as the source.

How large the result can be

The long side of the source is limited to 2400 px for 2× and to 1200 px for 4×, so that the result stays under 24 megapixels and fits in browser memory. A larger source is scaled down first, and a note above the preview tells you from which size the tool is working. In practice the long side of a result never exceeds 4800 px.

SourceResult at 2×Result at 4×
300×300600×6001200×1200
640×4801280×9602560×1920
1200×8002400×16004800×3200
1920×10803840×21604800×2700, from a source reduced to 1200×675
4000×30004800×3600, from a source reduced to 2400×18004800×3600, from a source reduced to 1200×900

Two rules follow from the table:

  • Above 1200 px choose 2×. With 4× the source is first reduced further, so you get the same number of pixels from less information.
  • A photo that is already close to 4800 px gains nothing here. It is sharp enough for print as it is.

The “Enlarge” list shows the nominal size, source times 2 or 4. When the source was reduced, the size on the download button is the one that counts.

Which images gain the most

ImageGainNotes
Photo of 200–1500 px from social media or a messengerHighCompression blocks are smoothed, edges firmed
Old digital-camera or early phone photoHighUse HD, 2×
Scanned printMedium to highDust and scratches get sharper too; remove them first
Product thumbnailHighCheck printed text on the packaging
Screenshot with interface textMediumLetters stay readable but can look slightly redrawn
Logo or icon on a solid colourHighUse 4×; transparency is not kept
Heavily blurred or shaken photoLowBlur becomes a sharper-looking blur
Very noisy night photoLowNoise can be amplified into speckle
Photo that is already large and sharpNoneNothing to add

Settings by purpose

GoalModelEnlarge
Print a small photoHD2×, or 4× under 600 px
Improve a picture for a listing or a slideHD2×
Enlarge a logo or iconFast4×
Enlarge a crop from a bigger photoHD2× or 4× by size
Quick result on a phoneFast2×
Sharper at the original sizeHD2×, then resize back down

Pixels needed for print

Photo labs and home printers work best with about 300 pixels per inch. Compare the size on the download button with this table.

Print sizePixels at 300 ppi
10×15 cm1181×1772
4×6 in1200×1800
5×7 in1500×2100
8×10 in2400×3000
A4 (21×29.7 cm)2480×3508

A 600×900 px picture from a chat therefore reaches a clean 10×15 cm print at 2× and an 8×10 in print at 4×. Posters are viewed from a distance, so 150 ppi is usually enough for them and the 4800 px limit covers 80 cm on the long side.

File format of the result

  • A PNG source is saved as PNG, without loss.
  • Every other source, including WebP and HEIC, is saved as JPG at 95 % quality.
  • The file name gets the ending -2x or -4x.
  • Transparency is not kept. A transparent PNG comes out with a filled, opaque background.

A 4× PNG of a photo can weigh tens of megabytes. If it is meant for a website or an e-mail, pass it through the image compressor.

The right order with other tools

Clean first, enlarge second

The model sharpens everything, including flaws. Erase dust, scratches and unwanted objects with the object remover before you upscale.

Faces: use the specialist

This upscaler treats a face like any other texture and does not redraw it. For blurred or tiny faces the photo restoration tool gives a much stronger result; it rebuilds each face and can remove noise and enlarge the whole picture 2× in the same run.

Logos: upscale, then cut out or trace

Because transparency is lost, enlarge the logo on its solid background, then remove that background again with the background remover. For a file that scales without limit, trace the enlarged logo with the image to SVG converter.

Graphics card, CPU and the tile counter

The image is not sent through the network in one piece. It is split into tiles of 192 px for the fast model and 160 px for HD, each with an overlap to its neighbours so that no seams appear, and the tiles are computed one after another. The counter under the button is the number of tiles done. All of this happens in a background thread on your device; the picture is not uploaded, and the fast model is small enough to be served by this site itself.

“Advanced” contains the “Compute” list. The CPU option is marked reliable, the GPU option much faster and experimental. If the GPU path fails, the tool switches to the CPU by itself and shows a note; if a GPU result ever shows artifacts, set the CPU manually and run again. On a phone, keep the tab open until the last tile is done.

Troubleshooting

The result is smaller than the size named in the “Enlarge” list

The source was above 2400 px (for 2×) or 1200 px (for 4×) and was reduced before upscaling. The note above the preview and the download button show the real numbers.

It takes several minutes

HD is running on the CPU. Either WebGPU is not available in this browser, or the tool fell back after a GPU error. Switch “Model” to Fast.

Skin or walls look plastic

That is the model smoothing noise into flat areas. Use 2× instead of 4×, or run the other model and compare the two results.

Coloured speckle appeared in dark areas

The source was noisy and the noise was sharpened. Run the photo through the restoration tool with the whole-photo option, which removes noise before enlarging.

My transparent logo now has a solid background

Transparency is not carried through. Follow the logo steps above.

The preview does not seem to change

The preview shows both versions at the same display size, so the gain is hard to see when the picture is fitted to the page. Zoom in with Ctrl and + and switch between “Show original” and “Show upscaled”.