Generate Random Bitmap
Create random bitmap images with customizable dimensions and color modes. Download as PNG.
Pick a size, choose a color mode — full RGB, grayscale, black & white, or an 8-color random palette — and hit Generate to fill a canvas with random pixel data you can download as a lossless PNG. Great for placeholder textures, shader tests, image pipeline stress tests, or anywhere you need noise on demand. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool creates an HTML Canvas element at your chosen resolution. For each pixel, it generates random values using Math.random() — three channels (R, G, B) for full color, one channel copied across all three for grayscale, or a coin flip for black & white. The pixel data gets written to an ImageData buffer and painted to the canvas in a single pass. When you download, the canvas exports as a lossless PNG file.
Examples
Game Texture Placeholder
A game developer needs a 256×256 noise texture to test a shader before the art team delivers assets.
Width: 256
Height: 256
Mode: Full Color (RGB)256×256 PNG file
65,536 unique random pixels
~190 KB downloadQR Code Scanner Stress Test
A QA engineer wants to feed pure noise into a barcode reader to make sure it doesn't crash on garbage input.
Width: 512
Height: 512
Mode: Black & White512×512 B&W PNG
262,144 pixels (each pure black or white)
Sharp, high-contrast noise patternAlbum Art Background Layer
A designer generating a colorful noise layer at 1024×1024 to blend under album artwork in Photoshop. The random palette mode gives a limited, coherent color set that looks less chaotic than full RGB noise.
Width: 1024
Height: 1024
Mode: Random Palette1024×1024 PNG
8 randomly chosen colors
1,048,576 pixels mapped to palette
~400 KB file sizeWho Uses This
Generating test images for upload forms, image processing pipelines, and unit tests that need actual pixel data.
Creating noise textures and grain overlays for posters, album covers, and social media graphics.
Producing placeholder textures and procedural noise maps for terrain, clouds, or particle effects.
Feeding random image data into software to test edge cases and verify crash-free handling of unexpected input.
Common Mistakes
A 2048×2048 image means over 4 million pixels. Each one needs random values written individually. On older hardware, this can take a few seconds. Start with 512×512 to test your settings, then scale up.
Full Color RGB assigns completely independent values to each channel, which produces a chaotic rainbow. If you want something more visually cohesive, try Random Palette — it picks 8 colors and sticks with them.
Every generation is random. There is no seed or reproducibility option. If you like what you got, download it immediately. Clicking generate again overwrites the canvas with new data.
Technical Details
- Processing: 100% client-side — Canvas API with ImageData buffer
- Max Resolution: 2048 × 2048 pixels (4,194,304 pixels)
- Output Format: PNG (lossless compression)
- Color Modes: Full Color RGB, Grayscale, Black & White, Random Palette (8 colors)
- Browser Support: Chrome, Firefox, Safari, Edge
- Offline: Yes — works after initial page load
Frequently Asked Questions
What is a random bitmap image?
It's an image where every pixel gets a randomly assigned color. Think of it like TV static — each dot is independent. The result is a noise pattern, and no two generated images will ever look the same.
Can I use the generated bitmap commercially?
Yes. The image is generated in your browser from random data — there's no copyright, no license, no attribution needed. It is purely mathematical noise. Use it however you want.
Why does my bitmap look different every time?
Because the pixel values are generated using Math.random(), which produces different numbers each time. There's no seed input, so every click gives you a brand new image. Download the one you like before generating again.
What's the difference between grayscale and black & white?
Grayscale picks from 256 shades — everything from pure black through grays to pure white. Black & white is binary: each pixel is either #000000 or #FFFFFF, nothing in between. Grayscale looks like smooth TV static; black & white looks like a QR code that went wrong.
How large can the PNG file get?
It depends on the resolution and color mode. A 2048×2048 full-color bitmap can produce a PNG around 12–16 MB because random data doesn't compress well. Black & white images compress better — usually under 1 MB at the same resolution. Grayscale falls somewhere in between.