White Noise Generator
Download a real .wav noise file built here in plain JavaScript: uniform white, gaussian or ramp noise at a chosen length and loudness, with a seed so the same settings always give the same file.
Fill in the values and calculate
The form sends itself back to this page — results print below, computed on the server.
No results yet: fill the form above and press Calculate.
About White Noise Generator
The file is written here from plain JavaScript: a standard 44-byte WAV header followed by 16-bit little-endian mono samples at 8,000 Hz, so any ordinary audio player opens it and no external program produced the sound. The size is exactly 44 header bytes plus 2 bytes per sample.
Each noise type is a different recipe over the same seeded stream. Uniform noise is one fresh draw per sample, the textbook flat white noise. Gaussian noise averages three draws per sample and rescales, which moves mass toward the middle and sounds low and even. Ramp noise ignores the stream: the value ramps linearly from bottom to top every half-second, a repeating sweep.
The generator itself is a seeded xorshift, so nothing changes until you change the settings: the same length, type, loudness and seed rebuild the identical bytes. Loudness is the share of full Int16 amplitude; halving it is not half as loud to the ear, but it is half the signal height.
Questions about White Noise Generator
What is the difference between these noise types?
Uniform white noise treats every sample independently and keeps every amplitude. Gaussian noise averages three draws, so mid-height samples dominate and the mix sounds calmer and low. Ramp noise sweeps linearly and repeats, which is a tone pattern rather than randomness.
Does the same seed give the same file?
Yes. A seeded xorshift drives the generator, so identical settings rebuild the identical bytes, bit for bit.
Why is the file so big?
A WAV is raw audio: 8,000 samples a second at two bytes each. The page prints the exact byte count, which is 44 header bytes plus 16,000 bytes per second, before you download.
Can I loop it seamlessly?
Short lengths loop without a seam at uniform/gaussian settings only within what rounding allows; long lengths end on a random sample, so a hard loop may click. For sleep use the longest length.
Is 8000 Hz good enough?
Noise for masking or sleep has nothing above a few kHz that matters here; 8 kHz keeps the download small. Audio for listening would use 44.1 kHz.
Bookmark and homescreen
- Press Ctrl+B now (or Cmd+B on macOS) to bookmark this page in your browser.
- Drag this link to your bookmarks bar and it will always open this tool: White Noise Generator.
- On a phone: open in Chrome/Safari and use "Add to Home Screen" — the site ships a homescreen icon and manifest, so it installs like an app.
- Two addresses work:
https://useful-utilities.com/white-noise-generator/andwhite-noise-generator.useful-utilities.com. Copy whichever you prefer.