MusicXML in one paragraph
MusicXML was created in the early 2000s by Michael Good at Recordare as an interchange format for notation software, and has since become the standard way to move sheet music between programs. It is now developed in the open by the W3C Music Notation Community Group; version 4.0 was released in 2021. Practically every serious notation, scanning and music-education app can read it, which is why it is the format people ask for when they say "I want my score in an editable form".
What is inside a MusicXML file
A MusicXML file is plain text in XML, organised by part and measure. A single middle C quarter note looks roughly like <note><pitch><step>C</step><octave>4</octave></pitch><type>quarter</type></note>. Because it is text, it is verbose but easy for software to process, check and convert. Around those notes it records:
- Parts and instruments, including transposing instruments
- Clefs, key signatures, time signatures and their changes
- Exact note spelling (F♯ versus G♭), durations, ties, tuplets and voices
- Articulations, dynamics, slurs, tempo marks, repeats and endings
- Lyrics, chord symbols and fingerings
- Optional layout: page size, system breaks and positions
.musicxml, .mxl and .xml
| Extension | What it is | When you will see it |
|---|---|---|
.musicxml | Uncompressed MusicXML text | The recommended extension for plain files today |
.mxl | Compressed MusicXML — a zip archive containing the XML (and sometimes images) | The most common download format; much smaller files |
.xml | Uncompressed MusicXML with a generic extension | Older files and older software |
All three hold the same kind of information. If an app refuses one, try the other: most programs can both open and save compressed and uncompressed versions.
MusicXML vs MIDI vs PDF
These three formats are often confused because they can all represent "the same piece". They describe very different things.
| MusicXML | MIDI | ||
|---|---|---|---|
| What it stores | The written score: symbols and their meaning | A performance: which keys are pressed, when, how hard | A picture of the printed page |
| Can a notation app edit it? | Yes, with spelling, beams and markings intact | Yes, but notation must be guessed from timings | No — it must be recognised first (OMR) |
| Can it be played back? | Yes, by software that reads it | Yes, by almost anything | No |
| Keeps lyrics, dynamics, articulation | Yes | Partly (as performance data), lyrics rarely | Visually only |
| Best for | Sharing and editing scores between apps | DAWs, synthesizers, backing tracks | Printing and reading |
A useful rule: if you want to edit or re-engrave the notation, ask for MusicXML. If you want to play it on a synthesizer or in a DAW, MIDI is fine. If you only want to read or print, PDF is all you need. MIDI cannot tell an F♯ from a G♭, knows nothing of beams or slurs, and turns a carefully notated score into something that often needs heavy cleanup when imported back into notation software.
Which apps open MusicXML
Support is close to universal among notation and education tools. Commonly used options include:
- MuseScore Studio — free, open source, Windows, macOS and Linux. Opens and saves both .musicxml and .mxl.
- Dorico and Sibelius — professional notation software with full import and export.
- Finale — long a MusicXML stronghold; MakeMusic ended its development in 2024, but existing installations still read and write it.
- Notation in DAWs — Logic Pro, Cubase and others can import MusicXML into their score editors.
- Online and education tools — Noteflight, Flat, Soundslice and many practice apps accept MusicXML uploads.
- Guitar Pro and other tab editors can import it, with varying fidelity.
Fidelity varies: notes and rhythms transfer reliably, while fine layout and some special symbols can shift between programs. Expect to tidy up spacing after an import.
When you need MusicXML — and when you do not
You need MusicXML when the notation itself has to change or move. Typical reasons:
- Transposing a song for a different voice or instrument in notation software.
- Extracting parts from a full score, or combining parts into a score.
- Switching programs — from Finale to Dorico or MuseScore, for example — without re-entering everything.
- Accessibility — braille music and large-print tools generally start from MusicXML.
- Teaching and practice apps that need real note data to give feedback.
You do not need it if you only want to hear a piece or practise along with it. A score player can recognise a PDF and play it directly, without you ever handling a file.
Opening a MusicXML file
Double-clicking usually opens it in whichever notation program is installed. If it opens in a text editor or browser instead and you see lines of tags, it is an uncompressed file — open your notation program first and use its Open or Import command. If a download ends in .zip, it may be a renamed .mxl; try opening it directly in your notation app before unzipping.
How to get MusicXML from a PDF
Because a PDF is a picture, converting it to MusicXML requires optical music recognition. Your options, roughly from free to paid:
- Audiveris — a free, open-source desktop OMR program that exports .mxl. Powerful but technical; see running Audiveris online.
- MuseScore Studio's PDF import — free; sends the PDF to an online Audiveris-based service and opens the result for editing. See our notes on it.
- Commercial OMR — PlayScore 2 (MusicXML export in its Professional tier), ScanScore, SmartScore, Soundslice and others, priced differently at the time of writing.
- Musaica — see below.
Whichever you choose, check the result against the original. OMR is excellent on clean printed music and weaker on handwriting, dense pages, grace notes, tuplets and lyrics, as our scanning guide explains.
How Musaica uses MusicXML
Musaica is a free online sheet music reader. When you upload a PDF or photo, it recognises the notation with Audiveris and stores the result as MusicXML; that MusicXML is what is engraved on screen with OpenSheetMusicDisplay and played back in your browser. Reading and playing scores is free with ads. Downloading the MusicXML file is part of the paid plan, Musaica Basic ($5.99/month), which also removes ads and adds Smart Playback, Band Mode and HD audio renders. Musaica does not export MIDI; if you need MIDI, open the MusicXML in a notation program and export it from there. More detail is on our PDF to MusicXML page.
Frequently asked questions
What is the difference between .mxl and .musicxml?
.musicxml is plain, uncompressed MusicXML text; .mxl is the same content compressed into a zip archive. Both hold the same score and most apps open both.
Is MusicXML better than MIDI?
For notation, yes: MusicXML keeps note spelling, beams, slurs, dynamics, lyrics and layout. MIDI stores a performance and is better for synthesizers and DAWs. They serve different purposes.
Can MuseScore open MusicXML?
Yes. MuseScore Studio opens and saves both .musicxml and .mxl files, and is free.
How do I convert a PDF to MusicXML for free?
Use an optical music recognition tool. Audiveris is free and open source, and MuseScore Studio’s PDF import is free. Expect to correct some errors on complex scores.
Does Musaica export MusicXML for free?
No. Reading and playing scores in Musaica is free, but MusicXML export is part of the paid Musaica Basic plan. Musaica does not export MIDI.