How OSMD compares
Five libraries draw sheet music in the browser. Which one fits?
OSMD, VexFlow, Verovio, alphaTab and abcjs solve different problems. We maintain one of them, so every cell below links the project's own documentation or code. Found something wrong or out of date? Write to support@opensheetmusicdisplay.org and we correct it within a week.
| Criterion | OSMD | VexFlow | Verovio | alphaTab | abcjs |
|---|---|---|---|---|---|
| Input formats | ✓MusicXML, compressed .mxl source | ×No file import: you write the notes with its JavaScript API or EasyScore text, and its docs say EasyScore adds no MusicXML import source | ✓MEI (native), MusicXML incl. .mxl, Humdrum, ABC, Plaine & Easie, CMME, MuseData, EsAC source | ✓Guitar Pro 3 to 8, MusicXML incl. .mxl, Capella .capx, alphaTex text source | ×ABC text only source |
| Lays out a whole score | ✓Automatic line, system and page breaks; lays the score out again on resize (autoResize, on by default) source | ×You build staves and measures in code. Since 5.1 an optional Sheet wraps the measures you built into rows of a set width source | ✓Automatic page and system breaks (option breaks, "auto" by default); call redoLayout() after a size or zoom change source | ✓Page, horizontal and parchment layouts; reflows when its container changes width source | ✓Line breaks from the ABC source, or automatic with wrap; responsive: "resize" fits the width source |
| Audio playback with cursor | ◐In the sponsors' build (OSMD Extended), from the $14 GitHub Sponsors tier. Public OSMD has a visual cursor API, no audio. source | ×None found source | ◐None built in; outputs MIDI and a timemap for your own player source | ✓Free and built in: SoundFont synth, beat cursor, looping, sync with your own audio or video source | ✓Free and built in: synth and cursor callbacks source |
| Music Braille | ✓Yes, public since 2.1.1: BANA Music Braille Code 2015, Unicode output source | ×None found source | ×None found source | ×None found source | ×None found source |
| License | BSD-3-Clause: closed-source apps OK, keep the notice source | MIT: closed-source apps OK, keep the notice source | LGPL-3.0-only: closed-source apps OK with Verovio as a separate, replaceable library; changes to Verovio are shared source | MPL-2.0: closed-source apps OK, changed alphaTab files stay open. Rendered scores carry a small "♪ alphaTab.net" credit the project asks you to keep visible, and it plans to move to a license with an attribution clause (CPAL-1.0 or similar). source | MIT: closed-source apps OK, keep the notice source |
| Output | SVG (default) or Canvas in the browser; SVG or PNG on a server; Music Braille as Unicode text source | SVG, Canvas; PNG or PDF in Node; since 5.1 an SVG export with the symbols as paths, needing no fonts source | SVG, MIDI, MEI, Humdrum, Plaine & Easie, JSON timemap source | SVG, Canvas, PNG (alphaSkia); exports Guitar Pro 7+, alphaTex, MIDI and audio source | SVG, MIDI file, WAV source |
| Language and runtime | TypeScript and JavaScript; draws with a patched VexFlow 1.2.93 source | TypeScript and JavaScript, browser and Node source | C++20; JavaScript via WebAssembly; Python, Java, Swift and Go bindings; command line source | One TypeScript core, also compiled to .NET and to Kotlin for Android source | JavaScript source |
| Headless, on a server | ✓Node with jsdom: SVG, or PNG with @napi-rs/canvas source | ✓Node with jsdom and node-canvas (PNG, PDF) source | ✓Node (WebAssembly), Python, C++, command line source | ✓Node (SVG; PNG via alphaSkia); .NET and Android via Skia source | Not documented; the FAQ says to run it on the client in server-rendered apps source |
| Guitar tablature | ✓Yes, from MusicXML source | ✓Yes (TabStave, TabNote) source | ✓Yes: guitar and lute tablature (French, Italian), from MEI 5.1 and from MusicXML source | ✓Yes, a core feature: guitar, bass and drum tab source | ✓Yes, generated from the notes: guitar (E A D G B E), violin and mandolin (G D A E) source |
| Jianpu (numbered notation) | ◐In the sponsors' build only source | ×None found source | ×None found source | ✓Yes, free (showNumbered, since 1.4) source | ×None found source |
| Editing | ×No, it is a renderer; colors and visibility can be changed in code source | ×No: a drawing API; its docs say EasyScore adds no editable score model source | ◐Experimental editor API and an editor prototype source | ×No editing UI; change the data model in code, or edit alphaTex text source | ✓Yes, as ABC text: a built-in editor with live render; notes can be dragged source |
| npm downloads a week · GitHub stars | 330,784 · 2,021 source | 96,844 · 263 (vexflow/vexflow; the original 0xfe/vexflow has 4,408) source | 29,894 · 979 source | 32,873 · 1,941 source | 142,606 · 2,374 source |
| Maintained by | PhonicScore, a music-tech company in Vienna; GitHub Sponsors source | Ron Yeh and Rodrigo Vilar; created by Mohit Muthanna Cheppudira in 2010 source | RISM Digital Center, a research infrastructure funded by the Swiss National Science Foundation source | Daniel Kuschny, mostly on his own next to a full-time job; alphaTab takes no payment or donations source | Paul Rosen and Gregory Dyke; GitHub Sponsors source |
Every cell checked on Nov 21, 2026 against OSMD 3.0.0, VexFlow 5.7.0, Verovio 6.4.1, alphaTab 1.9.0 and abcjs 6.7.3, unless it shows another date. Downloads: npm, Nov 25, 2026 to Dec 1, 2026; stars: GitHub, read on Nov 21, 2026. "None found" means nothing in the project's docs or in a code search of its default branch (GitHub asks you to sign in for code search). We check every cell again each quarter.
What stands out
- Only OSMD writes Music Braille among the five. It is in public OSMD, free, since 2.1.1.
- alphaTab draws Jianpu and plays back, both for free, and abcjs plays back for free. In OSMD both are in the sponsors' build.
- OSMD draws with a patched VexFlow 1.2.93, not with VexFlow 5. The first question below says why.
- VexFlow's npm downloads are no guide to which VexFlow version people choose: up to 2.3.1 every OSMD install pulled VexFlow 1.2.93 as a dependency, so many of those downloads are OSMD's own. Since 3.0, VexFlow is inside OSMD's build.
When to choose which
OSMD
You have MusicXML and want it laid out automatically, in the browser or on a server, with Music Braille, under BSD-3. Playback, Jianpu and OSMD Native for React Native, iOS and Android come with the sponsors' build.
VexFlow
You generate notation in code and want to place every element yourself.
Verovio
Your sources are MEI or Humdrum, you need Python or C++ pipelines, or you publish scholarly and early-music editions.
alphaTab
You work with Guitar Pro files and tabs, want free built-in playback or Jianpu, or build native .NET or Android apps, and the credit it asks for fits your app.
abcjs
Your music lives as ABC text (folk, traditional tunes, songbooks) and your users type it.
Questions
- Why does OSMD draw with a patched VexFlow 1.2.93?
- Newer VexFlow spaces notes more widely: in our tests many scores look worse and take more room. VexFlow 5 also needs a music font loaded at runtime and brings no clear gain for OSMD yet, while a move means porting our changes to 39 of its files. So we stay on our patched 1.2.93. The long answer.
- MusicXML or MEI?
- Most notation programs export MusicXML, among them MuseScore, Finale, Sibelius and Dorico. MEI is used mostly for scholarly editions: with MEI sources, choose Verovio. The long answer.
- A hosted player instead of a library?
- Flat and Soundslice are services: you embed their player, your scores live on their platform and you pay per user. A library runs in your app, on your files, and you can read and change its code. The long answer.
- Audio and video sync?
- Built into alphaTab. With OSMD you move the cursor from your own player's clock, using the timestamps and tempo OSMD reads from the score; OSMD Extended, the sponsors' build, has an audio player of its own. The long answer.
More in the developer FAQ.
Hosted services, not libraries
If you'd rather embed a hosted player than ship a library, these sell a hosted player for sheet music. Your scores and your users live on their platform.
Flat
A hosted viewer and editor you embed, billed by the unique users a month; a free REST API for scores stored on Flat; and OMR that turns PDFs and photos into MusicXML or MIDI.
Soundslice
A hosted player with notation synced to video, licensed to education sites by the unique users a month ($100 a month for the first 200, 50 cents for each one after, on 2026-11-21).
Maintainers: tell us where we're wrong
If you maintain VexFlow, Verovio, alphaTab or abcjs and a cell is wrong or out of date, write to support@opensheetmusicdisplay.org. We correct it within a week, with the source you point us to.