Build a random pixel bitmap in the browser with secure randomness when available, preview it on a canvas, and export the result as a PNG.
`Monochrome` uses only black and white, `grayscale` uses one shared channel, and `rgb` generates full-color pixels.
The tool requests random bytes, maps them to pixel channels, and writes the result into `ImageData` before drawing it onto a canvas.
Monochrome mode turns each random byte into either black or white. Grayscale mode reuses one random channel for red, green, and blue. RGB mode assigns three random channels to every pixel.
The random-source byte count shows how many bytes were consumed to build the image, which is especially useful in monochrome mode where each displayed pixel ends up as only black or white.
A bitmap is an image made from a grid of pixels, where each pixel stores color information directly.
PNG exports are natively supported by the browser canvas API and preserve the generated pixels cleanly.
The generator uses `crypto.getRandomValues()` when the browser provides it and falls back to `Math.random()` only when needed.
Yes. Random bitmaps are useful for placeholder textures, rendering tests, and pixel-processing demos.
Canvas rendering stays local in the browser, so no bitmap data needs to leave the page.
Small dimensions with a larger pixel scale are usually the easiest way to explore random pixel art patterns.
Changing the color mode alters how many random bytes are consumed for each pixel.
Related Tools
Convert pixels to inches.
Convert RGB color values into HEX codes.
Convert roman numerals values.
Convert between kilobytes and megabytes.
Convert letters to numbers.
Convert between megabytes and gigabytes.