YouTube View Source Parser

Paste YouTube page source to extract video info, ytInitialPlayerResponse and playback JSON

Runs in your browser

  1. Open a YouTube video in your browser
  2. Right-click → View Page Source (or press Ctrl+U / Cmd+Option+U)
  3. Select all (Ctrl+A / Cmd+A), copy, then paste into the box above and click Parse

Examples

  1. Get a video's details

    Input

    The full page source of a YouTube video page

    Output

    The title, channel, duration and view count, plus the player and playback data as JSON.

Questions and answers

Why paste the page source instead of the video link?

The tool runs in your browser and does not fetch anything from YouTube, so it reads the data that is already inside the source you paste.

It says no data was found. What should I check?

Make sure you copied the source of a video page, not a channel or search page, and that you selected and copied all of it.

What is ytInitialPlayerResponse?

It is the data YouTube embeds in every video page, with details such as the title, length and available streams. The tool extracts it and shows it as readable JSON.

Why do the links in streamingData stop working?

They are signed for the session that loaded the page and expire after the time in expiresInSeconds. Many formats also carry a signatureCipher field instead of a plain url, which only YouTube's own player decodes, so treat the links as data to inspect.

Can I see the caption tracks of a video?

Yes, when the video has captions. In the player response, look under captions, then playerCaptionsTracklistRenderer, then captionTracks: each entry lists a language code, a name and whether the track was generated automatically.

Sources and standards

All Tools