Youtube Transcript icon

Youtube Transcript

Get the transcript of a youtube video

Youtube Transcript

AI-generated

Summary

Fetches the transcript of a YouTube video given its URL or ID, returning both the plain text and SRT subtitle formats.

Inputs

  • Youtube URL (required) — The ID or URL of the YouTube video to transcribe.

Output shape

a single JSON object per input item containing the original videoId, the full transcript text, and the transcript formatted as SRT subtitles.

The output JSON includes properties: 'videoId' (string), 'transcript' (string with concatenated text segments), and 'srt' (string formatted as SRT subtitles). In case of failure, errors are returned per item if 'Continue On Fail' is enabled; otherwise the execution fails with an error.

Examples

Example 1: Input a YouTube video URL or ID

Set the 'Youtube URL' parameter with the video ID or full YouTube URL.

Example 2: Get transcript output

The node returns JSON containing the video's ID, the combined transcript text, and an SRT-formatted string suitable for subtitle usage.

Discussion