Excel Pixel Art Generator

Turn any picture into an Excel file with square colored cells, ready to print.

More options
Palette
Crop

Loading…

Grid
–
Colors
–
Filled cells
–
Color key

    Starter templates

    Original designs, ready for a mystery picture or a color-by-number worksheet.

    Loading…

    Make Excel pixel art from a picture

    1. Upload a photo or drawing, or click Templates for a ready-made design.
    2. Set Grid width (the number of columns) and Colors. The preview shows exactly what Excel will show.
    3. Click Download Excel file. You get one .xlsx file with two sheets: Pixel Art and Color Key.
    4. Open it in Excel. Every cell is already square and filled, so there is nothing to format.

    For a quiz that reveals the picture, switch to Mystery before you download. For paper only, switch to Worksheet.

    Open the file in Excel desktop or Excel for the web

    Excel desktop: double-click the downloaded file. Files from the internet open in Protected View first, with a yellow bar at the top. The picture shows right away, but click Enable Editing before you change anything; a mystery file needs it to check answers.

    Excel for the web (free): sign in at office.com with a Microsoft account, open OneDrive, click Upload and choose the file, then click it to open it in the browser. This is the easy route on a school laptop without Office installed, and it works the same way inside Microsoft Teams.

    The Pixel Art sheet opens at 100% zoom. Hold Ctrl and scroll, or use the zoom slider in the bottom-right corner, to see a large picture all at once.

    How the colors are stored

    Each pixel is one cell with a solid fill, the same fill you would pick from Home, Fill Color. There are no images, shapes or macros in the file, so it stays small: a 64 by 64 picture with 16 colors is under 20 KB.

    Each filled cell also contains its color number from the Color Key (1 is the first color), typed in a font the same color as the fill. You will not see it on the sheet, but the formula bar shows it when you click a cell. That number is useful: =COUNTIF(A1:AF32,3) counts the cells of color 3 in a 32 by 32 picture, and the result matches the Cells column on the Color Key sheet. It is also why other spreadsheet apps import every column of the picture.

    The Color Key sheet lists each color with its swatch, number, hex code and cell count, plus the total number of filled cells. Empty cells, from a transparent background, have no fill and no number.

    The Pumpkin template as an Excel file printed with gridlines: the Pixel Art sheet with orange, dark orange, green and peach cells, and the Color Key sheet listing five colors with their numbers, hex codes and cell counts, 171 cells in total.
    The Pumpkin template downloaded as an Excel file, printed to PDF by Excel desktop with gridlines turned on.

    How the mystery file works in Excel

    A mystery file is plain Excel: formulas and conditional formatting, no macros. Each cell of the Picture sheet holds a formula that compares one answer on the Questions sheet with the matching answer on the Key sheet. When they match, the formula returns the cell's color number; otherwise it returns nothing. A conditional formatting rule for each color, "cell value equal to 3" and so on, then paints the fill and the font. To see the rules, unprotect the sheet and open Home, Conditional Formatting, Manage Rules.

    On the Questions sheet only the yellow answer cells are unlocked. A hidden Check column marks each answer right or wrong, and a rule turns a wrong answer light red. Answers are compared without regard to capital letters or extra spaces, so "Paris", "paris" and "Paris " all count.

    The Picture and Questions sheets are protected without a password, which stops students from typing over the formulas by accident. Review, Unprotect Sheet opens them for editing with no password prompt. The answers sit on a hidden sheet named Key. Hidden is not locked: anyone who right-clicks a sheet tab and chooses Unhide can read it. Treat a mystery picture as practice, not as a graded test.

    The Picture sheet of a Pine tree mystery file in Excel: on the left an empty grid before any answers, on the right the full tree in five colors after all five addition questions were answered correctly.
    The Picture sheet of a Pine tree mystery file with five addition questions, before and after answering, printed by Excel desktop.

    Draw your own pixel art in Excel by hand

    Want students to build the picture themselves? Set up a blank grid first:

    1. Open a new blank workbook and press Ctrl+A (or click the triangle above row 1) to select every cell.
    2. Click Home, Format, Column Width, type 2.8 and click OK.
    3. Click Home, Format, Row Height, type 15 and click OK. The cells are now square.
    4. Select a cell, or drag across several, and pick a color from the Fill Color bucket. Hold Ctrl to select cells that are not next to each other.

    Two shortcuts save a lot of clicks: F4 repeats the last fill on whatever you select next, and the Format Painter copies a cell's color to other cells. A downloaded file from this page makes a good model to copy from, and its Color Key tells students how many cells of each color they need.

    Print Excel pixel art

    The Pixel Art sheet is set to fit on one page, in landscape for wide pictures and portrait for tall ones, so File, Print shows the whole picture straight away. Choose a color printer, and print the Color Key sheet too if students need the numbers.

    Excel does not print gridlines unless you ask. For borders between the cells, as in the pictures above, tick Print under Gridlines on the Page Layout tab. For a poster, raise Width and Height under Scale to Fit to 2 or more pages and tape the sheets together.

    For a sheet to color with crayons, the Worksheet mode in the tool is a better fit: it prints a color number in every cell with a color key. Students who prefer Google Sheets can use the Google Sheets pixel art copy and paste method instead of the Excel file.

    Frequently asked questions

    Can I make Excel pixel art without installing Excel?

    Yes. Excel for the web is free with a Microsoft account. Upload the downloaded file to OneDrive and open it in your browser. The colored cells, the Color Key sheet and the mystery formulas all come with the file.

    What column width and row height give square cells in Excel?

    Column width 2.8 and row height 15 points. At 100% zoom that is 20 by 20 pixels, and the cells stay square at 125% and 150% display scaling too. The downloaded file is already set this way.

    Why do I see a number when I click a colored cell?

    Each filled cell holds its color number from the Color Key, written in a font the same color as the fill so it stays out of sight on the sheet. The formula bar still shows it. You can use it for counting with COUNTIF, or delete it without changing the color.

    How do I change one color everywhere in the picture?

    Press Ctrl+H, click Options, and set Find format to the old fill and font color and Replace format to the new ones. Click Replace All and every cell of that color changes at once.

    The mystery picture stays blank in Excel. What should I check?

    If a yellow bar says Protected View, click Enable Editing so the formulas can run. Then check Formulas, Calculation Options is set to Automatic. Answers must match the key, but capital letters and extra spaces do not matter.

    How do I unlock the mystery file to change a question?

    Click Review, then Unprotect Sheet on the Questions or Picture sheet. There is no password. Questions are in column B; their answers are on the hidden Key sheet, which you can show with a right-click on any sheet tab and Unhide.

    Can I print a large picture across several pages?

    Yes. On the Page Layout tab, change Width and Height under Scale to Fit from 1 page to 2 or 3 pages, then print and tape the sheets together. Turn on Print under Gridlines if you want cell borders on paper.

    Can I use the file in Microsoft Teams or OneDrive?

    Yes. Share the .xlsx as a Teams assignment or save a copy for each student in OneDrive. It opens in Excel for the web inside Teams, so students do not need Excel installed.

    Last updated: November 11, 2026