Random Bitmap Generator
ED-73Pick a width, a height and a mode, and get a new random-noise image. Download it as a PNG or a BMP, or press the button for another one.
Runs in your browser. Nothing is uploaded.
Random image
How to use it
- Choose the width and height. Sizes go from 16 to 1920 pixels, up to 4 million pixels in total.
- Choose the mode: color, grayscale or black and white.
- Choose PNG or BMP as the file type.
- Press Make a new image for a fresh one, then press Download image.
What the modes mean
In color mode every pixel gets a random red, green and blue value from 0 to 255, so there are about 16.7 million possible colors per pixel. Grayscale gives each pixel one of 256 gray levels. Black and white makes each pixel either black or white with the same chance, like static on an old screen. There is no transparency channel, and the images are not meant to look like anything.
Where the randomness comes from
The values come from crypto.getRandomValues, the secure random generator built into your browser, not from a seeded formula. Every image is different and you cannot recreate one from a number. That also means you cannot ask for the same noise twice, so download the image if you want to keep it. Everything is generated on your device.
PNG, BMP and file size
Noise cannot be compressed, so the PNG files are written without compression inside the PNG container. A color PNG takes about 3 bytes per pixel, a grayscale PNG about 1 byte and a black and white PNG about 1 bit per pixel. BMP files are always 24-bit, 3 bytes per pixel, with rows padded as the format requires. A 1920 by 1080 color image is about 6 MB. Use it for test data, textures, placeholders or to check an image pipeline.
Questions people ask
How do I generate a random image?
Set the width, height and mode, and the image appears at once. Press Make a new image to get another random one, then press Download image to save it as a PNG or BMP file.
Is the noise truly random?
It comes from the browser's cryptographically secure generator, crypto.getRandomValues, so it is not a repeating pattern from a seed. It is suitable for test images, but this page does not claim anything about the statistical quality beyond that.
What is the largest size I can make?
The width choices go up to 1920 pixels, the height choices up to 1920 pixels, and the total is limited to 4 million pixels. That covers 1920 by 1080 and 1920 by 1920. Larger images would be slow and heavy in the browser.
Should I choose PNG or BMP?
PNG is the better default: it is widely supported and a black and white PNG is much smaller. BMP is simple and uncompressed, always 24-bit here, and some older tools and test setups expect it.
Why are the files so large for such small pictures?
Random pixels have no pattern to compress, so the file holds almost every byte. A 1024 by 1024 color image is about 3 MB. Smaller sizes and the black and white mode give much smaller files.
Can I get the same image again?
No. There is no seed, and each press of the button makes a new image from fresh random bytes. If you need to keep one, download it right away.
About this tool
Every pixel value comes from crypto.getRandomValues, the browser's cryptographically secure random generator, so each image is different and cannot be repeated from a seed. Color mode draws red, green and blue separately, grayscale draws one of 256 levels per pixel, and black and white draws one bit per pixel. PNG files are written without compression because noise does not compress, so a color PNG is about 3 bytes per pixel and a black and white PNG about 1 bit per pixel. BMP files are always 24-bit. There is no transparency. The limit is 4,000,000 pixels. Images are made on this device and nothing is uploaded.