Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ABC Notation Examples

From JustChords Wiki
Revision as of 10:58, 3 July 2026 by Marekpalka (talk | contribs) (Created page with "= ABC Notation Examples = This page collects ready-to-use ABC notation snippets. Copy any example into a song's ABC field in JustChords and it will render as a musical score. For an overview of what ABC notation is, see ABC Notation. == A minimal melody == The smallest useful score: a few notes with a title, meter, and default note length. <pre> X:1 T:Simple Scale M:4/4 L:1/4 K:C C D E F | G A B c | </pre> * '''X:''' tune number — '''T:''' title — '''M:''' m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ABC Notation Examples

This page collects ready-to-use ABC notation snippets. Copy any example into a song's ABC field in JustChords and it will render as a musical score. For an overview of what ABC notation is, see ABC Notation.

A minimal melody

The smallest useful score: a few notes with a title, meter, and default note length.

X:1
T:Simple Scale
M:4/4
L:1/4
K:C
C D E F | G A B c |
  • X: tune number — T: title — M: meter — L: default note length — K: key.
  • Letters A–G are notes; lowercase letters are one octave higher.

Note lengths and rests

Numbers lengthen a note, a slash shortens it, and z is a rest.

X:1
M:4/4
L:1/4
K:G
G2 A2 | B4 | c/2 c/2 d/2 d/2 e2 | z2 d2 |
  • G2 = half note, B4 = whole note, c/2 = eighth note, z2 = half rest.

Sharps, flats, and octaves

X:1
M:4/4
L:1/4
K:D
^F _B =C C, | c' d' |
  • ^ sharp, _ flat, = natural.
  • A comma lowers an octave (C,); an apostrophe raises one (c').

Chord symbols above the staff

Chord names in quotes appear above the notes, so the score doubles as a lead sheet.

X:1
M:4/4
L:1/4
K:C
"C"C E G c | "G"B, D G B | "Am"A, C E A | "F"F, A c F |

Lyrics under the melody

A w: line aligns syllables to the notes above it. Use a hyphen to split a word across notes and a space to move to the next note.

X:1
M:4/4
L:1/4
K:C
C C G G | A A G2 |
w: Twin-kle twin-kle lit-tle star

Multiple verses

Stack several w: lines to add more verses; each renders on its own row beneath the staff.

X:1
M:3/4
L:1/8
K:A
z2 "A"E E | F E3 | z2 "F#m"F E | F A3 |
w: 1.~Al-most Hea-ven. West Vir-gin-ia.
w: 2.~All my mem'-ries gath-er round her.
  • ~ keeps a syllable and the following word joined under one note.

Repeats and bar lines

X:1
M:4/4
L:1/4
K:G
|: G A B c | d c B A :| G4 |]
  • |: and :| mark a repeated section; |] is a final bar line.

Tips

  • JustChords can generate guitar tablature automatically from any of these examples — enable it in the song's notation settings.
  • Keep each staff line short so the score stays readable on smaller screens.
  • You can freely mix chord symbols, lyrics, and multiple verses in the same tune.

Online ABC editors

These free web editors let you type ABC notation and see the score update live — handy for drafting and checking a tune before pasting it into JustChords. Because JustChords renders with the abcjs engine, the abcjs-based editors will most closely match how your score looks in the app.