What film grain is, and how this tool adds it
Film records light in tiny crystals of silver halide. After developing, each crystal is either a dark speck or nothing, and the specks are spread at random. Up close, that randomness is grain. Fast film, such as ISO 1600, uses bigger crystals to catch light quickly, so its grain is coarser. A digital sensor has no crystals, and modern phones smooth away their own noise, so a digital photo can look too clean. A little grain brings back the texture people associate with film.
This tool adds grain as grey noise. Every pixel gets one shift, up or down, applied equally to red, green and blue. Classic film shifts each pixel by up to 20 levels on the 0 to 255 scale, so a mid-grey of 128 lands somewhere between 108 and 148. Fine grain uses up to 12 levels and Heavy grain up to 35. Colours stay the same hue; only their brightness wobbles.
Real grain has a size, and so does this. The random values sit on a grid whose spacing is a share of the photo's long side, and pixels between grid points are blended smoothly. Classic film uses 0.18%: about 7 pixels on a 4,000 pixel photo and about 1.4 pixels on the 800 pixel preview. Since the grid scales with the picture, the preview looks like a shrunken copy of the download, which a fixed size in pixels could not do.
The random values come from a seeded generator, the same kind the site uses for repeatable patterns. Each grid row is seeded by its number, so the grain at a given spot is always the same. That makes the result repeatable: open the same photo next month, pick the same look, and the file comes out identical.
There are limits. Real film grain is strongest in the mid-tones and fades in deep shadows and bright highlights; here the grain is the same strength everywhere, and it only clips at pure black and pure white. Grain also makes files larger, because compression cannot predict noise. The download keeps JPEG, PNG and WebP, other formats come out as PNG, and the largest image is 24 megapixels.