Saved

Press the star next to a tool's name to save it.

All my tools

White Noise Generator

This white noise generator plays white, pink or brown noise in your browser with no download, with a volume slider and a sleep timer that fades the sound out after 15 minutes to 8 hours.

Restored your last values ·

Press Play, then set the volume. You can change the color or the timer while it plays. Keep this tab open: the sound stops if you close it.

The sound is made in your browser. Nothing is downloaded or sent anywhere.

Now playing

–

Keep the volume low, especially for a baby, and keep the speaker away from the bed or crib.

Recent results

A white noise generator plays a steady, even hiss that many people use to cover up background sounds while they sleep, study or work. This one makes the sound live in your browser, so there's no file to download and no loop you can hear repeating. Choose white, pink or brown noise, set the volume, and add a timer if you want it to fade out on its own after 15 minutes, an hour or the whole night.

How to use the white noise generator

  1. Pick a color: white, pink or brown.
  2. Press Play. The sound fades in over a second or two.
  3. Set the volume with the slider. Start low and turn it up slowly.
  4. Choose a timer if you want it to stop by itself. It fades out over the last few seconds instead of cutting off.
  5. Press Stop when you're done.

You can switch colors or change the timer while it plays. Keep the tab open, because closing it stops the sound. On a phone, the sound may pause if the screen locks, depending on the browser.

White, pink and brown noise

The colors describe how the sound's power is spread across frequencies, by analogy with light.

  • White noise has a flat spectrum: equal power in every band of the same width in hertz. The band from 40 to 60 Hz holds as much power as the band from 400 to 420 Hz. Because there are many more high frequencies, white noise sounds bright and hissy, like static.
  • Pink noise has equal power in each octave, so its power falls by about 3 dB every time the frequency doubles. It's also called 1/f noise. Since our hearing works in octaves, pink noise sounds more balanced and softer than white, a bit like steady rain. Audio engineers use it as a reference signal.
  • Brown noise, also called red or Brownian noise, falls by about 6 dB per octave, so it's deeper still, like a low rumble or distant surf. It isn't named after the color; the name comes from Brownian motion, and it can be made by adding up white noise over time.

Try each one for a minute. Many people find pink or brown more comfortable for long listening, while white noise is better at masking sharp, high-pitched sounds.

How the sound is made

The generator uses your browser's Web Audio system. For white noise it fills a buffer with random values. Pink noise comes from passing white noise through a set of filters that lower the high frequencies by about 3 dB per octave. Brown noise adds each new random value to a running total, with a slight leak so it doesn't drift. Each buffer is several seconds long, and its end is blended into its start, so the loop is smooth with no click.

All three colors are scaled to the same average loudness, so switching from white to brown doesn't suddenly make the sound louder or quieter. Each stereo channel gets its own random signal, which makes the sound feel wider through headphones.

Using white noise for a baby

Many parents use steady noise when a baby sleeps. If you do, keep it quiet and keep the speaker away from the crib. A 2021 study measured eight infant white noise machines and six phone apps at three distances. At the lowest volume, none went above the 85 dBA exposure threshold recommended by the US National Institute for Occupational Safety and Health. At the highest volume, nine of the fourteen went above 85 dBA when measured 10 cm away, about where a device would sit inside a crib. None did at 30 cm, just outside the crib rail, or at 100 cm, on a nightstand. The authors recommend avoiding the maximum volume and placing devices outside the crib.

A phone or laptop speaker's loudness depends on the device, so this page can't tell you how many decibels you're playing. If you're unsure, use a sound level meter app, keep the volume well below maximum and place the device across the room.

Tips for better sound

  • Use a decent speaker. Small phone speakers can't play the low end of brown noise.
  • Start low. The quietest level that covers the noise you want to hide is enough.
  • Use the timer at night if you only need help falling asleep.
  • Plug in your device for long sessions, since playing sound uses battery.

When people use a white noise generator

Steady sound is useful anywhere a sudden noise is more distracting than a constant one. People play it in a shared office to cover nearby conversations, in a dorm room at night, while studying in a busy house, or to cover traffic and a neighbor's television. Because the sound has no tune or words, it's easy to stop noticing after a few minutes.

Common mistakes

  • Turning it up to cover a loud noise. Masking works best at a low, steady level.
  • Putting the speaker in the crib. Close range is where devices got loudest in the study.
  • Closing the tab. The sound is made in the page, so it stops when the page closes.

What next

Use this often? Add White Noise to your Home screen.

Frequently asked questions

How does the white noise generator work?

It creates random sound in your browser with Web Audio and plays it in a smooth loop. Pink and brown noise are made by filtering or adding up the same random signal.

What's the difference between white, pink and brown noise?

White noise has equal power at every frequency and sounds hissy. Pink noise has equal power per octave and sounds softer. Brown noise drops faster with frequency and sounds like a deep rumble.

Can I set a sleep timer?

Yes. Choose 15 minutes to 8 hours under Stop after, and the sound fades out at the end.

Is white noise safe for babies?

A 2021 study found many devices got very loud at full volume close up, but none did at 30 cm or more. Keep the volume low and the speaker outside the crib.

Does it work offline?

Once the page has loaded, the sound is made on your device, so it keeps playing without a connection as long as the tab stays open.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Health & Fitness Tools