What is ChordPro?
ChordPro is a text format for lead sheets containing lyrics, chords, metadata, annotations, and song sections. Chords are written in square brackets and directives are written in braces.
Requirements for this server
- Every song must contain a non-empty
{title: ...}directive. - Every song must contain a non-empty
{artist: ...}directive. - Song titles must be unique; comparison ignores capitalization and surrounding spaces.
- Use UTF-8 text.
- Submit one song per ChordPro file. ZIP imports may contain multiple song files.
Complete example
# This source-only comment is not displayed.
{title: Amazing Grace}
{artist: Traditional}
{key: G}
{time: 3/4}
{tempo: 80}
{copyright: Public domain}
{start_of_verse label="Verse 1"}
[G]Amazing [G7]grace, how [C]sweet the [G]sound
That saved a [Em]wretch like [D]me
I [G]once was [G7]lost, but [C]now I'm [G]found
Was [Em]blind but [D]now I [G]see
{end_of_verse}
{start_of_chorus label="Chorus"}
How [C]sweet the [G]sound
That saved a [D]wretch like [G]me
{end_of_chorus}
{comment: Repeat the chorus after each verse}
Chords and annotations
- Place a chord immediately before the syllable where it is played:
[G]Amazing. - Common, extended, accidental, and slash chords are supported:
[C],[F#m7],[Bbmaj7],[Bm7b5], and[D/F#]. - A line may contain lyrics, chords only, or lyrics without chords.
- Performance annotations use bracket-star syntax:
[*quietly]. - Use blank lines to separate paragraphs and improve readability.
Metadata
title and artist are required here. The remaining standard metadata is optional and improves searching, organization, and generated output.
{title: Song title}— required{artist: Artist name}— required{subtitle: Alternate title}{sorttitle: Title without leading article}{sortartist: Sortable artist name}{album: Album name}{year: 2026}{copyright: Copyright notice}
{composer: Composer name}{lyricist: Lyricist name}{key: G}{capo: 2}{time: 4/4}{tempo: 120}{duration: 3:45}{tag: Folk}
Custom metadata can be written as {meta: name value}. A metadata name may occur more than once when it has multiple values.
Song sections
Section directives come in matching start and end pairs. Explicit label="..." attributes are the clearest way to name sections.
{start_of_verse label="Verse 1"}/{end_of_verse}{start_of_chorus label="Chorus"}/{end_of_chorus}{start_of_bridge label="Bridge"}/{end_of_bridge}{start_of_tab}/{end_of_tab}for tablature{start_of_grid}/{end_of_grid}for chord grids
After defining a chorus, {chorus} recalls it. The server expands recalled choruses when rendering a song.
Comments and visible instructions
# Maintainer noteis ignored and never displayed.{comment: Play softly}adds a visible instruction.{comment_italic: Slowly}requests italic presentation.{comment_box: Key change}requests boxed presentation.{highlight: Important}requests highlighted presentation.
The exact appearance of visible directives depends on the renderer.
Custom chord diagrams
Most common chords use bundled definitions. A song can override or add a guitar fingering with {define: ...}:
{define: C base-fret 1 frets x 3 2 0 1 0 fingers 0 3 2 0 1 0}
[C]This song uses the supplied C diagram.
Useful syntax details
- Directives must occupy a single line.
- Directive arguments may use a colon, whitespace, or quoted attributes.
- Many directives have short aliases, such as
{t: ...},{soc}, and{eoc}. Full names are preferred because they are clearer. - A trailing backslash joins the following physical line to the current line.
- Always preview the result after adding or importing a song.
Broader ChordPro standard
The complete standard also defines images, transposition directives, page and column breaks, conditional directives, font and color directives, delegated ABC/LilyPond/SVG environments, and namespaced x_ extensions. These are formatter-dependent and are not guaranteed to affect this web renderer, so contributors should rely primarily on the features documented above.
Official references: Introduction, directives, and cheat sheet.