Skip to content

Song text format ​

Altar Studio imports songs and hymns from plain-text files. A file holds one song: an optional header, then the lyrics in sections.

Title: Amazing Grace
Author: John Newton
Type: hymn
Hymnal: Sample Hymnal
Number: 1
CCLI: 1234567
Copyright: Public domain
Tags: grace, classic
Order: V1 C V2 C

[Verse 1]
Amazing grace! how sweet the sound
That saved a wretch like me!
---
I once was lost, but now am found,
Was blind, but now I see.

[Chorus]
…

File ​

  • UTF-8 text, up to 50 MB. A byte-order mark is removed. Other encodings are refused with "File is not valid UTF-8 text".
  • Windows, Mac and Unix line endings are all accepted.
  • Extension .txt.

The header is a block of Key: value lines at the very top. Keys aren't case-sensitive, and spaces around the : are allowed.

KeySetsNotes
TitleTitleIf missing, the file name (without extension) is used, with a warning.
Author or AuthorsAuthorsSeparate several with ; or ,
TypeSong or hymnhymn makes a hymn. Anything else is a song.
HymnalHymnal nameMakes it a hymn
Number or HymnHymn numberMakes it a hymn
CCLICCLI number
CopyrightCopyright notice
TagsTagsSeparated with ,
OrderArrangementSee Order
LanguageLanguageFor example en

Rules:

  • Blank lines before the header are skipped.
  • The header ends at the first blank line, or at the first line that isn't one of the keys above. That line becomes a lyric. A line like Key: G isn't a recognised key, so it ends the header and shows up as lyrics. Remove it, or put it after a blank line inside a section you'll delete.
  • If a key appears twice, the last one wins.
  • Missing details stay empty. Altar Studio never invents an author or copyright.

Sections ​

A section starts with a label line. The label must be the only thing on its line. Square brackets or a trailing colon are optional for full words.

WriteSectionShort name
Verse, VVerseV
Chorus, CChorusC
Refrain, RRefrainR
Pre-Chorus, Prechorus, PCPre-ChorusPC
Bridge, BBridgeB
Tag, TTagT
Intro, IIntroI
Ending, Outro, E, OEndingE

A number may follow: [Verse 2], Chorus 2:, [V2].

These are all section labels:

[Verse 1]
Verse 2:
Chorus
[C]
V3:
[Pre-Chorus]

Rules:

  • Abbreviations need brackets or a colon. [V1], V1:, C: and [PC] are labels, but a bare C or V1 on its own line is a lyric. So a one-letter lyric line is never mistaken for a label.
  • Full words don't. A line that's only Chorus, Bridge, Tag, Intro, Ending or Refrain is always a label, even if you meant it as a lyric.
  • Pre Chorus with a space isn't recognised. Write Pre-Chorus or Prechorus.
  • Other labels, such as [Coda], [Custom] or [Verse 1a], aren't recognised and become lyric lines. Add custom sections in the song editor after importing.
  • Numbering: a number you give is kept ([Chorus 2] → Chorus 2, C2). Verses without a number are counted in order (Verse 1, Verse 2, …). Other sections without a number get none, so two plain [Chorus] labels both become C.
  • Lines before the first label become Verse 1.
  • Blank lines at the start and end of a section are removed. Empty sections are dropped.

Files without labels ​

If a file has no labels at all, each blank line ends a stanza, and the stanzas become Verse 1, Verse 2 and so on.

If a file has labels, blank lines stay inside the section and don't split it.

Numbered hymn verses ​

A line starting with a number and . or ), then a space, starts that verse when it begins the lyrics or follows a blank line. This works with or without labels.

1. Holy, holy, holy! Lord God Almighty!
Early in the morning our song shall rise to Thee;

2. Holy, holy, holy! all the saints adore Thee,

This makes Verse 1 and Verse 2. The rest of the numbered line is the first line of the verse. Numbers can have one or two digits.

Slide breaks ​

A line containing only --- forces a new slide at that point. It's kept in the section and applied when the song is shown, on top of the song's Lines per slide setting.

Order ​

Order: sets the arrangement: the sections to play, in order, by short name. Separate them with spaces or commas. Sections can repeat.

Order: V1 C V2 C B C
  • Names aren't case-sensitive.
  • Verses always have numbered short names, so use V1, not V.
  • A name that doesn't match a section is an error, and the file can't be imported: "Order refers to unknown section "name"".

Without an Order: line:

  • If the song has exactly one chorus or refrain and more than one verse, the chorus is repeated after every verse, with the warning "Suggested arrangement repeats "Chorus" after each verse — review before saving".
  • Otherwise sections play in the order written.

Imported defaults ​

Imported songs show 2 lines per slide. Change it in the song editor.

Errors and warnings ​

MessageEffect
No lyrics were foundError. The file can't be imported.
Missing titleError. Only when there's no Title: and no file name.
Order refers to unknown section "name"Error
No "Title:" line — using the file nameWarning
Suggested arrangement repeats "Chorus" after each verse — review before savingWarning

Word documents ​

Lyrics in Word (.docx) files follow similar rules. See Import songs from files.

Altar Studio by Milton Black. Free and open source.