QUICKUPSCALE

GUIDE · NEAREST-NEIGHBOR SETTINGS

How to upscale pixel art without blur.

Compare nearest-neighbor and bilinear PNG outputs, learn whole-number scaling, and find export and display settings for seven tools and engines, including Aseprite, Godot and Unity.

SHORT ANSWER

To preserve the drawn pixels in a larger file, use nearest-neighbor scaling at a whole-number factor. Our free pixel art upscaler exports a static PNG at 2×, 4× or 8× in your browser. If a sprite is blurry inside a game, check native filtering and viewport or camera settings first; you may not need a larger file.

1. Why it gets blurry

A normal resize (bilinear, bicubic, Lanczos) has to invent the new pixels. It does that by averaging the colours around each one. For photos that often looks smooth. For pixel art it can soften a deliberate hard edge and mix outline colors with neighboring pixels. Compare the actual generated PNGs below; they use the same source and output dimensions.

Try a real sprite sheet

One original transparent sheet, eight frames in a 4 × 2 grid. These are actual PNG files generated from the same pixels, using the tool's nearest-neighbor scaler and a separate bilinear resampler. The images are enlarged here for inspection.

Original sheet: eight green sprites on a transparent background
Original sheet64 × 32 px · 16 × 16 px frames
Exact nearest neighbor, 4×: eight green sprites on a transparent background
Exact nearest neighbor, 4×256 × 128 px · 64 × 64 px frames
Bilinear comparison, 4×: eight green sprites on a transparent background
Bilinear comparison, 4×Same input and size · blended edges

Open the Sprite Sheet Upscaler, upload the original, and choose 4× to reproduce the result. The Godot project compares native and enlarged frames with Nearest and Linear filtering. Native Nearest filtering may already solve your task without enlarging the file. Fixtures and example project: CC0. This demonstrates pixel copying, not recovery of an already blurred image.

2. Nearest-neighbor keeps every edge

Nearest-neighbor doesn't average anything. Each new pixel simply copies the closest original pixel. At 4×, every source pixel becomes an exact 4×4 block of the same colour, so the art stays exactly as drawn, just bigger.

12×12 original
48×48 at 4×: same pixels, bigger

3. Use whole numbers only

Nearest-neighbor at a fractional factor like 2.5× can't split a pixel in half. Some source pixels become 2 pixels wide and others 3, so lines wobble and checker patterns look uneven. Whole numbers give every pixel the same size.

2×: even
2.5×: uneven

4. Nearest-neighbor settings by tool & engine (Photoshop, Aseprite, Godot, Unity)

Nearest-Neighbor configuration settings across major game engines and art software
TOOL / ENGINESETTING & QUICK CODE
Photoshop
Image › Image Size › Resample: Nearest Neighbor (hard edges)
Aseprite 1.3
File › Export › Export As › Resize: 200%, 400% or 800% for an enlarged copy
Godot 4
Project Settings › Rendering › Textures › Canvas Textures › Default Texture Filter: Nearest; check node overrides
Unity
Sprite import: Filter Mode Point (no filter), Compression None; configure a Pixel Perfect Camera
GameMaker (Windows)
Game Options › Windows › Graphics: turn off “Interpolate colours between pixels”
Phaser 3
Game config: pixelArt: true (disables antialiasing and enables roundPixels)
pixelArt: true
CSS / web
image-rendering: pixelated on the <img> or <canvas>; use whole-number display scales
image-rendering: pixelated;

Tool names link to their documentation. In Godot 4.2+, use integer viewport scaling for a low-resolution pixel-art project; in Unity, configure the Pixel Perfect Camera for your render pipeline. Camera motion, rotation and fractional transforms can still change the result. Follow the Godot troubleshooting steps or Unity import, camera and PPU guide before enlarging an asset.

On the web, CSS pixels can also map unevenly to device pixels at some display scales or browser zoom levels. Inspect the final display rather than assuming a sharp source PNG guarantees every rendering context.

For a working strip animation, follow the CSS steps() tutorial and inspect its frame boundaries and reduced-motion behavior.

5. What about AI upscalers?

A model that reconstructs detail may change corners, colors and single-pixel marks. That can be useful when you want to repaint the image at higher resolution. For an exact enlargement of the drawn pixel grid, nearest-neighbor gives a predictable result. QuickUpscale's shipped pixel tool uses this deterministic method and does not generate AI details or restore an already blurred source.

6. Reproduce the sprite-sheet result

For layout changes, use the sprite sheet workflow map to choose splitting known cells, combining ordered frames or reflowing a strip. Those tasks do not require larger pixels.

  1. Download the 64×32 source PNG and open the Sprite Sheet Upscaler.
  2. Choose 4× and set the original frame width and height to 16 px. The calculator derives four columns and two rows: a 256×128 output with eight 64×64 cells.
  3. Download the static PNG and inspect the frame boundaries and transparency. Frame count stays eight; timing, tags and pivots need separate engine metadata.

Try the Godot example project to compare native and pre-enlarged assets; its README describes setup and validation scope. Pre-enlargement is optional when the engine can display the native file correctly. It does not repair atlas padding or camera jitter.

Inspect transparency and export formats

If a border remains with smoothing off, compare partial-alpha edge colors on black and white. For file-format damage, inspect the actual PNG/JPEG export comparison.

7. Credit QuickUpscale in your game or devlog (optional)

If you use QuickUpscale to prepare sprites or tilesets for your itch.io project, game jam entry or GitHub repository, you can embed our pixel-art badge. It lets players and fellow developers know your assets were scaled with exact nearest-neighbor fidelity:

Upscaled with QuickUpscale

Markdown (itch.io devlog, GitHub README):

[![Upscaled with QuickUpscale](https://quickupscale.com/badge.svg)](https://quickupscale.com)

HTML snippet:

<a href="https://quickupscale.com"><img src="https://quickupscale.com/badge.svg" alt="Upscaled with QuickUpscale" /></a>

TRY IT ON YOUR SPRITES & SHEETS

2×, 4× or 8×, exact pixels, free, and your image never leaves your device.

Resize several PNGs together

Use the batch PNG upscaler for a shared 2×, 4× or 8× factor. The executed batch walkthrough supplies original inputs and explains mixed failures, safe result names and browser transparency differences. Use the PNG workflow map to choose between scaling, format comparison and transparent-edge diagnosis.

? QUESTIONS

Why does my pixel art get blurry when I resize it?
Most resizers use bilinear or bicubic interpolation, which invents new pixels by averaging neighbours. On pixel art that turns hard edges into soft gradients and halos. Nearest-neighbor scaling copies existing pixels instead, so nothing is averaged.
What scale factor should I use for pixel art?
Use whole numbers such as 2×, 3×, 4× or 8×. With a fractional factor like 2.5×, some pixels become 2 screen pixels wide and others 3, so the art looks uneven even with nearest-neighbor.
Should I use an AI upscaler for pixel art?
Usually not. AI upscalers are trained to add detail and smooth curves, which rounds off the deliberate hard pixels of pixel art. Use exact nearest-neighbor scaling unless you want a repainted, non-pixel look.