Chord Transposer
Transpose song chords up or down by any number of semitones. Supports sharp and flat keys, chord sheets, and Nashville numbers.
About
Transposing chords by hand introduces errors. A single wrong enharmonic spelling - writing G# when the key demands Ab - makes a chart unreadable to other musicians and breaks sight-reading flow. This tool maps every chord root to its chromatic index (0 - 11), applies the semitone offset modulo 12, and resolves the correct enharmonic spelling based on the target key signature. It preserves chord quality suffixes (m7, sus4, dim, slash bass notes) and maintains original text formatting so lyrics stay aligned.
Limitation: the parser assumes standard Western 12-TET tuning. Microtonal systems and non-Latin note names (Do-Re-Mi solfège) are not supported. Chord detection uses pattern matching; unusual spacing or non-standard notation (e.g., H for B in German convention) may require manual correction.
Formulas
Each note in the chromatic scale is assigned an integer index i from 0 (C) to 11 (B). To transpose a chord root by s semitones:
The modulo operation ensures the result wraps within the 12-tone cycle. Enharmonic resolution follows standard key-signature convention: keys with sharps in their signature (G, D, A, E, B, F#) produce sharp spellings; keys with flats (F, Bb, Eb, Ab, Db, Gb) produce flat spellings.
For slash chords, the bass note after the / is transposed independently using the same formula. The chord quality suffix (e.g., m7, sus4, add9) passes through unchanged.
Where ioriginal = chromatic index of the source note, s = signed integer semitone shift (β11 to +11), inew = chromatic index of the transposed note.
Reference Data
| Semitones | Interval Name | From C | From G | From D | From A | From E | From F |
|---|---|---|---|---|---|---|---|
| 0 | Unison | C | G | D | A | E | F |
| 1 | Minor 2nd | Db | Ab | Eb | Bb | F | Gb |
| 2 | Major 2nd | D | A | E | B | F# | G |
| 3 | Minor 3rd | Eb | Bb | F | C | G | Ab |
| 4 | Major 3rd | E | B | F# | C# | G# | A |
| 5 | Perfect 4th | F | C | G | D | A | Bb |
| 6 | Tritone | F#/Gb | C#/Db | G#/Ab | D#/Eb | A#/Bb | B/Cb |
| 7 | Perfect 5th | G | D | A | E | B | C |
| 8 | Minor 6th | Ab | Eb | Bb | F | C | Db |
| 9 | Major 6th | A | E | B | F# | C# | D |
| 10 | Minor 7th | Bb | F | C | G | D | Eb |
| 11 | Major 7th | B | F# | C# | G# | D# | E |
| 12 | Octave | C | G | D | A | E | F |