Free Background Noise Generator

Generate white noise, pink noise, and brown noise for sleep, focus, and relaxation. Mix multiple noise types, adjust volume, and set timers.

Your data never leaves your device

White Noise

Consistent hiss-like sound. Good for sleep and blocking distractions.

50%

Pink Noise

Lower frequencies. Sounds like rain. Calming and soothing.

50%

Brown Noise

Deep rumbling sound. Feels like a thunderstorm. Very deep and low.

50%

Master Volume

Control overall volume for all active noise types.

70%

Auto-Stop Timer

No timer

What "color" of noise actually means

Noise has "colors" by analogy with light. White noise has equal energy at every frequency across the audible band, flat power spectral density (PSD), just as white light contains every visible wavelength. Pink noise drops 3 dB per octave: it has equal energy per octave rather than per Hz, so lower frequencies sound louder. The brain treats octave-equal energy as more natural because biological hearing perceives sound in octaves, not Hz. Brown noise (also called Brownian or red noise) drops 6 dB per octave: deeper, bassier, with very little high-frequency content. Brown is mathematically the integral of white noise (like a slow random walk), which is also why it's named after Robert Brown's Brownian motion of particles in a fluid.

These three exhaust the popular cases but they're not the only colors. Blue noise rises 3 dB per octave (the opposite of pink) and sounds harsh. Violet rises 6 dB per octave (the opposite of brown) and is the derivative of white noise, used in dithering for digital audio. Grey noise is shaped to sound equally loud at all frequencies given the human ear's frequency-dependent sensitivity (the inverse of the A-weighting curve). Most consumer-facing tools focus on white, pink, and brown because those map cleanly to "fan-like", "rain-like", and "thunder-like" subjective impressions and cover the spectrum from sharp to bassy.

Noise helps with sleep, focus, and tinnitus by a single mechanism: auditory masking. A loud broadband sound raises the threshold at which softer sounds become noticeable. A door slam or a phone notification that would otherwise jolt you awake gets covered by the steady noise floor. The brain quickly habituates to constant noise (it gets filtered as background) but still benefits from the masking effect on intermittent disruptive sounds. This is why noise machines have been a sleep aid since the 1962 Marpac Dohm became the household standard, and why the same principle works in browser tools today.

How this tool works under the hood

Every sample of audio is a number between -1 and 1. The generator runs an algorithm 44,100 times per second (the standard sample rate) to produce a continuous stream, feeds it to the Web Audio API, and the browser sends it to your speakers or headphones. Live synthesis means no audio files are downloaded and no loops are audible: each second of noise is freshly generated.

The algorithms per color: white is the simplest, each sample is just (Math.random() * 2) - 1, drawing a fresh random number per sample. Pink uses either the Voss-McCartney algorithm (sums multiple white sources at different update rates) or Paul Kellet's IIR filter from 1995 (5 to 7 filter coefficients tuned to give a 1/f spectrum within tenths of a dB). Brown uses a leaky integrator: each sample is approximately 0.998 * previous + 0.02 * white, which integrates the white noise input while preventing infinite drift. The leaky integrator is mathematically the discretization of Brownian motion's defining differential equation.

Mixing happens via the Web Audio API's GainNode per source plus a final master GainNode. Each volume slider sets a per-source gain (0 to 1); the master slider sets the overall gain. The auto-stop timer schedules a gainNode.gain.exponentialRampToValueAtTime(0.001, ...) at the chosen end time, fading the noise out over the last second rather than cutting abruptly. The tool never persists audio, never uploads anything, and the synthesis stops the moment you close the tab.

Brief history of noise as a tool

About Background Noise

Background noise, also called ambient noise or white noise, is a consistent sound that masks disruptive noises and creates a soothing environment. It works by providing your brain with a neutral stimulus to focus on, helping you sleep better, concentrate during work, or relax during stressful situations. Different types of noise have different effects depending on personal preference.

Types of Noise

Frequently Asked Questions

Is background noise good for sleep?

Yes. Background noise masks disruptive sounds like traffic, neighbors, or pets, creating a consistent auditory environment. Many people find white or pink noise helps them fall asleep and stay asleep. Start with 50% volume and adjust to your comfort level.

Which noise type is best for focus?

This varies by person. Many find pink noise (rain-like) or brown noise (deep rumble) more natural and less distracting than white noise. White noise works well for some. Try each type at different volumes to see what helps your concentration most.

Can I mix multiple noise types?

Yes. You can turn on multiple noise types and adjust their individual volumes to create a custom mix. Use the Master Volume control to adjust the overall volume of your mix without changing individual ratios.

Real-world workflows

Common pitfalls and what they mean

Privacy: synthesized in your browser, nothing leaves

Most noise apps and websites stream pre-recorded audio loops from their servers, which means every play sends a request that the operator can log: when you started, how long you played, which color you chose, and the IP address you connected from. Over weeks of nightly use this accumulates into a detailed sleep-pattern profile. The audio itself is harmless, but the access pattern reveals when you sleep, when you wake up at night, and how often you use the service.

This tool synthesizes noise in real time inside your browser using the Web Audio API. No audio is streamed from any server. The only network traffic is the initial page load (HTML, CSS, JavaScript); after that, the browser produces the noise locally and nothing is sent or logged. You can verify by opening browser dev tools on the Network tab: no requests fire while the noise plays. Put the browser in airplane mode after page load and the tool continues to work indefinitely.

When another tool is the right pick

Other frequently asked questions

What's the safe volume for overnight noise?

NIOSH recommends a maximum of 85 dB SPL over 8 hours of exposure. For overnight noise, target 50 to 60 dB at the ear: loud enough to mask intermittent disruptions, quiet enough to be safe long-term. A useful rule of thumb: if you can comfortably hold a normal-volume conversation over the noise, you're around 50 to 60 dB. Use a phone SPL meter app to confirm.

Why does brown noise sound "deeper" than white?

Because brown noise has a 1/f² spectrum: low frequencies dominate by an enormous margin. White noise has flat energy per Hz, so high frequencies dominate perceptually (since the audible band is much wider above 1 kHz than below). Brown emphasizes the bass; white emphasizes the treble. Pink sits in the middle with equal energy per octave.

Why doesn't the noise loop or repeat?

Because this tool synthesizes fresh samples in real time using the Web Audio API. There's no pre-recorded audio file being looped, so there's no loop point and no repetition. Each second is freshly generated from the random algorithm for that color. Many cheaper apps and websites loop a short recording, which produces a faint repetitive artifact at the loop boundary that some sensitive listeners notice.

Will the noise drain my phone or laptop battery?

Yes, but modestly. Audio synthesis is light on CPU compared to video. Expect a battery drain of around 5 to 10% per hour on a phone with the screen on, less with the screen dimmed or off. For overnight use, plug the device in. Browser tab throttling on mobile may pause audio when the screen locks; if so, leave the screen on dim or use a dedicated noise machine.

Can I save my custom noise mix?

Not as a file. Your last-used mix settings (per-source volumes, master volume, timer) are stored in browser localStorage for the same browser on the same device, so they reload when you return to the page. Crossing devices or clearing site data resets the mix. For a portable preset, write down your favorite combination (e.g., "Brown 60%, Pink 30%, Master 70%") and reapply it.

Is there a desktop or mobile equivalent?

Yes, many. Free apps include White Noise Lite (iOS/Android), Sleepa, and Apple's built-in Background Sounds (Settings -> Accessibility -> Audio/Visual). Paid premium options include Endel (adaptive soundscapes), Brain.fm (focus-tuned), and the classic Marpac Dohm hardware. This browser tool is a zero-install starting point; if you find noise helps you significantly, a dedicated device or app is more convenient for nightly use.

Related Tools