Self-hosted alternatives to Spotify

Adverts on the free tier, and the Premium fee, are what send most people looking for a Spotify alternative. A music server at home plays the files you own, without adverts and without a listening profile built from what you play. The apps below stream from your own server.

Pricing
Free with ads, Premium subscription
Category
Audio
You hand over to Spotify
Listening history
What you lose by leaving Spotify
You supply the music files yourself, and nothing here recommends what to play next.

These stream music you own; they don't replace Spotify's catalogue.

Apps that can replace it

Requirement
PriceFreeFreeFree + PaidFree + Paid
LicenceGPL-3.0GPL-2.0MITProprietary
Media types–Movies, TV, Music–Movies, TV, Music, Photos
Transcoding–Hardware (NVENC, QSV, VAAPI)–Hardware (NVENC, QSV, VAAPI)
Watch state–Per-user accounts–Per-user accounts
Watch party–Synced playback (no chat)––
Remote access–Reverse proxy or VPN–Built-in relay
Offline downloads–––iOS and Android
Live TV–Tuner and guide–Tuner and guide
Web UIYesYesYesYes
iOS–YesYesYes
Apple TV–Yes–Yes
Android–YesYesYes
Android TV–Yes–Yes
Roku–Yes–Yes
webOS–Yes–Yes
Tizen–Yes–Yes
Xbox–Yes––
Windows–Yes–Yes
macOS–Yes–Yes
Linux–Yes–Yes
DockerYesYesYesYes
Linux packageYesYes–Yes
WindowsYesYes–Yes
macOSYesYes–Yes
Tech stackGo.NETPHPC++
Docker Containers1 (app only)1 (app only)1 (app only)1 (app only)
DatabaseSQLiteSQLiteMySQLSQLite
Architecturex86 + ARMx86 + ARMx86 + ARMx86 + ARM

What each alternative does

Updated