Generate white, pink, brown, blue, violet and grey noise in your browser, mix real rain, wind and ocean recordings, use the timer and download MP3 or WAV.
The color of noise is how its energy is spread between lows and highs
Noise is a random signal. What sorts it into "colors" is its power spectral density, meaning how much energy it has in each frequency range. In white noise it is flat: every hertz carries the same power. Because each octave is twice as wide as the one below, white noise sounds hissy and bright. Pink noise falls 3.01 dB per octave (density proportional to 1/f), so every octave carries the same energy, and it sounds more balanced. Brown noise falls 6.02 dB per octave (1/f squared) and sounds deep and full; the name comes from Brownian motion, not from the color brown.
Here the noise is computed in your browser, sample by sample, from pseudorandom numbers that go through filters: pink uses Paul Kellet's filter (accurate to within ±0.05 dB above 9.2 Hz at 44.1 kHz, according to its author), brown is a leaky integration of white (12 Hz corner), blue is the difference of pink and violet is the difference of white. The chart compares the theoretical line with the measured spectrum of what you are hearing, and the tool computes the slope live.
How to use
Pick a color, set the volume and press play.
Click Play and choose the noise color: white, pink, brown, blue, violet or grey. Start with the volume low.
If you like, add rain, wind, ocean waves or a fan with the mixer controls and set the sleep timer. At the end of the timer the sound fades out.
In My presets you save the mix, and in Download MP3 or WAV you pick the format and length and generate a file to play on any device. MP3 is much smaller; WAV is uncompressed. Everything is generated in the browser.
The colors
Spectral slope of each noise color
The slope is measured on density per hertz, on a logarithmic frequency scale. That is why white shows as a horizontal line, pink as a line falling 3 dB every time the frequency doubles, and brown falling 6 dB. Blue and violet are the mirror image: they rise 3 and 6 dB per octave. Grey has no single slope: it is white noise weighted by an equal-loudness curve, which compensates for the ear being less sensitive to very low and very high frequencies.
White: 0 dB per octave. Equal power in every hertz.
Pink: minus 3.01 dB per octave. Equal energy in every octave.
Brown (or red): minus 6.02 dB per octave.
Blue: plus 3.01 dB per octave. Violet: plus 6.02 dB per octave.
Grey: approximate inverse of the A-weighting curve, with the boost capped at 20 dB in the bass. It is an approximation: up to 1.2 dB of error against that curve between 30 Hz and 16 kHz.
How it is made
Field recordings, no audible seam and no repetition in the file
The noise colors are computed in the browser: the generator produces a stretch (12 seconds) and loops it. The end of the stretch is blended into its start with constant-power gains, so the loop point makes no click and no dip in level. The right channel starts at a different point of the same stretch, which makes the two sides uncorrelated, and the stereo width control mixes the channels from zero (mono) to one hundred percent (wide).
Rain, wind, ocean waves and fan are public domain (CC0) field recordings, 40 to 75 seconds each. So that they do not sound like a loop, the generator picks 14 to 26 second sections at random positions, joins them with 4 to 8 second constant-power crossfades and varies the level of each section by about 1.5 dB. In the download the audio is generated continuously, never repeating the same mix, in blocks of 10 seconds, and the recordings enter the file through the same rendering path.
Sleep and focus
What research says about noise and sleep
Many people use steady noise to mask sounds or to concentrate, but the scientific evidence is weak. A systematic review published in 2021 in Sleep Medicine Reviews (Riedy and colleagues) assessed studies of continuous noise as a sleep aid, rated the quality of the evidence as very low under the GRADE criteria, and noted that noise may also harm sleep and hearing. The studies varied widely in noise type, loudness and method. This tool is not a treatment or a medical device and makes no promises about sleep or attention. If you have persistent insomnia or a health condition, talk to a professional.
Hearing
Safe volume
The WHO-ITU standard for personal audio devices uses 80 dB for 40 hours per week as the adult reference (75 dB for children). Every 3 dB increase halves the safe time. This site cannot measure the real sound level, because it depends on your device, headphones and system volume. Keep the volume low enough to hold a normal conversation, avoid loud headphones for many hours, and prefer a speaker at some distance during sleep. The site's decibel meter can help check the room.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/white-noise-generator"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="White, Pink and Brown Noise Generator"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/white-noise-generator">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/white-noise-generator">White, Pink and Brown Noise Generator</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
It is how energy is distributed across frequencies. White has equal power in every hertz and sounds hissy and bright. Pink falls 3.01 dB per octave and has equal energy in every octave, sounding more balanced, like steady heavy rain. Brown falls 6.02 dB per octave and sounds deep and muffled, like a distant waterfall. The chart in the tool shows these lines live.
Dashed line: -6 dB per octavePress play to see the live spectrum
Start low and raise it slowly. Loud volume for many hours, especially on headphones, can damage your hearing.
Ambient sounds (real recordings)
Rain, wind, ocean and fan are public domain field recordings (CC0, Freesound). Each time, the tool picks and joins different sections, with no repeating loop.
Stereo and fades
Fade in
s
Timer fade out
s
My presets
Save the current mix to reuse it later. Presets stay in this browser only.
Download MP3 or WAV
Format
MP3 quality
Length
min
Channels
Estimated size: MP3 9.6 MB, WAV 106 MB.
MP3 file of about 9.6 MB (128 kbps, 44.1 kHz). Maximum in this mode: 208 minutes. The file is built in browser memory, so the limit is lower.
The noise is generated in your browser and the ambient recordings come from this site itself, with no data sent anywhere. Presets and settings are saved only on this device.