ChordPro is the second editor tab. Instead of a chord line above the words, the chords go inline, in square brackets, right where they fall in the lyric. It is an open, portable plain-text format.
This page covers what the editor renders. For the full background on ChordPro, including its history, converting from other apps, and how transposition works, see the blog post ChordPro explained. For the chords-above-words style, see Chords over Lyrics.
Inline chords
Each chord sits above the character right after its bracket, so put the bracket exactly where the chord changes:
You type
[G]Strumming on my [C]guitar tonight [Em]Singing songs beneath the [Am]light
Renders as
GStrumming on my Cguitar tonightEmSinging songs beneath the AmlightWhat counts as a chord is the same everywhere in Fretlist: a root note (A to G), optionally sharp or flat, with quality, extension, and an optional slash bass, like Am, C7, F#m7, Cmaj7, G/B.
Section headers
Mark a section with a comment directive:
You type
{c: Verse} [G]Strumming on my [C]guitar tonight
Renders as
VerseGStrumming on my Cguitar tonight{comment: ...} is the long form of {c: ...}. Environment directives work too: {start_of_chorus} (or {soc}), {start_of_verse: Verse 2}, and {chorus} to repeat a chorus without writing it out again.
A comment only becomes a heading when it holds a common English section name, like {c: Chorus} or {c: Verse 2}. Any other comment stays a comment, as in the ChordPro standard, so for a heading in another language use an environment with a label: {start_of_verse: Strophe 1}. A name followed by a colon on its own line, like Refrein:, is a heading in any language too.
Notes that aren't chords
Mark a non-chord cue with an asterisk right after the bracket. It renders above the lyric in the lyric color, and its words never change with the key. Only a note that starts with a chord, like [*Dm7 (twice)], transposes that chord:
You type
I found a [G]love [*Stop]for me
Renders as
I found a Glove Stopfor meIt is the same note that Chords over Lyrics writes as (Stop), and switching tabs converts between the two. Fretlist also accepts bare brackets like [Mute] or [(stop)] as notes.
A chord in parentheses is still a chord. [(G)] is the ChordPro way to write an alternative or passing chord: it transposes, gets its chord diagram, and keeps its parentheses on the sheet:
You type
I [(G)]found a [C]love
Renders as
I (G)found a CloveChord diagrams
Define shapes with {define:} and they render as fingering diagrams:
You type
{define: C base-fret 1 frets x 3 2 0 1 0} {define: G base-fret 1 frets 3 2 0 0 0 3} {define: Am base-fret 1 frets x 0 2 2 1 0}
Renders as
ChordsSee Getting the most out of Frets for the full diagram system.
Tabs
Wrap tab in {start_of_tab} and {end_of_tab}. Fretlist also auto-detects tab lines, so the wrapper is optional:
You type
{start_of_tab} e|--------------0--| B|----------0-1----| G|------0-2--------| D|--2-3------------| A|-----------------| E|-----------------| {end_of_tab}
Renders as
eBGDAE||||||---------------2-----------3----------0-----------2----------0-----------1----------0-----------------||||||Chord grids
Chart bars without lyrics in a {start_of_grid} environment. Real barlines divide the bars and a dot is a beat with no new chord:
You type
{start_of_grid} | C . . . | F . . . | Am7 . . . | Dm . . . | {end_of_grid}
Renders as
CFAm7DmSee Chord grids for split bars, repeats, first and second endings, and strum patterns.
What the editor skips
A line starting with a single # is a hidden comment, and metadata or layout directives ({title}, {artist}, {key}, {capo}, custom {x_...}) are not drawn in the chord-sheet body. In this example only the two lyric lines render:
You type
# reminder: capo 2 live {title: Perfect} [G]Everything in brackets [C]renders {x_layout: ignored} [Em]but the directives [D]do not
Renders as
GEverything in brackets CrendersEmbut the directives Ddo notThey stay in the song text exactly as you wrote them. Type or paste {key}, {capo}, {tempo}, {time}, {duration}, {tuning} or {year} and those values fill in the song's details, for a new song and an existing one. Change one of those details later and the matching directive in the text changes with it.
Tags and fill-ins inside a line
Fretlist hides ChordPro's text tags and keeps the words. <b>my love</b> shows as "my love", and the tags stay in your file, so another app that draws them still can. This goes for b, big, i, s, small, sub, sup, tt and u, when the closing tag is on the same line. Anything else in angle brackets, like <Chorus> or <x2>, is yours and stays visible.
%{...} fills in a value from the song's own directives:
You type
{meta: year 1790} Written in %{year} With %{crew|24|four and twenty} seamen
Renders as
Written in 1790With four and twenty seamen%{name|a|b} shows a when the name has a value and b when it does not. A plain %{name} with no value stays as you typed it.
A section with a selector, like {start_of_verse-guitar}, shows as a plain verse, words included. Other directives with a selector, like {capo-guitar: 2} or {comment-alto: Softly}, stay in your file but do nothing in Fretlist yet.
Directive support at a glance
Here is where the major ChordPro directives stand in Fretlist. When something is not drawn, it is kept in the file rather than dropped, so nothing is lost on export.
| Directive | What it does | Fretlist |
|---|---|---|
| Song metadata | ||
{title} {artist} {composer} | Title and credits | Yes |
{subtitle} | Subtitle (read as an artist fallback) | Yes |
{key} {capo} | Key and capo position | Yes |
{tempo} {time} {tuning} | Tempo, time signature, tuning | Yes |
{tag} | Tags, read when you import the file and written on export | Yes |
| Sections and notes | ||
{start_of_verse} {start_of_chorus} {start_of_bridge} | Song sections | Yes |
{chorus} | Reprint the last chorus | Yes |
{comment} {comment_box} {comment_italic} {highlight} | Section labels and notes | Yes |
{new_page} | Page break for print and export | Yes |
| Chords, grids, and tab | ||
[C] inline chords | Chords in the lyric | Yes |
[(G)] | Alternative or passing chord, in parentheses | Yes |
%{name} | Fill in a value from the song's directives | Yes |
{define} {chord} | Custom chord diagrams, for any instrument | Yes |
{instrument} | Instrument for the diagrams that follow | Yes |
{transpose} | Shift the chords by N semitones | Yes |
{start_of_grid} | Bar-and-chord grid | Yes |
{start_of_tab} | Tab block | Yes |
| Styling and layout | ||
{textfont} {textsize} {textcolour} | Text font, size, color | Own style |
{chordfont} {chordsize} {chordcolour} | Chord font, size, color | Own style |
{columns} {column_break} | Fixed multi-column page layout | Own style |
{grid} {no_grid} {diagrams} | Show-or-hide display toggles | Own style |
<b> <i> <u> | Text tags: the words show without the styling | Own style |
| Embedded media | ||
{image} | Embedded image | Preserved |
{start_of_abc} {start_of_ly} | ABC and LilyPond music notation | Preserved |
{capo-guitar} {define-ukulele} | Directives for one instrument or person | Preserved |
Yes renders or applies. Own style means Fretlist ignores the directive and uses its own consistent look. Preserved means it is not drawn, but kept in the file so it survives export.
The preview, and switching formats
The preview renders the finished sheet live. Switch to the Chords over Lyrics tab to see the same song in the chords-above-words style, then switch back for ChordPro. A few ChordPro directives have no Chords-over-Lyrics equivalent, so Fretlist warns you before you edit in that view.