Enlarge pixel art by a whole-number factor and keep every edge hard. Pick the algorithm by how much it is allowed to change the drawing, and check the result at full size in the preview before downloading it as PNG.
Three ways to enlarge
Nearest neighbour repeats each pixel as a square block. A 16 × 16 sprite at 4× becomes 64 × 64 with nothing added and nothing lost. Use it for anything that must stay faithful: tilesets, UI icons, art for a game that renders at integer scale.
Scale2x / Scale3x (also called EPX and AdvMAME2x/3x) look at the four neighbours of each pixel. Where two adjacent neighbours share a colour and the opposite two do not, the corner between them takes that colour. Diagonal stair-steps become finer steps, and the output contains only colours that were in the source. A 16-colour sprite stays a 16-colour sprite.
xBR examines 21 pixels around each one, measures which direction an edge runs by comparing colour distances in YUV, and blends along the edge at one of three slopes. Curves and diagonals come out smooth, and outlines keep a constant weight. It adds intermediate colours along edges, so the palette grows.
Art that was already enlarged
A sprite exported at 400%, or cropped from a screenshot, has blocks instead of pixels. Run an edge rule on it and nothing changes, because the rule compares a pixel with neighbours that are copies of itself.
Source pixel size handles this. On Auto, the largest block size up to 16 for which the whole image is uniform blocks is measured, and the image is reduced to one pixel per block before scaling. The readout shows the art size that results. A 256 × 256 file made of 4 px blocks is 64 × 64 art, and 4× xBR of that gives a smooth 256 × 256.
Auto needs exact blocks. A JPEG, or a screenshot that was resized by a fractional amount, has soft block edges and reads as 1. Set the size by hand in that case; the centre pixel of each block is used, which is the one least affected by the smearing.
Example: a 32 × 32 character sprite
Load the PNG. With xBR at 4× the output is 128 × 128: the round helmet is a curve instead of a staircase, and the one-pixel black outline is still one consistent line. Switch to Scale2x / Scale3x at 4× and the same curve has small steps, with no new colours. Switch to nearest neighbour and it is the original, four times larger. Use Show before on the preview to compare each against the source.
Mistakes that spoil the result
Dithered shading confuses edge rules. A checkerboard dither is, pixel for pixel, a field of diagonal edges, and xBR will join them into stripes. Use nearest neighbour for heavily dithered art.
Anti-aliased art has already been smoothed by hand. Scale2x and Scale3x only match identical colours, so they leave it mostly alone; xBR treats similar colours as equal and usually copes better.
Text at very small sizes can change shape. A 3 × 5 pixel font has no room for an edge rule to be right, and letters such as e and a may close up. Scale text with nearest neighbour.
Limits
Factors are whole numbers. Scaling pixel art by 2.5× forces some pixels to be 2 wide and others 3, which is the uneven look these algorithms exist to avoid.
Images above about 1500 × 1500 pixels are refused. That size is a photograph, not pixel art, and an edge rule gains nothing on it. To enlarge a photo, use the Image Resizer.