A pixel art editor that behaves like a spreadsheet: create a canvas of X by Y pixels and paint it cell by cell. Left-click and right-click each hold their own independent color or tool, rows and columns can be added or removed at any time, and projects are saved as plain, human- (and AI-) readable JSON.
- Spreadsheet-style painting — click a pixel to paint it, drag to paint a stroke (with line interpolation so fast drags don't leave gaps).
- Independent left/right click — each mouse button has its own tool (Pencil, Eraser, Paint Bucket, Eyedropper) and its own color.
- Real transparency — canvases default to a transparent background, rendered as the usual checkerboard pattern. The eraser always erases to true transparency, not to a background color.
- Resize on the fly — add or remove rows/columns from any edge (top, bottom, left, right) without losing your work.
- Undo/redo, zoom, and an optional pixel grid overlay.
- Save/load projects as
.pixcakefiles — plain JSON, so a script (or an LLM) can generate or edit pixel art without touching the UI. - Import images (PNG/GIF) and pixelate them into a grid of any size, with block-averaging downscaling and transparency detection.
- Export to PNG (with alpha, any integer scale) and to multi-resolution
.ico(16/32/48/64/128/256, nearest-neighbor scaled so edges stay crisp). - Zero dependencies — built entirely on Python's standard library
(
tkinter), including a from-scratch PNG/ICO encoder.
Requires Python 3.8+ (uses only the standard library, no pip install
needed):
python main.pyPrebuilt Windows executables are published on the Releases page — no Python installation required.
pip install pyinstaller
pyinstaller --onefile --windowed --name PixCake --icon assets/icon.ico ^
--add-data "assets/icon.ico;assets" main.pyThe resulting PixCake.exe will be in dist/.
A project is a small JSON document:
{
"format": "pixcake",
"version": 1,
"width": 16,
"height": 16,
"background": null,
"pixels": [["#FF0000", null, "..."], ["..."]]
}background/pixel colors are either a "#RRGGBB" string or null for a
transparent pixel. Because it's just JSON, projects can be generated or
edited programmatically — see examples/cupcake_example.pixcake
for a small sample (preview below), written entirely by hand/script rather
than through the UI.

