EN

YouTube Comments & Replies Scraper

Social MediaMCP

Extract comments and replies from YouTube videos by URL. Collect usernames, comment text, likes, publish time, and reply threads for analysis, research, or moderation.

Templates are view-only on mobile. Please switch to a desktop to run this template.

🚀 Why Use the YouTube Comments & Replies Scraper?

This template helps you collect complete comment threads from YouTube videos automatically. Instead of scrolling through comments manually, simply paste video URLs and extract structured comment and reply data in bulk.

Use it to:

  • Analyze audience sentiment and feedback
  • Monitor community discussions and reactions
  • Track engagement and popular topics
  • Build datasets for research, reporting, or moderation

All data is delivered in clean, export-ready formats.

Need a complete walkthrough? Our guide on exporting all YouTube comments covers three proven methods: from no-code templates to Python scripts.


📈 What to Do After Scraping Your Comments

Once you've extracted your YouTube comment data, here are common next steps:

Run Sentiment Analysis Classify comments as positive, negative, or neutral to gauge audience reaction. Our Python sentiment analysis guide walks through the complete workflow from raw text to sentiment scores.

Combine with Video Metadata Pair comment data with video-level metrics using the YouTube Details & Comments Scraper to correlate engagement with content performance.

Build a Multi-Platform Dataset Expand your research by scraping comments from Reddit, TikTok, or Twitter/X to compare audience sentiment across platforms.


Who Should Use This Template?

📣 Marketers & Social Media Teams — Analyze audience reactions and campaign feedback.

📊 Research & Analytics Teams — Study sentiment, engagement, and discussion patterns.

🧩 Agencies & Content Strategists — Monitor comments for client channels or competitors.

🧠 Product & Community Teams — Identify user pain points, requests, and trends.


🎬 Not Sure Which YouTube Scraper Fits Your Needs?

Octoparse offers multiple YouTube templates optimized for different data types. Here's how to choose:

If You Need...Use This Template
Comments and replies from specific videosYou're in the right place — YouTube Comments & Replies Scraper
Video details + comments togetherYouTube Details & Comments Scraper
Video metadata from search resultsYouTube Video List Scraper
Video data from specific URLsYouTube Video List Scraper by URL
Channel-level video data (by handle)YouTube Channel Scraper
Channel data (by URL)YouTube Channel Scraper Free
Community posts and engagementYouTube Community Scraper
💡 Pro Tip: Combine templates for richer datasets—scrape video lists first, then feed those URLs into the Comments Scraper for complete coverage.

Input and Output

Input

{
  "video_URLs": [
    "https://www.youtube.com/watch?v=xBBAD407zzU"
  ],
  "maximum_Number_of_Comments": "10",
  "maximum_Number_of_Replies": "Input 0"
}

Output

[
  {
    "CrawlTime": "Fri, 20 Nov 2026 08:04:53 GMT",
    "comment_time": "11 months ago",
    "comment_user": "@GordonGeko84",
    "like_count": "87",
    "post_comment_count": "254",
    "post_like_count": "2.9K",
    "reply_comment_time": "11 months ago",
    "reply_content": "Wow PC crowdidit",
    "reply_count": "2",
    "reply_like_count": "1",
    "reply_user": "@DominickZollinger-e3r",
    "video_url": "https://www.youtube.com/watch?v=iFqDyWFuw1c"
  }
]

🐙 Why Octoparse?

🧩 No-Code Required — You don't need programming knowledge; just input keywords and locations, and run the scraper.

🔄 Automatic Workflow & Pagination Handling — Octoparse handles navigation through search results, page loading, and data extraction for you.

📁 Easy Export Formats — Export scraped results directly to Excel, CSV or JSON for easy analysis or integration into CRMs and databases.

💻 Beginner-Friendly UI — Ready to use out of the box. Just enter your keywords and run.

Start collecting YouTube data quickly — no setup, no hassle, just raw data in minutes.

⚠️ Important Notes & Best Practices

  • Only public comments and replies can be scraped; private, deleted, or restricted comments are not accessible.
  • Videos with large comment volumes may take longer to process, and results depend on comment availability and loading limits.

❓ FAQs

What does cost of usage mean?

Cloud runs may consume usage credits based on data volume. You only pay for what you extract.

Can I scrape replies as well as comments?

Yes. This template extracts both top-level comments and their replies.

Can I scrape comments from private or unlisted videos?

No. This template only accesses publicly visible comments. Private videos, age-restricted content, and videos with disabled comments cannot be scraped.

How do I handle videos with tens of thousands of comments?

For high-volume videos:

  1. Set realistic limits — Start with 1,000–2,000 comments to test extraction speed
  2. Limit reply depth — Set "Maximum Number of Replies" to 10–20 unless you need complete threads
  3. Use cloud extraction — Cloud mode handles longer runs more reliably
  4. Split across runs — For viral videos, consider extracting in batches

Can I scrape comments in languages other than English?

Yes. The scraper captures comments exactly as they appear on YouTube, regardless of language. For multilingual analysis, you may need translation or language-detection tools during post-processing.

Scraping publicly available comment data is generally permitted for research, analysis, and business intelligence purposes. However, several factors affect legality:

Generally allowed:

  • Extracting publicly visible comments for sentiment analysis
  • Aggregating data for market research
  • Academic and journalistic research
  • Considerations:
  • YouTube's Terms of Service restrict certain automated access
  • Personal data (usernames linked to real identities) may fall under GDPR/CCPA
  • Commercial use of scraped data has additional restrictions

For a comprehensive overview, read "Is Web Scraping Legal?". If you're handling EU user data, our GDPR compliance guide covers best practices.


🛠 How to Use: Step-by-Step Guide

1. Start the template

Click "Try it!" or "Start" to load the template.

2. Enter your scraping parameters

On the input screen, fill in your keyword and filter options.

✍🏻 Input Fields Explained

ParameterRequired?DescriptionExample
Video URLs (up to 500 per run)RequiredEnter one or multiple video URLs. Supports up to 500 URLs per run (one per line).https://youtube.com/watch?v=abc123
Maximum Number of Comments (1–10,000)RequiredSet the maximum number of comments to extract for each video.500
Maximum Number of Replies (0–100)RequiredSet the maximum number of replies to extract per comment.50

3. Run the scraper

  • Click "Start" and select a run mode. (Greyed-out modes are not supported for this template.)
  • Octoparse will automatically browse YouTube, load search results, scroll pages, and extract all matching products.

4. Monitor & Handle Interruptions

  • Scraping duration may vary based on the number of products returned for your search.
  • If a CAPTCHA appears, pause the task, solve it manually, then resume the run.

5. Export your data

  • Once scraping completes, go to the Output section to review.
  • Export the results - e.g. as CSV or Excel - for further analysis, filtering, or storage.