Skip to content
OSMD
Language: English
Sponsor

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.

OSMD compared with VexFlow, Verovio, alphaTab and abcjs
CriterionOSMDVexFlowVerovioalphaTababcjs
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
LicenseBSD-3-Clause: closed-source apps OK, keep the notice sourceMIT: closed-source apps OK, keep the notice sourceLGPL-3.0-only: closed-source apps OK with Verovio as a separate, replaceable library; changes to Verovio are shared sourceMPL-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). sourceMIT: closed-source apps OK, keep the notice source
OutputSVG (default) or Canvas in the browser; SVG or PNG on a server; Music Braille as Unicode text sourceSVG, Canvas; PNG or PDF in Node; since 5.1 an SVG export with the symbols as paths, needing no fonts sourceSVG, MIDI, MEI, Humdrum, Plaine & Easie, JSON timemap sourceSVG, Canvas, PNG (alphaSkia); exports Guitar Pro 7+, alphaTex, MIDI and audio sourceSVG, MIDI file, WAV source
Language and runtimeTypeScript and JavaScript; draws with a patched VexFlow 1.2.93 sourceTypeScript and JavaScript, browser and Node sourceC++20; JavaScript via WebAssembly; Python, Java, Swift and Go bindings; command line sourceOne TypeScript core, also compiled to .NET and to Kotlin for Android sourceJavaScript 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 sourceNot 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 stars330,784 · 2,021 source96,844 · 263 (vexflow/vexflow; the original 0xfe/vexflow has 4,408) source29,894 · 979 source32,873 · 1,941 source142,606 · 2,374 source
Maintained byPhonicScore, a music-tech company in Vienna; GitHub Sponsors sourceRon Yeh and Rodrigo Vilar; created by Mohit Muthanna Cheppudira in 2010 sourceRISM Digital Center, a research infrastructure funded by the Swiss National Science Foundation sourceDaniel Kuschny, mostly on his own next to a full-time job; alphaTab takes no payment or donations sourcePaul 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

When to choose which

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.

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.