Online Guitar Tuner

Tune your guitar, bass or ukulele by microphone with real-time pitch detection and a cents-off needle. Free, works in your browser, nothing recorded.

🌐 Español

🔒 This tuner runs entirely in your browser using your microphone. Nothing is recorded, saved, or uploaded — the sound is analyzed live and stops the instant you click Stop or leave the page.

Press Start and pluck a string
EADGBE

Pick your instrument, click Start, and pluck one string at a time in a quiet room. Turn the peg until the needle sits in the middle and the note reads "in tune".

🔒 Private by design: everything runs locally in your browser and never uploaded to any server.

Autocorrelation on a 4096-sample window

A plucked string is a repeating waveform, and the length of one repeat is the whole answer. This tuner grabs 4096 raw samples of the microphone signal at a time (about 93 milliseconds at a 44.1 kHz device rate) and runs a normalized autocorrelation over them: it slides the captured waveform against itself, looks for the offset where it lines up best with an earlier copy of itself, and turns that offset into a frequency.

Three details make the difference between that idea and a usable tuner. The signal is measured first, and anything below a small amplitude floor is rejected as silence rather than guessed at. Each end of the window is then trimmed inward to the first sample that falls below a fixed amplitude threshold, so the correlation starts and ends on a quiet part of the waveform rather than mid-swing. And once the strongest peak is found, a parabola is fitted through it and its two neighbours, which recovers a fractional sample position, because rounding the peak to the nearest whole sample would quantise your reading in visible steps.

Picking the loudest peak out of a spectrum is the obvious alternative, and it is a poor fit down at guitar pitch. With this window at 44.1 kHz the spectrum bins would be about 10.8 Hz apart, and near a low E at 82.41 Hz that spacing is more than two semitones wide. A string’s harmonics are also frequently louder than its fundamental, which is how spectral peak pickers end up naming a note an octave or two too high.

Getting a clean read from one plucked string

  1. Pick your instrument in the “Instrument” menu, which offers “Guitar (standard EADGBE)”, “Bass (standard EADG)” and “Ukulele (standard gCEA)”.
  2. Press ”▶ Start tuner (allow microphone)” and accept your browser’s microphone prompt. The button reads “Starting…” for a moment and then becomes ”■ Stop tuner”.
  3. Pluck one string on its own and let it ring. The large letter is the note being heard, the smaller number under it is the octave, and the detected frequency is printed to one decimal place below the gauge.
  4. Read the needle. It leans left when you are flat, right when you are sharp, and hits its stop at 50 cents in either direction because beyond that the note has rounded to a different one.
  5. Turn the peg slowly, arriving at the target from below, until the readout says it is in tune.
  6. Press ”■ Stop tuner” when you are done, which stops every microphone track and closes the audio context, turning your device’s microphone indicator off.

Fresh strings will not hold any of this for long. New wire stretches for the first few days, so expect to repeat the whole pass several times before it settles.

Cents, the needle, and the five-cent in-tune window

A cent is a hundredth of a semitone, which makes 1200 cents to the octave. The tuner converts the detected frequency into a note plus a cents offset from that note, prints the offset as a whole number with a sign, and rotates the needle proportionally: 50 cents flat swings it to 45 degrees left, 50 cents sharp to 45 degrees right, dead centre to straight up. Tick marks sit at 50, 25, zero, 25 and 50.

Anything within 5 cents of the target counts as in tune and the readout says so. That tolerance is not laziness; it is roughly where the difference stops being audible on a plucked string, and a guitar will drift further than that on its own as the room warms up. Chasing a permanent zero is a way to spend an evening not playing.

Echo cancellation and auto gain are switched off on purpose

The microphone is requested with echo cancellation, noise suppression and automatic gain control all explicitly disabled. Those three are tuned for speech in a video call, and every one of them actively damages a tuner. Noise suppression treats a steady sustained tone as exactly the kind of stationary background it exists to remove. Automatic gain control keeps rewriting the amplitude of a decaying note. Echo cancellation subtracts a model of what it thinks came from your speakers.

Browsers do not all honour those requests in full, so the improvement is best-effort rather than guaranteed, but asking is free and the difference on a laptop microphone is usually obvious.

The 28 Hz to 1400 Hz detection window

Any estimated pitch outside a band running from 28 Hz to 1400 Hz is thrown away before it reaches the display. The floor sits just above the lowest note on a piano and keeps low-frequency rumble, a passing lorry or a hand knocking the desk from being read as a note. The ceiling lands just above F6 at roughly 1397 Hz, which is higher than anything you can fret on a standard guitar neck, and it discards the hiss and squeak that autocorrelation occasionally latches onto in a quiet moment.

When nothing valid arrives for about 350 milliseconds the display resets rather than freezing on the last note it saw. That is why the readout goes blank as a note dies away, and it is intentional: a stale note left frozen on screen is the single most misleading thing a tuner can do.

If a real error occurs, this page tells you what it was instead of showing a generic failure. Missing microphone support, a refused permission prompt and a failure to start the audio engine each produce their own message in a box above the tuner.

Guitar, bass and ukulele presets, and the chromatic fallback

The three presets exist only to decide which row of open strings is drawn and which one gets highlighted. Guitar is E2, A2, D3, G3, B3, E4 at 82.41, 110, 146.83, 196, 246.94 and 329.63 Hz. Bass is the lowest four of those letters an octave further down, at 41.20, 55, 73.42 and 98 Hz. Ukulele is the reentrant standard, so the strip starts with a high G at 392 Hz and then runs C4, E4 and A4, which surprises people who expect it to climb from left to right.

The highlight is chosen by whichever open string is closest in cents, and it always picks one, so it is a hint and never a verdict. The note letter, the octave and the needle are computed independently and chromatically, which is what lets the same page tune a mandolin, a cello or a set of drop-tuned strings that no preset covers. Note names are spelled with sharps only, so an A flat appears as G#.

For everything around the tuning itself, the guitar chord finder shows the shapes and strums them back to you, the metronome covers timing at anything from 30 to 250 BPM with tap tempo, the chord transposer moves a chord sheet into a key your voice or your capo prefers, and the voice recorder captures a take as MP3 or WAV once the instrument is finally in tune. If you would rather match a fixed reference by ear, the tone generator holds a labelled 440 Hz concert-pitch A for as long as you like.

See it in action

Screenshot of the Online Guitar Tuner tool with a chromatic tuner that opens with its microphone promise - the sound is analysed live in the browser, never recorded, saved or uploaded, and analysis stops the moment you stop it
Online Guitar Tuner mid-process: a chromatic tuner that opens with its microphone promise - the sound is analysed live in the browser, never recorded, saved or uploaded, and analysis stops the moment you stop it.
Diagram: where the work happens on a SysFenix page that has no file input at all: the tool arrives as ordinary JavaScript inside the page, works the answer out on your own device and renders it in place, so the upload, queue and server-side record a typical online tool needs never happen
Where the work happens on a SysFenix page that has no file input at all: the tool arrives as ordinary JavaScript inside the page, works the answer out on your own device and renders it in place, so the upload, queue and server-side record a typical online tool needs never happen.

Frequently asked questions

Can I set the reference pitch to 432 Hz, or tune to drop D?

The reference is fixed at A4 equals 440 Hz and there is no calibration field, so 432 Hz tuning is not supported. Alternate tunings work in a roundabout way, because the note reading itself is fully chromatic. Tune the sixth string down until the letter reads D and the needle centres, and you have drop D, but be aware the string strip below will still be highlighting the low E position, since it only ever highlights the closest of the preset's open strings.

The needle says in tune but the chord still sounds wrong.

Check the letter and the octave above the needle before you trust it. The needle measures how far you are from the nearest note in twelve-tone equal temperament, not from the string you meant to play, so a string sitting a full semitone low will happily read as perfectly in tune on the wrong note. If the letter is not the one you wanted, keep turning the peg rather than stopping at the centred needle.

The reading appears for a second and then disappears again.

That is the display clearing itself rather than freezing on a stale note. A pluck decays, and once the loop has gone about a third of a second without a usable pitch it wipes the note, the cents value and the frequency. Very quiet signals are rejected outright by an amplitude check, so a lightly picked string across the room may never register at all. Play closer to the device, let the string ring, and avoid tuning while something else is making noise.

Will it pick up the low B on a five-string bass?

Yes. Detection is limited to a band running from 28 Hz up to 1400 Hz, and a low B sits at about 30.9 Hz, comfortably inside it. What you will not get is a matching preset, because the bass preset lists the four standard strings only. Use it chromatically instead and watch the letter rather than the highlighted string.

Why can I not hear myself through my speakers while it runs?

There is no monitoring path, by design. The analyser node that reads your microphone is never connected to the audio output, so the signal is measured and discarded frame by frame without ever being played back. That also removes any chance of a feedback loop between your speakers and your microphone, which would corrupt the pitch estimate long before it became annoying.

How accurate is the pitch detection, really?

On synthetic sine waves the test suite holds the detector to within 3 cents of the true frequency, across the six guitar open strings, a low bass E and concert-pitch A, at both 44.1 and 48 kHz sample rates, and the source notes it normally lands within about a cent. A real plucked string is messier than a sine wave, so treat that as the ceiling rather than the everyday figure. The on-screen cents value is rounded to a whole number anyway, and anything within 5 cents of the target is reported as in tune.

Related tools