whatisgithub

What is youtubeexplode?

tyrrrz/youtubeexplode — explained in plain English

Analysis updated 2026-05-18

3,658C#Audience · developerComplexity · 2/5Setup · easy

In one sentence

A C# library that lets .NET apps download YouTube videos, audio, captions, and metadata without an official API key.

Mindmap

mindmap
  root((YoutubeExplode))
    What it does
      Access YouTube data
      No API key needed
    Tech stack
      C#
      NuGet
      FFmpeg
    Use cases
      Download videos
      Fetch captions
      Search YouTube
    Audience
      .NET developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Download a YouTube video's best audio and video streams and merge them with FFmpeg.

USE CASE 2

Fetch a video's title, author, and duration for display in an app.

USE CASE 3

Pull closed captions from a video and save them as an SRT subtitle file.

USE CASE 4

Enumerate all videos in a channel or playlist for a .NET application.

What is it built with?

C#.NETNuGetFFmpeg

How does it compare?

tyrrrz/youtubeexplodedotnet/command-line-apicommunitytoolkit/dotnet
Stars3,6583,6623,671
LanguageC#C#C#
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Needs FFmpeg installed separately to merge audio and video streams.

No license information given in the explanation.

So what is it?

YoutubeExplode is a C# library that lets programs talk to YouTube without an official API key. It works by scraping page data and using reverse-engineered internal endpoints, which means it figures out how YouTube's own website retrieves information and mimics those requests. The library is listed as being in maintenance mode, meaning it still receives fixes but is not under active feature development. The library covers four main areas: videos, playlists, channels, and search. For videos, it can fetch metadata such as the title, author name, and duration. It can also retrieve the list of available media streams for a video and download any of them to a file. YouTube separates audio and video into distinct streams rather than providing a single combined file for higher-quality content, so the library includes tools for identifying the best audio-only stream and the best video-only stream independently. A companion package called YoutubeExplode.Converter handles the step of joining those two streams into a single video file using a tool called FFmpeg. Closed captions are also supported: the library can fetch a list of available subtitle tracks, retrieve the text content of any track, look up what was being said at a specific timestamp, or save a track as an SRT subtitle file. For playlists, the library retrieves metadata and lets programs page through the list of videos in a playlist. For channels, it can fetch channel details and enumerate the videos published to a channel. The search feature allows querying YouTube and receiving back videos, playlists, or channels as results. The library is available as a NuGet package, which is the standard way .NET developers add third-party code to their projects. The author includes a terms-of-use statement expressing political views about the war in Ukraine, which users must implicitly accept by using the project. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Show me how to add YoutubeExplode to a C# console app and download a video's best quality stream.
Prompt 2
Write C# code using YoutubeExplode to fetch closed captions for a video and save them as SRT.
Prompt 3
Using YoutubeExplode and YoutubeExplode.Converter, merge the best audio and video streams into one MP4 with FFmpeg.
Prompt 4
Show me how to search YouTube and list channel videos using YoutubeExplode.

Frequently asked questions

What is youtubeexplode?

A C# library that lets .NET apps download YouTube videos, audio, captions, and metadata without an official API key.

What language is youtubeexplode written in?

Mainly C#. The stack also includes C#, .NET, NuGet.

What license does youtubeexplode use?

No license information given in the explanation.

How hard is youtubeexplode to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is youtubeexplode for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.