Online Tone Generator: Free Frequency Generator for Any Hz
Need a steady 440 Hz to tune a guitar, a deep 40 Hz hum to find a rattle in your car door, or a 165 Hz tone for a wet phone speaker? This free frequency generator plays any pitch you type, as a sine, square, triangle or sawtooth wave. It runs in your browser, so the sound starts the moment you press Play.
Frequency
440 Hz
Time left
1:00
Tone stopped
Type an exact value
Presets
Browser level only. Your device volume still applies, so start low and raise it gradually.
About this tool
- Frequency: 20 Hz to 20 kHz. Type a number or drag the slider
- Waveform: Sine · Square · Triangle · Sawtooth
- Volume, with smooth fade-in and fade-out
- Modes: Single tone · Frequency sweep
- Quick picks: 40 Hz · 165 Hz · 440 Hz · 1,000 Hz · 8,000 Hz
- Live waveform · Timer · Play / Stop
Turn your volume down before you press Play. Very low and very high tones can be louder than they sound.
What Is a Tone Generator?
A tone generator, also called a frequency generator or Hz generator, is a tool that plays a sound at the exact frequency you choose. This one runs in your browser: the Web Audio API creates the wave live, so there's nothing to download. People use it to test speakers and headphones, tune instruments, set up audio gear and explore their own hearing range.
Three settings shape every tone:
- Frequency is how many times per second the sound wave vibrates, measured in hertz (Hz). It sets the pitch: 100 Hz is a low hum, 1,000 Hz is a clear beep, 10,000 Hz is a thin whistle.
- Waveform is the shape of the wave. A sine wave is a pure, smooth tone. Square, triangle and sawtooth waves add extra overtones, so they sound brighter or buzzier.
- Amplitude is how big each vibration is. You control it with the volume, and it decides how loud the tone is.
Under the hood, the browser uses an OscillatorNode, the part of the Web Audio API that produces a steady wave at a set frequency and shape. That's why the pitch changes instantly when you move the slider.
How to Use the Frequency Generator
Turn your volume down, type a frequency in hertz, pick a waveform and press Play. The tone keeps going until you press Stop. Drag the slider or use the ±1 Hz buttons to fine-tune while it plays, and use ×½ or ×2 to jump an octave. For a pure, clean test tone, keep it on Sine.
- Lower your volume. Start quiet. You can always turn it up.
- Set the frequency. Type a number, drag the slider, or tap a quick pick such as 440 Hz.
- Choose a waveform. Sine for testing and tuning. Square, triangle or sawtooth for a fuller sound.
- Press Play. The tone starts right away and keeps playing.
- Adjust while it plays. Nudge the pitch 1 Hz at a time, or send it to the left or right speaker with Balance.
- Press Stop when you're done.
How Do I Generate a 165 Hz Tone?
Type 165 into the frequency box, choose Sine, set your volume to about half and press Play. That's it. A 165 Hz tone is a low hum, close to the E one octave above a guitar's lowest string. Many people play it to help shake water out of a wet phone speaker, so point the speaker down while it plays.
If that's why you're here, the speaker cleaner sounds page has ready-made 165 Hz and sweep presets with safe time limits built in. A tone can help move water near the grille, but it can't dry the inside of the phone or repair a damaged speaker.
Sine vs Square vs Triangle vs Sawtooth Waves
A sine wave is a single, pure frequency, which makes it the best choice for testing and tuning. A square wave adds strong odd overtones and sounds hollow and buzzy. A triangle wave adds weaker overtones and sounds softer. A sawtooth wave adds every overtone and sounds bright and harsh, like a synth or a bowed string.
|
Waveform |
What it sounds like |
Best for |
|---|---|---|
|
Sine |
Smooth, pure, almost hollow |
Speaker tests, tuning, hearing checks, the 165 Hz tone |
|
Square |
Hollow and buzzy, like an old video game |
Hearing whether a speaker distorts |
|
Triangle |
Softer than square, a little like a flute |
A gentler alternative to square |
|
Sawtooth |
Bright, sharp and rich |
Synth sounds and music experiments |
Because square, triangle and sawtooth waves carry extra frequencies on top of the one you picked, they sound louder and sharper at the same volume. Turn the volume down when you switch away from Sine.
Which Frequency Should I Use?
Start with what you want to hear. Deep tones from about 20 to 80 Hz show rattles and test subwoofers. A few hundred hertz to around 2,000 Hz is where voices sit and where speakers are easiest to compare. 440 Hz is the standard tuning note. Above 8,000 Hz you're testing tweeters and your own ears at the same time.
|
What you want to do |
Frequency to try |
Waveform |
|---|---|---|
|
Find rattles or test a subwoofer |
20 to 80 Hz |
Sine |
|
Help clear water from a phone speaker |
165 Hz |
Sine |
|
Tune an instrument |
440 Hz (the note A) |
Sine |
|
Compare two speakers |
500 to 2,000 Hz |
Sine |
|
Set levels on audio gear |
1,000 Hz |
Sine |
|
Test a tweeter or high-end headphones |
8,000 to 12,000 Hz |
Sine, low volume |
|
Check where your hearing tops out |
Raise slowly from 10,000 Hz |
Sine, low volume |
Two Tones, Frequency Sweeps and DTMF
Besides a single tone, the generator has three extra modes. Two tones lets you play two frequencies at once to hear how they blend or beat. Sweep glides from one frequency to another, which makes rattles and dead spots in a speaker easy to hear. The DTMF keypad plays the dual tones a phone makes when you press its keys.
- Two tones. Play two frequencies together, each with its own volume. Set them a few hertz apart, such as 440 Hz and 444 Hz, and you'll hear a slow wobble. That wobble is called a beat frequency, and it's how musicians hear when two notes are slightly out of tune.
- Sweep. Choose a start and end frequency and how long the sweep should take. A slow sweep from 20 Hz to 20,000 Hz is a quick way to test a speaker from bottom to top. For a full speaker check, the online speaker test has a ready-made sweep.
- DTMF keypad. DTMF stands for dual-tone multi-frequency. Every key on a phone keypad plays two tones at once: the 1 key, for example, plays 697 Hz and 1,209 Hz together. That's the familiar touch tone sound.
Why Can't I Hear Some Frequencies?
Two things limit what you hear: your ears and your speaker. Young people hear roughly 20 Hz to 20,000 Hz, and the top of that range drops with age. Small phone and laptop speakers also can't play very deep bass, so a 30 Hz tone may be almost silent on them. It isn't broken. The sound is just outside what that speaker can produce.
A few things to know:
- High tones fade first. Many adults stop hearing somewhere between 12,000 and 16,000 Hz. Raise the pitch slowly and notice where it disappears.
- Low tones need big speakers. Headphones and subwoofers play deep bass far better than a phone.
- Ultrasonic tones aren't really possible here. Anything above about 20,000 Hz is ultrasonic, meaning people can't hear it. Most browsers and sound cards also can't produce tones much above 20,000 Hz, so an "ultrasonic tone generator" in a browser won't give you true ultrasound.
- Don't turn the volume up to chase a tone you can't hear. You could expose your ears and speakers to a level that's too high without noticing.
Are Very Loud Tones Safe?
No. A steady loud tone is hard on your ears and can damage a speaker, especially at very low and very high frequencies. Start quiet and raise the volume slowly. A good habit is to find a comfortable level with a 1,000 Hz tone first, then keep the volume near that level when you move to deeper or higher pitches. Stop right away if a tone feels uncomfortable.
The World Health Organization says very loud sound, around 100 dB, is only safe for a few minutes a day. With headphones, keep tones especially quiet, because the sound goes straight into your ear.
Does Output Volume Equal Decibels in My Room?
No. The volume slider on this page is not a decibel meter. How loud a tone is in your room depends on your device's volume, your speakers or headphones, how far away you sit and the room itself. The same setting can be quiet on a phone and very loud on a home speaker. To measure decibels, you need a sound level meter.
Can a Tone Generator Fix a Speaker?
No. A tone generator can't repair a torn, blown or water-damaged speaker. What it can do is help you find the problem: a sweep or a steady low tone makes rattles, buzzing and dead spots easy to hear. A 165 Hz tone may also help move water out of a wet phone speaker's grille, but it won't dry the inside of the phone.
If a speaker rattles or crackles during a tone, stop playing it and turn to the speaker diagnosis tool.
Frequently Asked Questions
Can I set a custom frequency?
Yes. Type any number in the frequency box, or drag the slider. Use the ±1 Hz buttons for fine steps and ×½ or ×2 to jump down or up an octave.
What is a frequency generator?
A frequency generator is the same thing as a tone generator: it plays a sound at the frequency you choose. Some people call it an Hz generator or a sine wave generator when it plays pure sine tones.
What does a 2 kHz tone sound like?
A 2,000 Hz tone is a clear, fairly high beep, a little lower than a typical smoke alarm. It's in the range where human hearing is quite sensitive, so keep the volume low.
How can I create a sound frequency online?
Open this page, type the frequency in hertz, choose a waveform and press Play. The tone is created live in your browser, so you don't need to install software.
Can I tune an instrument with it?
Yes. Play 440 Hz, the standard A, on the Sine waveform and match your instrument to it by ear. Sine is best for tuning because it has no extra overtones.
Does the tone generator work on phones?
Yes. It works in modern browsers on phones, tablets, laptops and desktops. A phone's small speaker won't play deep bass well, so use headphones for low tones.
Why does nothing happen when I press Play?
Check that your device isn't muted and the tab isn't muted, then press Play again. Browsers block sound until you tap the page, which is called the browser autoplay policy. If it still doesn't work, update your browser or try another one.
Sources we checked
- World Health Organization: Safe listening Q&A (https://www.who.int/news-room/questions-and-answers/item/deafness-and-hearing-loss-safe-listening)
This tone generator is a sound tool, not a medical device.
Related tools
- Speaker Cleaner Sound Presets: ready-made 165 Hz and sweep tones for wet speakers
- Online Speaker Test: left, right, low, mid, high and a full sweep
- Bass Speaker Test: deep tones for subwoofers and bass
- Left Right Stereo Test: check each channel on its own
- Fix My Speaker: the main water eject tool
Testing a speaker? Run the full speaker test next.