Skip to content
100% local

Guitar chord notation

Convert guitar chord names to six-string fret patterns and back.

Input
Output

Guitar chord notation

Paste a chord name such as "C", "F#m" or "G7" and this tool returns the six fret numbers that play it, ordered low E string to high e string and separated by dashes — the same shorthand used in tab files and chord-chart software. Switch the direction and it reads that shorthand back the other way, turning a fret pattern like "0-2-2-1-0-0" into the chord name it represents. It is built for anyone typing up a song sheet, converting a tab archive to plain chord names, or checking a shape they found written down.

Direction picks which way the conversion runs, and the swap button flips it while carrying the current output back into the input, so you can check a round trip. Batch mode treats each line of the input as its own chord or fret pattern instead of the whole box as one entry — paste a chord progression and get one fret pattern per line, or a column of patterns and get one chord name per line. Validate format controls what happens to an entry it doesn't recognize: on, it is flagged inline (or reported as an error for a single entry) so you can fix a typo; off, unrecognized entries are quietly skipped. Show notation reference appends a short legend explaining both formats under the result.

Chord names accept a root letter A–G, an optional sharp or flat, and an optional quality — m, 7, maj7 or m7, with no suffix meaning major; accidentals in the output are always spelled with a sharp. Fret patterns use six dash-separated numbers, where 0 means an open string; a pattern with a muted string isn't produced by this tool and isn't accepted back, since the shapes it builds always sound all six strings. Windows and Unix line endings both work in batch mode.

Everything runs locally in your browser — nothing you type is uploaded. Copy the result, download it as a .txt file, or send it back into the input to convert it the other way.

FAQ

What format do the fret patterns use?
Six numbers separated by dashes, ordered from the low E string to the high e string — for example "3-2-0-0-3-3". A 0 means the string is played open.
Which chords can it convert?
Major, minor, dominant 7th, major 7th and minor 7th chords, built from the movable E-shape barre pattern for any of the twelve roots. Accidentals come back spelled as sharps.
What happens if it doesn't recognize an entry?
With Validate format on, the entry is flagged inline (or returned as an error when converting a single chord). Turn it off to skip unrecognized entries instead.
Does batch mode change how many lines come out?
With Validate format on, every input line gets one output line, blank lines included. With it off, unrecognized lines are dropped, so the output can be shorter than the input.
Is my chord chart uploaded anywhere?
No. The conversion runs entirely in your browser — your chords and tabs never leave your device.