What is MusicXML?
Also called: MXL, MusicXML file
MusicXML is an open file format for sheet music. It stores a score as text that notation programs can read, so you can move music between apps like MuseScore, Finale, Sibelius and Dorico and keep editing it.
A MusicXML file describes how the music is written: the notes and rests, the key signature, the time signature, clefs, ties, dynamics, chord symbols and lyrics. Files use the .musicxml extension, or .mxl for a compressed version that takes less space.
It is different from MIDI. MIDI records how music is played, such as when each note starts and how hard it is hit, but it knows little about notation, so a MIDI file opened in a notation app often needs cleanup. MusicXML keeps the written details, such as whether a note is spelled F sharp or G flat.
The format was first released in 2004 and is now developed by a W3C community group. Support is wide, but each app lays out pages in its own way, so spacing and fonts can shift after an import.
Example
Export a lead sheet from one notation app as MusicXML, open it in another, and the melody, chords and lyrics come through ready to edit.
Put it to work
Turn a section of a song into sheet music you can download as MusicXML.
Convert Audio to Sheet Music