Gigproof

How to convert a chord sheet PDF to ChordPro

Checked

If you can select the text in your PDF, open it in our free ChordPro editor. It puts the chords at their place in the lyrics right in your browser. If the PDF is a scan, a photo or has two columns, send a picture of each page to ChatGPT or Claude together with our prompt, then check the result in the editor.

The ChordPro editor after opening the Red River Valley PDF: verse 1 and chorus with the chords over the lyrics, key D and capo 2 at the top, the file name red-river-valley as title, and a phone preview on the right.
Our test sheet Red River Valley, a PDF with text, right after Open in the free editor. The chords are in place; the title is still the file name.

Paste the prompts into ChatGPT or Claude. We measured them only with two Claude models: Sonnet, a large model, and Haiku, a small and fast one.

  • One column with text you can select: open the PDF in the editor.
  • Scan, photo or a PDF made only of images: a picture of each page to ChatGPT or Claude with the prompt, one page per message.
  • Two columns on a page: the same way, because the editor joins the columns line by line.
  • Chord chart with bars and no lyrics: ChatGPT or Claude with the grid prompt.
  • German sheets with H or B chords: the prompt on our German page. The editor turns H7 into B7, which is right in English, but keeps a German B as B instead of Bb. With an H chord on the sheet, that prompt writes both the English way; without one, check every B chord by hand.

Open a PDF with text in the ChordPro editor

Try to select a word in the PDF. If you can, the file holds text, and the editor can read it without any AI. Click Open in the editor and pick the PDF. It moves each chord from the line above into the lyrics at the place it stood and tells you which extra lines it removed. Nothing is uploaded.

In our test, Red River Valley, a one column sheet in Arial, came out with all 21 printed chords on the right syllable. On another sheet a line in which two chords touched stayed behind as plain text. Check every spot where chords sit close together, and check the top lines too: the editor takes the file name as title, and on one sheet it left the time signature and the tempo as plain lines.

The ChordPro editor after opening a German test sheet: a note at the top about German chord names with the buttons Copy prompt and Open ChatGPT, verse 1 with B7 over the lyrics, one line A H7E left as text, and the phone preview.
Our German test sheet after Open. The note at the top says that the editor reads H as B but keeps a German B as B, and suggests the German prompt. Most H7 chords came out as B7, the right English name; only the line where H7 and E touch stayed as text.

Convert a scan or photo with ChatGPT or Claude

  1. Take a screenshot of each page of the PDF, or a straight photo of a sheet on paper, large enough that you can read every chord.
  2. Open ChatGPT or Claude, attach the picture of one page (in Claude the PDF itself works too), paste our prompt and send it.
  3. Read the list of unclear spots under the answer and fix those lines against the sheet.
  4. Copy the code block, paste it into the ChordPro editor and play the song through once with the sheet next to it.

In ChatGPT, send pictures rather than the PDF itself. An older OpenAI help page (checked 17 November 2026) says that outside ChatGPT Enterprise, ChatGPT takes the text out of a PDF and drops the images, while a picture you attach is read as a picture. From the text alone a model cannot see which syllable a chord sits on: when we gave Claude only the copied text of a sheet, it put every chord at the start of its line and said so. If all chords in an answer sit at the start of their lines, send a picture of the page. In Claude, our tests ran with the PDF attached, read as pages with the chords in place; the scan and the photo went in as pictures.

A scanned chord sheet of Shenandoah, grey and slightly tilted: chord names above the lyrics, some of them running into each other, and a second verse without chords.
One of our test pages, a scan of Shenandoah. A page like this goes to ChatGPT or Claude.

Prompt for chord sheet to ChordPro

Convert the attached chord sheet (PDF, photo or scan) into a ChordPro file.

How to read the sheet:
- Look at the page itself, not only at its text layer. Copied PDF text loses where each chord sits, and two-column pages get mixed up. Read every column top to bottom before the next one.
- A chord belongs to the syllable directly below its first letter. In a typewriter font, count the character columns. Start the chord at the beginning of that syllable, never in the middle of one. If two chords overlap or touch, keep both, in the order they are played.
- Chord lines without lyrics underneath (intro, interlude, outro) stay chord-only lines.

How to write the file:
- Start with {title: }, then {artist: } (composer or "Traditional" if the sheet names one), then {key: }, {time: }, {tempo: } and {capo: } only when the sheet states them. Tempo is a plain number of beats per minute.
- Put each chord in square brackets right before the syllable it sits on: "From this [D]valley". A chord that falls inside a word splits it: "Shenan[G]doah".
- Mark parts with {start_of_verse: Verse 1} ... {end_of_verse}, {start_of_chorus: Chorus} ... {end_of_chorus} and {start_of_bridge: Bridge} ... {end_of_bridge}. Other parts (Intro, Pre-Chorus, Solo, Outro) get {comment: Intro} on its own line.
- If the sheet only says "Chorus" or "repeat chorus", write the whole chorus again with its chords. If it says "chords as verse 1", put verse 1's chords on the same syllables.
- Bars written with bar lines go into a grid, one cell per beat, a dot for each beat without a new chord:
  {start_of_grid: label="Intro" shape="4x4"}
  | G . . . | C . . . | D . . . | G . . . |
  {end_of_grid}
  Use the time signature for the beats (3/4 gives "| G . . |") and keep repeat signs |: :| and notes such as x2 after the last bar.
- Copy chord names exactly as printed, without spaces (Bm7, D/F#, Asus4, Bb, G#m7b5). Write flats with b and sharps with #. Do not transpose, simplify or add chords.
- Lyrics printed in syllables, as under notes ("Trä - nen"), become whole words ("Tränen"). A word split over two lines goes completely on the line where it starts, and its chords stay on their syllables.
- Copy the lyrics word for word, in the original language and spelling. Every lyric line of the sheet appears in full, none is shortened or merged. Leave out page numbers, headers, footers, strumming patterns, tablature and chord diagrams.

Before you answer, check each line against the sheet: same words, same chords in the same order, same syllables.

Answer with the complete ChordPro file in one code block. Below the code block, list every spot you could not read clearly, with the line, or write "No unclear spots." If the file holds several songs, give one code block per song.

Before and after: one verse of Red River Valley

Our own test sheet of the traditional song is set in Arial with the chords above the lyrics. Below you see verse 1 of the sheet and, under it, the ChordPro that Claude Sonnet wrote with an earlier version of the prompt: each chord moved into the line right before its syllable, and the line under the title became title, artist, key, time and capo.

Before: verse 1 of the sheet

Red River Valley
Traditional · Key: D · 3/4 · Capo 2
 
Verse 1
D                                 A7
From this valley they say you are going
                                        D
We will miss your bright eyes and sweet smile
                                G
For they say you are taking the sunshine
         D              A7        D
That has brightened our pathway a while
 
Campfire songbook · page 14

After: ChordPro from Claude Sonnet

{title: Red River Valley}
{artist: Traditional}
{key: D}
{time: 3/4}
{capo: 2}
 
{start_of_verse: Verse 1}
[D]From this valley they say you are [A7]going
We will miss your bright eyes and sweet [D]smile
For they say you are taking the [G]sunshine
That has [D]brightened our [A7]pathway a [D]while
{end_of_verse}
Top: verse 1 and the page footer of our test sheet, copied as text. Bottom: the ChordPro from Claude Sonnet.

All 21 printed chords landed on the same syllables as on the sheet. The sheet only says “Chorus (repeat)” at the end, and Sonnet wrote that chorus out with its 7 chords, 28 in all. The file opened in the editor without a change.

How well does the prompt work?

We made five test sheets with traditional songs and ran them with the prompt on Claude Sonnet and Claude Haiku; we did not run Haiku on Red River Valley. We did not run this prompt in ChatGPT, so the counts below are Claude counts. Both models read the PDFs as pages, with the chords where they stand. The count says how many chords landed on the right syllable; a written-out chorus counts too.

Sheet and hard partSonnetHaiku
Red River Valley, PDFChorus only named at the end28 of 28*not run
Clementine, PDFTwo columns, typewriter font, bars in the intro20 of 2012 of 20*
Shenandoah, scanGrey and tilted, chords overlap, second verse without chords32 of 32*31 of 32*
Der Mond ist aufgegangen, PDFLyrics in syllables as under notes, words split over two lines19 of 1915 of 19
Wenn ich ein Vöglein wär, PDFGerman H chords, German prompt32 of 3228 of 32*

* Run with the earlier version of the prompt, before the rules for lyrics in syllables and for chord names without spaces. Wenn ich ein Vöglein wär ran with the German version from our German page; all other counts come from the prompt on this page.

On Shenandoah, Sonnet listed the second verse as an unclear spot: the sheet only says to use the chords of verse one, and that verse has fewer syllables. Haiku kept every line of Clementine but, with the earlier prompt, put 8 chords one syllable off. Both wrote the German H7 as B7, the right English name. Every line of lyrics came back in full, and all files opened in the editor without an error.

Test sheet of Oh My Darling, Clementine in a typewriter font: an intro in bars, verse 1 and the chorus in the left column, verse 2, chorus x2 and an outro in the right column.
Our test sheet with two columns, Clementine. The editor would join the columns line by line; the prompt asks for one column after the other.

Der Mond ist aufgegangen is printed in syllables, the way lyrics stand under notes. The prompt asks for whole words there, and both models wrote whole words.

Chord charts without lyrics

A chart with bars, repeats and endings, but no lyrics, needs a different prompt. It turns each part of the chart into a ChordPro grid: one cell per beat, bar lines and repeat signs as printed, first and second endings on their own rows. Send it the same way as the prompt above: to ChatGPT a picture of each page of the chart, to Claude a picture or the PDF.

Prompt for chord chart to ChordPro grid

Convert the attached chord chart (PDF, photo or scan) into a ChordPro chord grid.

How to read the chart:
- Look at the page itself. Read the bars row by row, left to right, top to bottom.
- Count the bars by their bar lines, not by their width. A wide bar is still one bar, and a row may hold fewer bars than others; never add empty bars.
- Write out every bar, also where a passage repeats an earlier one note for note; never jump ahead to the next different bar.
- A part starts at the bar under its label. Bars before the label belong to the part before.
- Take the time signature from the chart. If it gives none, use 4/4.
- A bar can hold several chords. Slashes or the place of a chord in the bar show on which beat it starts; two chords in a 4/4 bar without marks get two beats each.

How to write the file:
- Start with {title: }, then {artist: }, {key: }, {time: } and {tempo: } only when the chart states them. Tempo is a plain number of beats per minute.
- Each part of the chart (Intro, A, B, Verse, Chorus, Coda) becomes its own grid, labelled as on the chart:
  {start_of_grid: label="A" shape="4x4"}
  | Gmaj7 . . . | Em7 . . . | Am7 . D7 . | Gmaj7 . . . |
  {end_of_grid}
  shape gives bars per row and beats per bar: 3/4 gives shape="4x3" and "| G . . |". Keep the rows as on the chart.
- One cell per beat: the chord on the beat where it starts, a dot on every other beat. Where the chart prints a repeat sign (%) in a bar, write "% . . ." for that bar.
- Keep the bar lines as printed: |: and :| for repeats, || for a double bar line, |. for the final bar line. Notes such as x2, Fine, D.C. al Fine or To Coda go after the last bar line of their row.
- First and second endings: start a new row for each ending and write 1. or 2. in front of its first bar line: 1. | F . . . | C7 . . . :|
- Copy chord names exactly as printed, without spaces (Bm7, D/F#, C7sus4, Bbmaj7). Write flats with b and sharps with #. Do not transpose, simplify or add chords. N.C. stays N.C.
- Leave out melody, lyrics, page numbers, headers and footers.

Before you answer, count the bars of each part and compare them with the chart.

Answer with the complete ChordPro file in one code block. Below the code block, list every spot you could not read clearly, with the bar, or write "No unclear spots."

We tested it on two charts we made: a 4/4 chart with 22 bars (repeat, first and second ending, a repeated bar, N.C., D.C. al Fine) as a PDF, and a waltz with 20 bars as a PDF and as a tilted, noisy photo. With the prompt on this page, Sonnet and Haiku got every bar of the 4/4 chart right, and Haiku every bar of the waltz photo. With the German version of the prompt, Haiku also got every bar of the waltz PDF. We did not run Sonnet on the waltz with this version; with the version before, it read every bar of the waltz photo too. All grids opened in the editor without an error.

The ChordPro editor with the grid Claude Sonnet wrote for our 4/4 chart Nachtblau: intro, part A with repeat signs, first and second ending and a repeated bar, part B with N.C., and the same grid on a phone preview.
The grid Sonnet wrote for our 4/4 chart, opened in the editor.

With ChatGPT Free, a tester ran an earlier version of the grid prompt on a seven page choir score. The grid prompt leaves lyrics out, so only the chords came back, in bars: 66 of 69 bars right, every chord name as printed. ChatGPT left out three bars near the end that repeat the three before them, and moved the last bar of one part into the next. The prompt on this page has a rule for each of these spots: write out repeated passages, and start a part at the bar under its label. We have not run this version in ChatGPT; in the four Claude runs above it made no errors.

Ultimate Guitar copies and Word files

For a song you copied from Ultimate Guitar or another chord site, you need no prompt. Paste it into the ChordPro editor: it removes the page text around the song, turns the header into title, key and capo, and puts the chords into the lines. In Chrome, our extension does it in one click from the song page. Word files (.docx) open with Open, like a PDF.

What to do with the ChordPro file

In the editor you can transpose the song, show Nashville numbers instead of chord names and save a PDF in four styles. Many chord and setlist apps can import a .cho file. Gigproof, our setlist app for iPhone and iPad, is not in the App Store yet. It will read .cho files, and its paid version will turn a photo of a printed chart into text on your device.

Other questions about PDF to ChordPro

What is ChordPro?

A plain text format for songs with chords, around since 1992. Chords stand in square brackets inside the lyrics, and lines in curly brackets name the title, key or the parts of a song. All of these directives are listed with examples in our reference of the ChordPro format.

Is ChordPro free?

Yes. The format is open, and the reference program on chordpro.org is open source.

What about a song over two pages?

Send both pages as two pictures in one message. Our Claude tests used one page per song, so check where the pages meet.

Can I convert a whole songbook at once?

The prompt asks for one code block per song, but we only tested single songs. Send one page per message and check each song before sending the next.