npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@donlovett/n8n-nodes-youtube-transcript

v1.4.0

Published

n8n node to fetch YouTube video transcripts

Readme

n8n-nodes-youtube-transcript

This is an n8n community node that fetches transcripts (captions) from YouTube videos.

n8n is a fair-code licensed workflow automation platform.

Features

  • Fetch transcripts from any YouTube video that has captions
  • Support for multiple languages
  • Output as full text or timed segments
  • Automatic video ID extraction from URLs
  • Graceful error handling

Installation

Community Node Installation (Recommended)

  1. Go to Settings > Community Nodes in your n8n instance
  2. Select Install
  3. Enter n8n-nodes-youtube-transcript
  4. Click Install

Manual Installation

cd ~/.n8n/custom
npm install n8n-nodes-youtube-transcript

Then restart n8n.

Operations

Get Transcript

Fetches the transcript/captions from a YouTube video.

Parameters:

  • Video ID or URL: The YouTube video ID (e.g., dQw4w9WgXcQ) or full URL
  • Language: Language code for the transcript (default: en)
  • Output Format:
    • Full Text - Returns transcript as a single text string
    • Segments - Returns array of timed segments with start time and duration

Output:

{
  "videoId": "dQw4w9WgXcQ",
  "language": "en",
  "hasTranscript": true,
  "transcript": "The full transcript text...",
  "wordCount": 1234,
  "segmentCount": 156
}

Supported URL Formats

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://youtube.com/embed/VIDEO_ID
  • Plain video ID: VIDEO_ID

Error Handling

If a video doesn't have a transcript available, the node returns:

{
  "videoId": "...",
  "hasTranscript": false,
  "error": "No transcript available for this video",
  "transcript": "",
  "wordCount": 0
}

Enable "Continue On Fail" in the node settings to process multiple videos even if some fail.

Limitations

  • This node uses YouTube's unofficial transcript API
  • Only works with videos that have captions enabled
  • Auto-generated captions may have accuracy issues
  • Rate limiting may apply for high-volume usage

License

MIT

Resources