YouTube Transcript Scraper
Pricing
from $1.19 / 1,000 results
YouTube Transcript Scraper
YouTube Transcript Scraper SD - YouTube Transcript Scraper is a powerful tool that extracts full transcripts, timed segments, word counts and caption languages from YouTube videos and Shorts by video URL and language - YouTube transcript extractor for AI and content research.
Pricing
from $1.19 / 1,000 results
Rating
0.0
(0)
Developer
Neuro Scraper
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
2 days ago
Last modified
Features
Share
YouTube Transcript Scraper - full transcripts with timestamps from YouTube videos and Shorts
The YouTube Transcript Scraper collects public YouTube transcript data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the YouTube Transcript Scraper your input, start it and get structured YouTube data for research, monitoring, analytics or lead generation. You pay only for the results you receive.
⭐ Featured by Neuro Scraper: Facebook Reels Scraper - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. Try the Facebook Reels Scraper →
The YouTube Transcript Scraper turns YouTube captions into text you can use. Paste video or Shorts links and get the full transcript as plain text plus timed segments with start, end and duration.
Pick the language you want. The YouTube Transcript Scraper prefers captions written by the creator, falls back to YouTube's auto-generated captions, and can ask YouTube to auto-translate when your language is missing.
No login, no Google account and no YouTube Data API key. Every row is ready to export as JSON, CSV or Excel, or to send straight into an AI pipeline.
What the YouTube Transcript Scraper does
For every video URL, the YouTube Transcript Scraper lists the caption tracks YouTube has for that video, chooses the best one for your language and caption type, and downloads it.
The result is one dataset row per video: title, channel, duration, the language used, whether it was auto-generated or translated, the full text, a word count and the timed segments.
The row also lists every caption language the video offers, so you can see at a glance what else is available.
Who uses the YouTube Transcript Scraper
AI and LLM builders who need clean video text for summaries, retrieval, chatbots and training data.
Content teams who repurpose videos into blog posts, newsletters, show notes and social posts.
Researchers who analyse what is said in lectures, interviews, news clips or product reviews.
SEO and accessibility teams who need searchable text and subtitles for their own and competitors' videos.
Input fields for the YouTube Transcript Scraper
Only startUrls is required. The defaults give English transcripts, creator captions first.
| Field | Type | Default | Meaning |
|---|---|---|---|
startUrls | array | 2 example videos | Video or Shorts URLs, youtu.be links or 11-character ids |
language | string | en | Language code you want: en, es, de, fr, pt, hi, ja ... (en-US, pt-BR also work) |
captionType | select | any | any (creator captions first), manual (creator only), auto (auto-generated only) |
fallback | select | original | If your language is missing: original (video's own language), translate (YouTube auto-translation) or skip |
includeSegments | boolean | true | Add the timed segments; off = full text only |
maxItems | integer | empty | Optional cap on the number of transcripts |
proxyConfiguration | object | Apify RESIDENTIAL, US | Proxy used for every request |
The startUrls field keeps its name from earlier versions of the YouTube Transcript Scraper, so saved tasks keep working.
Output of the YouTube Transcript Scraper
One row per video. The schema is the same for every video, so a JSON or CSV export of the YouTube Transcript Scraper maps cleanly into any tool.
| Field | Meaning |
|---|---|
videoId, url, title | The video |
channelName, channelId | The uploader |
durationSeconds | Video length |
language, languageName | Language of the returned transcript |
isAutoGenerated | True for YouTube's automatic captions |
isTranslated | True when YouTube auto-translated the track |
sourceLanguage | Language of the caption track used |
selectedBy | Why this track was chosen, e.g. "requested language" |
availableLanguages | Every caption track of the video: code, name, auto-generated flag |
segmentCount, wordCount | Size of the transcript |
text | Full transcript as one plain text |
segments | List of start, end, duration (seconds), startTime (HH:MM:SS.mmm) and text |
inputUrl, scrapedAt | Run context and ISO timestamp |
Example row (shortened)
{"videoId": "aircAruvnKk", "title": "But what is a neural network? | Deep learning chapter 1", "channelName": "3Blue1Brown", "language": "en", "isAutoGenerated": false, "isTranslated": false, "segmentCount": 286, "wordCount": 3357, "text": "This is a 3. It's sloppily written and rendered at an extremely low resolution of 28x28 pixels, ...", "segments": [{"start": 4.22, "end": 5.4, "duration": 1.18, "startTime": "00:00:04.220", "text": "This is a 3."}]}
How to run the scraper
Open the YouTube Transcript Scraper, paste your video URLs, set the language code, and press Start. Each transcript is saved as soon as it is ready.
For text-only use, switch off includeSegments. For subtitles or clip cutting, keep the segments: each one has an exact start and end time.
If you only want the creator's own captions, set captionType to manual. If you want YouTube's speech recognition, set it to auto.
How the scraper picks a caption track
First it looks for a track in your language, creator captions before auto-generated ones. A regional code such as pt-BR also matches pt, and en matches en-US.
If there is none, the YouTube Transcript Scraper follows your fallback: the video's original track (the one YouTube marks as the default for its audio), a YouTube auto-translation into your language, or no row.
The chosen path is written into selectedBy, so every row of the YouTube Transcript Scraper tells you exactly where its text came from.
Batch jobs with the scraper
Paste hundreds of URLs into one run. The YouTube Transcript Scraper works through them one after another, and a video without captions or a broken link never stops the rest.
Each video without a transcript gets its own log line with the reason, and the run ends with a summary that counts them and names the first ten, so you know what to retry or skip.
Measured results of the scraper
All numbers come from local test runs of the YouTube Transcript Scraper on a home connection:
- Two videos in 5 seconds: 286 segments and 3,357 words, and 154 segments and 990 words.
- Five videos in 18 to 25 seconds, including a Short (7 segments, auto-generated) and a 19-second video (6 segments).
- A music video in Spanish: 91 segments and 655 words with
language: es. - One lecture video listed 31 caption tracks in
availableLanguages.
How the scraper works
We tested every route first. YouTube's web player now protects its caption files: logged out, the web caption links return an empty file, and the web "Show transcript" request is refused.
The YouTube Transcript Scraper therefore asks YouTube for the caption list the way the YouTube iOS app does. That list is open, and its caption files download normally.
The app version used for this is read live on every run from Apple's public App Store listing, and the visitor data comes from the video page itself. Nothing is hardcoded, so updates on YouTube's side do not silently break the YouTube Transcript Scraper.
The scraper limits, stated plainly
The YouTube Transcript Scraper can only return captions that exist. Videos without any captions produce no row, and the log says so; in our tests a movie clip and an ended live stream had none.
Auto-generated captions are YouTube's own speech recognition and can contain recognition mistakes. The YouTube Transcript Scraper returns them exactly as YouTube has them and marks them with isAutoGenerated.
YouTube's auto-translation is rate-limited. In our tests it worked on the first request and then answered HTTP 429 to further translations from the same IP address, while normal transcripts kept loading.
When a translation is refused, the YouTube Transcript Scraper retries it through fresh proxy IPs on the Apify platform, and otherwise returns the original-language transcript with selectedBy explaining why. In our final test that fallback returned the Bengali original of the video.
Private, deleted and members-only videos are out of reach.
The scraper pricing
The YouTube Transcript Scraper uses pay-per-event pricing: you pay per dataset row (event "result"), plus the Apify platform usage of your run. The run stops at your maxItems or at the charge limit you set. A video without captions produces no row, so it is not charged as a result.
Free-plan users get up to 30 rows per run, which is enough to test the YouTube Transcript Scraper on real data. The current price per 1,000 results is on the Pricing tab.
Using the scraper in a workflow
Pair it with the YouTube Scraper: search for a topic, take the video URLs from that dataset and pass them to the YouTube Transcript Scraper. You get a searchable text corpus for a whole niche.
Send transcripts to Google Sheets, Notion or a vector database through the Apify integrations, or with Make, Zapier and n8n. A webhook can start your summarisation automation the moment a run finishes.
Developers call the YouTube Transcript Scraper from Python with the Apify API client:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("neuro-scraper/youtube-transcript-scraper").call(run_input={"startUrls": [{"url": "https://www.youtube.com/watch?v=aircAruvnKk"}], "language": "en", "includeSegments": False})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["title"], item["wordCount"])print(item["text"][:500])
Feeding transcripts to an LLM
Use text for summaries and question answering. Use segments when the model must cite timestamps: each segment's startTime can become a deep link to that moment of the video.
The wordCount field helps you budget tokens before you send a transcript to a model.
Leave a review
If the YouTube Transcript Scraper saved you time, please leave a star rating and a short review on the Actor page. Reviews help other users decide and tell me what to improve.
If a video did not work, open an issue with the run link and it will be looked at.
Frequently asked questions
Does the scraper need a YouTube API key?
No. The YouTube Transcript Scraper does not use the YouTube Data API. It reads public caption tracks without any login or key.
Does the scraper work with YouTube Shorts?
Yes. Paste the Shorts URL. In tests a 31-second Short returned 7 segments of auto-generated English captions.
Can the scraper get transcripts in other languages?
Yes. Set language to any code such as es, de or hi. If the video has captions in that language, the YouTube Transcript Scraper returns them; otherwise fallback decides what happens.
What if a video has no captions in my language?
With fallback: original you get the transcript in the video's own language. With translate, YouTube's auto-translation is requested. With skip, the video is left out and the log lists the languages it does have.
Why was my translated transcript returned in the original language?
YouTube refused the translation with HTTP 429, which it does after a few translations from one IP. The YouTube Transcript Scraper retried through other proxy IPs and then returned the original transcript, as selectedBy explains.
Are auto-generated transcripts included?
Yes, when no creator captions exist in your language, or always if you set captionType: auto. The isAutoGenerated field tells you which kind you got.
Can I get SRT subtitles from the scraper?
Each segment has start and end times, which is everything an SRT or VTT file needs. Convert the segments list with a few lines of Python or in a spreadsheet.
Which formats can I export transcripts in?
JSON, CSV, Excel, XML and HTML from the console, and the same data through the Apify API and integrations.
How long does the scraper take per video?
In our local tests two videos took 5 seconds and five videos 18 to 25 seconds in total. Runs on the Apify platform go through a residential proxy, so times there can differ.
Is it legal to use the scraper?
The YouTube Transcript Scraper reads only captions that YouTube shows publicly to any visitor. What you do with the text, for example republishing it, is governed by copyright and YouTube's terms, so check them for your use case.
Do I need my own proxy for the scraper?
No. The YouTube Transcript Scraper uses Apify's residential proxy by default.
Why use the scraper
The YouTube Transcript Scraper is a YouTube scraper and YouTube data extractor for anyone who needs public YouTube transcript data as clean data. The YouTube Transcript Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the YouTube Transcript Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.
- No login and no code: the YouTube Transcript Scraper runs on Apify with one click or one API call.
- Pay per result: the YouTube Transcript Scraper charges only for rows delivered - no monthly YouTube API fee.
- Complete fields: the YouTube Transcript Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the YouTube Transcript Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.
The scraper use cases
- Market research: the YouTube Transcript Scraper collects YouTube transcript data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the YouTube Transcript Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the YouTube Transcript Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the YouTube Transcript Scraper keeps a fresh copy of YouTube data through an Apify schedule and a webhook.
- Analytics and dashboards: send the YouTube Transcript Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the YouTube Transcript Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the YouTube Transcript Scraper turns public YouTube data into a dataset you can diff run by run.
- Automation workflows: connect the YouTube Transcript Scraper to Zapier, Make or n8n so every new row starts your next step.
How to run it with the API, Python and Node.js
Start the YouTube Transcript Scraper from the Apify Console, or call it from code. The YouTube Transcript Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the YouTube Transcript Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the YouTube Transcript Scraper easy to plug into an automation, a data pipeline or a scheduled export.
- Open the YouTube Transcript Scraper on Apify and fill in the input (or send the same input as JSON to the API).
- Start the YouTube Transcript Scraper. Follow the run log while the YouTube Transcript Scraper collects public YouTube data.
- Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
- Schedule the YouTube Transcript Scraper to keep your YouTube data fresh for monitoring and analytics.
Tips for better results
- Start small: run the YouTube Transcript Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller YouTube Transcript Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each YouTube Transcript Scraper run adds to your YouTube data over time.
- Filter early: use the input filters of the YouTube Transcript Scraper so you only pay for the YouTube transcript data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every YouTube Transcript Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the YouTube Transcript Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.
The scraper FAQ
More scrapers from Neuro Scraper
| Actor | What it extracts |
|---|---|
| ⭐ Facebook Reels Scraper | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| YouTube Playlist Scraper | YouTube playlist data with all public fields, exported to JSON, CSV or Excel |
| YouTube Channel Scraper | YouTube channel data with all public fields, exported to JSON, CSV or Excel |
| YouTube Scraper | YouTube data with all public fields, exported to JSON, CSV or Excel |
| YouTube Comments Scraper | YouTube comments with all public fields, exported to JSON, CSV or Excel |
| YouTube Shorts Scraper | YouTube shorts with all public fields, exported to JSON, CSV or Excel |
| YouTube Video Details Scraper | YouTube video details with all public fields, exported to JSON, CSV or Excel |
| YouTube Video Downloader | YouTube video data with all public fields, exported to JSON, CSV or Excel |
| Snapchat Profile Scraper | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| Amazon Scraper | Amazon data with all public fields, exported to JSON, CSV or Excel |
| Instagram Reels Scraper | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| Facebook Video Details Scraper | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| Facebook Reels Scraper Advanced | Facebook reels advanced data with all public fields, exported to JSON, CSV or Excel |