abcjs
Renders ABC-notation text into SVG sheet music with optional MIDI playback in the browser.
| Language | JavaScript |
|---|---|
| Category | Composition & notation |
| License | MIT |
| Platforms | Web macOS Windows Linux |
| Install | npm install abcjs |
| First released | ~2013 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Turns plain-text ABC into engraved SVG notation client-side
- Built-in MIDI generation/playback and audio controls
- Supports transposition, tablature and chord grids
Limitations
- Scoped to ABC notation, not full MusicXML/engraving control
- Rendering-focused; not a general audio/synthesis toolkit
Best for
Embedding editable, playable sheet music from ABC notation on a web page.
Minimal example
import abcjs from "abcjs";
abcjs.renderAbc("paper", "X:1\nK:D\nDEF|GAB|");