Skip to content

Image To Pixel Art

Reduce an image to a square block grid and 16 colors, then enlarge the blocks. The page does not keep the file.

Result

Choose an image

How to Use

  1. 1 Choose an image up to 5 MB.
  2. 2 Type the block count.
  3. 3 Download pixel.png.

Example Output

  • 32 blocks makes a 32 by 32 color grid.

About This Tool

Blocks is a whole number from 8 to 64. The download is pixel.png.

Using Image to Pixel Art

Image to Pixel Art reduces one image to a square grid and 16 colors, then enlarges the blocks with nearest pixels. The file field is labeled Image. Blocks starts at 32 and must be a whole number from 8 to 64. The button is Make pixel art. Before a run the headline reads Choose an image.

On success the label reads Pixel art. With Blocks set to 8, the headline is 8 blocks. The sentence is The image was reduced to 8 by 8 blocks and 16 colors, then scaled with nearest pixels. The file is not stored. The Blocks line reads 8. The Colors line reads 16. The download is pixel.png, and the button reads Download pixel.png.

The default of 32 uses the same sentence with 32 in place of 8. The headline is 32 blocks. The sentence is The image was reduced to 32 by 32 blocks and 16 colors, then scaled with nearest pixels. The file is not stored. This is a posterized sketch made by resampling. It is not a hand-drawn sprite, and the page does not keep the file.

What the Block Headline Shows

The headline is the block count plus the word blocks. It is not the pixel size of the download and it is not the color count. The color count is always 16, and it appears in the sentence and on the Colors line. The label above the headline is Pixel art.

The sentence names the grid, the 16 colors, the nearest-pixel enlargement, and the statement that the file is not stored. Copy result copies that sentence. It does not copy the PNG. Download pixel.png saves the file. Reset returns the headline to Choose an image and clears the file field.

A missing file, an empty file, a file over 5 MB, or a file that cannot be read as an image returns Choose a PNG, JPG, GIF, WebP, BMP, or AVIF image up to 5 MB. Blocks outside 8 to 64, or a value that is not a whole number, returns Blocks must be a whole number from 8 to 64. Those refusals do not produce pixel.png.

How the Grid and the 16 Colors Are Made

The page reads the image bytes on this request. It resamples the whole picture into a square of Blocks by Blocks. A wide photo is fit into that square, so the aspect ratio is not preserved. The small square is then reduced to 16 colors. Nearest-pixel scaling enlarges each block. The enlarge factor is the whole number of times 256 can be divided by Blocks. Eight blocks enlarge by 32, so the PNG is 256 by 256. Thirty-two blocks enlarge by 8, so the PNG is also 256 by 256. Sixty-four blocks enlarge by 4. A block count that does not divide 256 evenly produces a smaller square. Forty blocks enlarge by 6, so the PNG is 240 by 240. Read the file you downloaded for the exact pixel size. The headline stays the block count.

A GIF is read as the image the decoder returns. This page does not promise to keep every animation frame. The result is one PNG named pixel.png.

Interest on a principal is a different product. The Simple Interest Calculator multiplies principal by an annual percent and by years. A principal of 1000 at 5 percent for 2 years earns interest of 100 and a total of 1100. The headline there is the interest. That page does not reduce an image to 16 colors. Use it when the sample principal of 1000 should earn interest of 100. Use this page when the headline should be 8 blocks or 32 blocks and the download should be pixel.png.

Eight, 16, 32, and 64 are the block counts that enlarge to a 256 pixel square, because 256 divided by each of those counts is a whole number. Other allowed counts still work. They enlarge by the whole number of times 256 divides the count, so the PNG side length is Blocks times that factor. Fifty blocks enlarge by 5 and the square is 250 pixels on a side. The headline for that run is 50 blocks, not 250.

The 16 color step happens after the square shrink and before the nearest enlarge. Edges between blocks stay hard because the enlarge copies pixels instead of blending them. A photograph of a face will look blocked and posterized. That is the tool working. It is not a promise that the face will stay recognizable at 8 blocks.

Transparency in a source PNG is not a separate option. The result is a PNG named pixel.png. Judge the downloaded file if you need to know whether a clear area survived the palette step. The sentence does not claim that alpha was preserved, and it does not claim that it was removed.

The field accepts PNG, JPG, GIF, WebP, BMP, and AVIF when the bytes can be read and the file is within 5 MB. The file name suffix is not the check. A file named photo.png that is not an image still returns Choose a PNG, JPG, GIF, WebP, BMP, or AVIF image up to 5 MB.

Blocks left blank uses the form value only if a value is submitted. A non numeric entry such as the word large returns Blocks must be a whole number from 8 to 64. The same message covers 0, 7, 65, and 8.2. The successful range includes 8 and includes 64.

Each run is independent. Changing Blocks and clicking Make pixel art builds a new PNG from the file on that request. The page does not blend the new grid with the previous pixel.png. Download the version you want before you reset.

The steps under a success say the image is resampled to a small grid, the palette is reduced to 16 colors, and nearest-neighbor scaling enlarges the blocks. Those three steps are the whole method. There is no outline pass, no dithering control, and no manual color pick.

Use 8 blocks when you want the coarsest sketch the form allows. Use 64 when you want the finest grid the form allows. Both still use 16 colors. Finer blocks do not add a seventeenth color. If you need more colors, this page is the wrong tool.

What This Pixel Sketch Does Not Draw

The about line says Blocks is a whole number from 8 to 64 and the download is pixel.png. That matches the form. There is no second palette field. Sixteen colors is fixed. There is no crop box and no choice of nearest versus smooth for the final enlarge step. The enlarge step is nearest pixels, which keeps the block edges.

Eight Blocks and Thirty-Two Blocks

Set Blocks to 8 and choose Make pixel art on an image inside 5 MB. The headline is 8 blocks. The sentence is The image was reduced to 8 by 8 blocks and 16 colors, then scaled with nearest pixels. The file is not stored. The Colors line is 16. The button reads Download pixel.png.

A compounded amount is a different figure. The Compound Interest Calculator compounds a principal at an annual percent. A principal of 1000 at 5 percent, compounded 1 times a year for 1 years, is 1050. The interest line there is 50. The headline there is the amount. That page does not make a 16 color grid. Use it when the sample principal of 1000 should become 1050. Use this page when you need pixel.png from the block count you typed.

Readings That Do Not Match This Form

A common miss is to read the headline 8 blocks as the width of the PNG in pixels. The PNG for 8 blocks is 256 by 256 because each block is enlarged. The headline is the grid. Another miss is to expect more than 16 colors. The Colors line is 16 on every success.

A comparison that does not pick a base is a different percent. The Percentage Difference Calculator uses the absolute difference divided by the average of the absolute values, times 100. The absolute difference of 40 and 50 is 10. The average of the absolute values is 45. The percentage difference is 22.22. That page does not enlarge pixels. Use it when you are comparing 40 and 50. Use this page when the headline should name the block count and the file should be pixel.png.

Saving pixel.png With the Sentence

Copy the sentence when a note needs the block count and the 16 color limit. The headline 32 blocks does not, by itself, say that the file is pixel.png or that the enlarge step used nearest pixels. The sentence says both.

A margin from revenue and cost is a different percent. The Profit Margin Calculator subtracts cost from revenue and divides that profit by revenue. Revenue of 200 and cost of 150 give profit of 50 and a margin of 25 percent. The headline there is the margin percent. That page does not store pixel.png. Use it when the inputs are revenue and cost and the sample margin is 25 percent. Use this page when the record you need is the pixel-art sentence and the file from that run.

A 16 Color Grid From the Image You Chose

The button stays Make pixel art. The waiting headline stays Choose an image. The success label stays Pixel art. The palette stays 16 colors. The file name stays pixel.png. Blocks stays a whole number from 8 to 64.

Checking 8 Blocks and 32 Blocks

Start with Blocks at 8 on a small image and confirm the headline 8 blocks and the sentence that says 8 by 8 blocks and 16 colors. Confirm Download pixel.png. Then run 32 and confirm 32 blocks. Then run 64 and confirm 64 blocks. Then try 7 and confirm Blocks must be a whole number from 8 to 64.

A sale price after one discount percent is a different reduction. The Discount Calculator multiplies a price by one percent and subtracts. A price of 80 at 25 percent is a discount of 20 and a sale price of 60. The headline there is the sale price. That page does not check a pixel grid. Use it when the sample price of 80 at 25 percent should return a sale price of 60. Use this page when you are confirming 8 blocks, 32 blocks, and the download pixel.png.

Frequently Asked Questions

What does Blocks 8 return?

The headline is 8 blocks. The sentence is The image was reduced to 8 by 8 blocks and 16 colors, then scaled with nearest pixels. The file is not stored. The download is pixel.png.

What does the default 32 return?

The headline is 32 blocks. The sentence uses 32 by 32 blocks and 16 colors. The button reads Download pixel.png.

How many colors are used?

16. The Colors line reads 16. There is no field to change that number.

What block counts are allowed?

A whole number from 8 to 64, including 8 and 64. Any other entry returns Blocks must be a whole number from 8 to 64.

Does the PNG stay square to the original photo?

No. The picture is resampled into a square grid first. A wide image is fit into that square.

What is the download name?

pixel.png. The button reads Download pixel.png. The file is not stored after the response.

What does a missing file return?

Choose a PNG, JPG, GIF, WebP, BMP, or AVIF image up to 5 MB.

Is this a hand-drawn sprite?

No. The page resamples, reduces the palette to 16 colors, and enlarges with nearest pixels.