By Tim King · Updated
White Noise Generator
White, Pink and Brown Noise Online, Export as WAV
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the White, Pink and Brown Noise works
This white noise generator plays white, pink or brown noise straight away, with no loop you can hear and nothing to download. Pick a colour, set the volume, and leave it running for sleep, focus or masking a noisy room. Press Export to save up to ten minutes as a stereo WAV file you can loop in any player.
Noise is a random signal, and its "colour" describes how its energy is spread across the frequencies. The three here are the ones people actually reach for.
How the white noise generator makes each colour
White noise is a fresh random value for every sample, so every frequency gets the same energy per hertz. Because there are far more hertz in the treble than the bass — the octave from 10 to 20 kHz is ten thousand hertz wide, the octave from 50 to 100 Hz only fifty — white noise sounds bright and hissy, like an untuned radio.
Pink noise falls by 3 dB per octave, which gives every octave the same energy. That is how the ear groups pitch, so pink noise sounds even and balanced, like steady rain. It is the standard signal for setting speaker levels and the one most people find easiest to sleep to. It is made here by passing white noise through a bank of simple filters (Paul Kellet's method), accurate to within a fraction of a decibel across the audible range.
Brown noise (named after Robert Brown and Brownian motion, not the colour) falls by 6 dB per octave. Each sample is the previous one plus a small random step, so the signal wanders rather than jumps. The result is a deep rumble like surf or a distant waterfall, with very little hiss.
Stereo and looping. Playback uses eight seconds of independent noise on each channel, so the sound is wide rather than centred, and eight seconds of random data is far too long for the ear to notice the repeat. The export generates the full length you ask for, with a one-second fade at each end so it does not click when it starts or stops.
Volume. The slider follows a squared curve, which tracks loudness more naturally than a straight line. For sleep, keep it quiet — noise masks other sounds well below the level at which it becomes tiring.
FAQ
Which colour of noise is best for sleep?
There is no single answer, but most people prefer pink or brown noise to white, because white noise has a harsh treble hiss. Brown is the deepest and most soothing to many ears; pink is a good middle ground that still masks voices and traffic.
Is it safe to play noise all night?
Keep the volume low. Guidance for infant sleep machines, for example, is to stay well below 50 dB at the cot and to place the speaker away from the bed. For adults, quiet enough to hold a conversation over it is a sensible ceiling.
Why does the export stop at ten minutes?
A 16-bit stereo WAV at 44.1 kHz is about 10 MB per minute, and the whole file is built in memory. Ten minutes is plenty for a loop: set your player to repeat and it runs all night.
See also: all Audio tools, Images, Video & Screen, PDF, SVG, Simulations & Screensavers, Generative Art, Chart Makers, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.
Related tools
Binaural Beats Generator
Play binaural beats with any carrier and beat frequency, plus pink noise.
Tone Generator
Play any frequency as a pure tone and export it as WAV.
Speaker Test
Check left and right channels, frequency range and speaker polarity.
Sleep Timer Player
Play audio that fades out gently and stops after a set time.
Ambient Sound Mixer
Mix rain, wind, waves, fire, stream and crickets into your own soundscape.