Open Source Alternatives to YouTube

Updated 5 December 2026 · 3 alternatives · Social Networks

YouTube is Google's video platform, the world's second most visited website. Here are 3 open source alternatives, 2 of them self-hostable and 1 you can install as an app.
Top pickNewPipeGPL-3.0 · ★ 41.1k
Best self-hostedInvidiousAGPL-3.0 · ★ 26.3k
Best appNewPipeGPL-3.0 · ★ 41.1k
YouTube is made byGoogle (Alphabet)Proprietary

YouTube alternatives compared

Project Licence Type Self-host Cloud option GitHub stars
NewPipe GPL-3.0 Mobile app — — ★ 41.1k
Invidious AGPL-3.0 Self-hosted ✓ Yes — ★ 26.3k
PeerTube AGPL-3.0 Self-hosted ✓ Yes — ★ 15.5k

The 3 open source alternatives to YouTube

1

NewPipe

GPL-3.0 · Mobile app · ★ 41.1k on GitHub · since 2015

Visit site ↗

NewPipe is an Android app for watching YouTube, PeerTube, SoundCloud and Bandcamp without ads, tracking or a Google account. It supports background playback, downloads and subscriptions.

  • No ads, no Google account
  • Background and pop-up playback
  • Downloads
  • Also supports PeerTube and SoundCloud
2

Invidious

AGPL-3.0 · Self-hosted · ★ 26.3k on GitHub · since 2017

Visit site ↗

Invidious lets you watch YouTube videos without ads, tracking or a Google account, through public instances or your own server. You can subscribe to channels and import your YouTube subscriptions.

  • No ads or tracking
  • Subscriptions without a Google account
  • Audio-only mode
  • Self-hostable
Self-hosted Source code ↗
3

PeerTube

AGPL-3.0 · Self-hosted · ★ 15.5k on GitHub · since 2018

Visit site ↗

PeerTube is a free, decentralised video platform developed by the French non-profit Framasoft. Anyone can host videos on their own instance, which federates with others and can use peer-to-peer streaming.

  • Self-hosted video platform
  • Federation between instances
  • Live streaming
  • Mobile apps
Self-hosted Source code ↗ Also replaces Twitch

How to choose an open source alternative to YouTube

Decide between hosting your own videos (self-hosted video platform) and a privacy-friendly YouTube client.

If you want your data on your own server, look at Invidious and PeerTube. If you'd rather just install an app, NewPiperuns directly on your device.

Not sure where to start? Browse all social networks projects, or see our google alternatives list.

YouTube alternatives: FAQ

What is the best open source alternative to YouTube?

NewPipe is the most complete open source alternative to YouTube on our list, followed by Invidious and PeerTube. The best choice depends on what you need: Decide between hosting your own videos (self-hosted video platform) and a privacy-friendly YouTube client.

Is there a free alternative to YouTube?

Yes. Every alternative listed here is open source, so the software itself is free to use.

Can I self-host an alternative to YouTube?

Yes: Invidious and PeerTube can all be installed on your own server, so your data stays on infrastructure you control.

Is there an open source YouTube alternative I can install as an app?

NewPipe (mobile app) runs directly on your device, with no server needed.

Why switch from YouTube to open source software?

YouTube is proprietary software owned by Google (Alphabet): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as GPL-3.0 and AGPL-3.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.

Other popular alternatives

Browse 350+ open source alternativesSearch by product, category or licence