ABC Notation Cheat Sheet
ABC notation writes tunes as plain text — a header of tune information, then the notes. This covers the fields and note syntax you need to read and write a tune.
Header fields
X:1Tune number (first field)T:My TuneTitleC:ComposerComposerM:4/4Metre / time signatureL:1/8Default note lengthQ:1/4=120TempoK:DKey (must come last, before the music)Notes & octaves
C D E F G A BOne octave (uppercase)c d e f g a bThe octave above (lowercase)C,An octave down (comma)c'An octave up (apostrophe)^C _C =CSharp, flat, naturalDurations
A2Twice the default lengthA/2 or A/Half the default lengthA3/2 or A>BDotted rhythm (A dotted, B halved)A<BReverse dotted (A halved, B dotted)Rests, bars & repeats
zA rest (z2 = longer)|Bar line|]End of tune|: … :|Repeat the enclosed bars[1 … :|[2 …First- and second-time endingsChords, ties & more
[CEG]A chord (played together)A-ATie two notes(ABc)Slur a phrase"Am"A guitar chord symbol above the notew: Twin-kle twin-kleLyrics aligned to notesABC Notation — Plain-text music notation. · ABC Notation in the tool directory →