Pixel Art Scaler

Scale pixel art with sharp edges and no smoothing.

1. Choose image & settings

Still JPEG, PNG or WebP. Up to 20 MiB, 8 MP and 4096 px per side.

No image selected.

Nearest-neighbor scaling copies pixels into square blocks. PNG is recommended for exact colors; JPEG and WebP exports may be lossy.

Select an image to begin.

2. Preview & download

No image
No output yetApply the settings to create an output.
Your image preview will appear here.

Processed locally, same file format. Exports may remove metadata and re-encode lossy formats.

How to upscale pixel art without blur

Enlarge a sprite, icon or sprite sheet by a whole-number factor. Nearest-neighbor scaling repeats the existing pixels instead of blending their colors to make a smoother image.

  1. Select Choose image and open the smallest clean original you have. A still PNG is preferable, especially for artwork with transparency. Still JPEG and WebP files are also accepted.
  2. Enter the Integer scale factor. For example, 4 makes a 32 × 24 px sprite into a 128 × 96 px image. The field accepts whole numbers from 1 to 32, subject to the image-size limits below.
  3. Check the estimated Output dimensions, then select Scale image.
  4. Inspect the resulting image and its actual dimensions under Preview & download. Select Download image to save a new file in the same format as the input.

When you choose a file, the tool starts at 2× if that enlargement fits its limits; otherwise it starts at 1×. Changing the factor clears the previous result. Apply again to create a new output from the loaded original, not from the last enlarged copy. Reset clears the file.

The selected image is processed locally in your browser, not uploaded to an image-processing server. Keep the original for future editing.

Why nearest neighbor and whole-number scaling matter

At 3×, each source pixel becomes a 3 × 3 block of nine output pixels. At 4× it becomes a 4 × 4 block of sixteen. A one-pixel outline stays the same shape, but becomes three or four pixels thick, respectively. The tool draws the image with smoothing disabled, as described in the browser’s image-smoothing documentation.

There are two different causes of a poor enlargement:

  • Smoothing: filters such as bilinear interpolation blend neighboring colors, creating soft transitions across originally hard edges.
  • Uneven pixel blocks: a fractional nearest-neighbor scale can keep edges hard but make some columns or rows wider than others. At 2.5×, a four-pixel row becomes ten pixels; its four original pixels cannot all occupy equally wide whole-pixel blocks.

Whole-number nearest-neighbor scaling avoids both problems in the geometry of the enlargement. It does not restore missing detail or remove blur, compression artifacts or anti-aliasing that already exist in the source.

This tool uses nearest neighbor only. Other pixel-art algorithms, such as Scale2x and Scale3x, can change the shape of corners and diagonal steps by consulting neighboring pixels. Choose a compatible editor with those methods if you specifically want that different look rather than repeated square blocks. The ordinary image resizer is useful for smooth photographs or other artwork, but it uses smoothing and is not a substitute for exact pixel-block replication.

Choose a scale factor for your target dimensions

Multiply both dimensions by the same factor. Multiply the total pixel count by the square of that factor.

  • Output width = original width × factor.
  • Output height = original height × factor.
  • Output pixel count = original pixel count × factor × factor.

A factor of 4 is 400% of the original width and height, not 400% of its area. It produces sixteen times as many pixels without adding sixteen times as much original detail.

Original (px) Factor Output (px)
16 × 16 8× 128 × 128
32 × 24 4× 128 × 96
48 × 32 3× 144 × 96
64 × 64 16× 1024 × 1024
256 × 64 4× 1024 × 256

A sprite sheet scales as one picture. In the last example, a 32 × 32 px tile becomes 128 × 128 px, a 2 px gap becomes 8 px, and a tile beginning at x = 64 px begins at x = 256 px in the enlarged file. Scale any frame coordinates, spacing and tile dimensions you use with that new sheet by the same factor. The tool does not extract frames or create an animation.

For a particular output size, divide the target width by the original width and the target height by the original height. Both results must be the same whole number from 1 to 32 for this tool to reach the target directly, and the output must fit its limits. For example, 32 × 24 to 160 × 120 requires 5×. If you only need the image to fit within a maximum width and height, choose the largest permitted whole factor that fits both.

For a print, use the pixels to print size calculator to find the minimum pixel dimensions for the physical size and chosen PPI. Then select a whole factor that meets both minimums within the tool’s limits. A 64 × 64 px sprite needs at least 19× to reach 1200 px on each side: 19× gives 1216 × 1216 px, or 304 PPI over a 4 × 4 inch print. That enlarges the existing blocks rather than creating new artwork detail. Check the printer’s actual requirements and whether its processing will resample the image.

Reach an exact canvas size without stretching the pixels

Suppose a 32 × 24 px sprite needs to fit a 100 × 80 px file. The required width factor is 3.125 and the height factor is about 3.333, so there is no single whole factor that fills that canvas with the complete sprite.

  1. Enlarge at 3× to produce a 96 × 72 px image.
  2. Save the result and open it in the image padding tool.
  3. Set Left and Right to 2 px each, Top and Bottom to 4 px each. Keep Transparent padding checked for a transparent PNG or WebP, or choose a solid background if you need one.
  4. Select Add padding, check the exact 100 × 80 px output and download the new file.

The sprite’s pixel blocks remain 3 × 3 in the expanded canvas; the extra space is padding, not new artwork. Both tools’ input and output limits apply, and padding creates another encoding. If the scaled file exceeds the padding tool’s 20 MiB input limit, use a compatible local editor that can add the required space without scaling.

If blank space is not allowed, you cannot meet that exact frame size with every original pixel represented by an equal square block and the entire sprite intact. You could choose a different permitted frame, redraw the artwork on a suitable native grid, or deliberately crop part of a larger whole-number enlargement if the composition allows it. Keep crop boundaries on multiples of the scale factor to avoid slicing through blocks. If you must keep the exact frame, full artwork and no padding, a fractional or stretched resize requires giving up uniform square blocks.

How large can you scale an image here?

The largest usable factor is not always 32. Both the source and output must have positive whole-pixel dimensions, at most 4096 px on each side and at most 8,000,000 pixels in total. The source file must also be at most 20 MiB (20,971,520 bytes).

For a supported source of width W and height H in pixels, the geometry allows at most the smallest of these four numbers, rounded down to a whole number:

  • 32
  • 4096 ÷ W
  • 4096 ÷ H
  • Square root of (8,000,000 ÷ (W × H))
Source (px) Largest factor Output (px) Limiting rule
32 × 32 32× 1024 × 1024 Factor range
1024 × 256 4× 4096 × 1024 Side length
512 × 512 5× 2560 × 2560 Pixel count
2000 × 2000 1× 2000 × 2000 Pixel count

The 512 × 512 example fails at 6× because 3072 × 3072 is 9,437,184 pixels, even though neither side exceeds 4096. By contrast, the 1024 × 256 example fails at 5× because 5120 px is too wide, even though the area is within 8 million pixels. A fractional, zero, negative or blank factor is invalid.

If Scale image is unavailable, reduce the factor until the estimated dimensions fit. If only 1× fits, the tool cannot enlarge that source within its limits. An export at 1× still re-encodes the image, so keep the original if it already meets your requirements. For a required enlargement beyond these limits, use a compatible nearest-neighbor editor with sufficient canvas capacity rather than resizing your art down merely to make it fit this tool.

Why the result may still look blurry or uneven

Start by distinguishing the saved file from how it is displayed. The previews fit the available space and may themselves be enlarged or reduced by a different factor. The result dimensions refer to the file, not its on-screen size. Display scaling and browser zoom can cause uneven or softened edges even when the exported pixel grid is correct. The browser’s display-scaling documentation explains why display interpolation and the saved pixel grid are separate.

Open the downloaded image in a pixel-aware viewer at its native size, or inspect it at a whole-number zoom using nearest-neighbor display if the viewer offers it. Check whether the expected blocks are uniform. If the file is sharp there but blurry at its destination, check whether the destination is resizing it with smoothing or at a fractional display scale. Use an exact-size export or a whole-number display scale where possible. A destination can still resample or compress a correctly enlarged file.

If the downloaded file itself has soft transitions, check the source and export format. Nearest neighbor repeats any existing intermediate colors; it does not reconstruct the native pixel grid of a blurred screenshot. Use the clean source instead of trying to repair those pixels with a larger factor.

An image may already be enlarged. If a 32 px wide sprite has been cleanly enlarged to 96 px, choosing 2× here creates a 192 px wide file, with blocks six times the original size. To make a 128 px version, return to the 32 px original and use 4×. If the native file is missing, a compatible editor can sometimes recover it by reducing aligned, identical blocks to one pixel each; verify the block size and alignment first. This scaler does not detect the native grid or shrink images. Recovery is not reliable after smoothing or lossy compression.

Does the downloaded image preserve exact colors and transparency?

Use a clean PNG source for artwork that depends on flat colors and transparency. This tool exports in the source format; it does not convert a JPEG or WebP to PNG.

Nearest-neighbor enlargement does not intentionally mix neighboring pixel colors. But the image is decoded, drawn onto a browser canvas and encoded again. The geometry of a repeated block and the exact stored color values are different guarantees.

  • PNG: lossless compression preserves the rendered image. Color-space conversion, bit-depth changes and alpha handling can still change source sample values. In particular, even nearly invisible pixels can have different stored RGB values after premultiplied-alpha processing; see the canvas precision warning.
  • JPEG: compression artifacts already present in the original become larger, and the new encoding may add more artifacts around edges. JPEG cannot hold transparency.
  • WebP: transparency is supported, but the new encoding may be lossy even if the input was lossless.

A transparent PNG or WebP can keep its clear areas through enlargement. An opaque background does not become transparent. Inspect the saved file over a contrasting background if transparency matters; an apparently white preview is not proof that the file has an opaque white background.

For strict palette or pixel-data requirements, verify the saved file with a local tool that reads actual pixel samples, including alpha. Compare the samples in each output block against its corresponding source pixel; check bit depth and palette representation separately if those are required. If exact source RGBA values must be preserved, use a tool that explicitly supports direct pixel-data replication and verify the result. This scaler checks the output’s format, dimensions and orientation, not palette or raw sample equality.

See the image format guide and canvas export documentation for the distinction between lossless compression and browser encoding. Original metadata, including color profiles and print-density tags, is not guaranteed to survive export.

If the image cannot be opened or downloaded

Only one still JPEG, PNG or WebP is accepted at a time. Animated files, unsupported formats, damaged files and mismatched declared file types can be rejected. Renaming an extension does not change the image format. Use the displayed dimensions for supported JPEGs because the tool applies their orientation metadata before scaling. A valid still PNG or WebP with a non-normal EXIF orientation (2–8) is also unsupported here. If necessary, use a compatible editor to apply the intended orientation to the pixels and save a supported still copy with orientation 1 or no orientation tag; check its appearance before loading it.

The result is checked against the actual format, expected dimensions, normal orientation and a 40 MiB output ceiling. An unsupported browser encoder or unverifiable result produces an error rather than a mismatched download. Try a smaller permitted factor or a compatible browser if the requested dimensions and format allow it.

The encoded file size does not grow in exact proportion to the pixel count. The result shows size rounded up in KiB. For an exact size or byte limit, check the downloaded file with the image dimensions checker if it meets that tool’s input limits, or inspect the actual file with a compatible local viewer. A file over 20 MiB may be a valid download here but cannot be reopened in these tools. If the file exceeds a recipient’s byte limit, choose a smaller whole factor only if smaller dimensions are permitted. If the dimensions must stay fixed, use a compatible local encoder that retains the required dimensions and format; keep lossless PNG encoding if exact rendered colors matter. Recheck the saved file. This scaler does not target an exact byte count. Keep the original and verify the final image against your intended use.