Scriptube exports YouTube transcripts in six formats — TXT, CSV, JSON, JSONL, SRT, and VTT — and each one is built for a different job. Pick wrong and you'll spend time reformatting; pick right and the file works immediately in whatever you're feeding it into.
TXT — plain, readable text
Continuous prose, no structure beyond paragraphs. Use it when you're reading the transcript yourself, pasting it into a document, or feeding it to a writing tool that just needs the words, not timestamps or metadata.
CSV — rows and columns
One row per video — never per segment — with columns like video_id, title, channel, and text, opens directly in Excel or Google Sheets. There's no timestamp column; it's plain transcript text plus metadata. Use it when you want to filter, sort, or hand the data to someone who lives in spreadsheets. See CSV to Excel and Google Sheets for filtering and pivoting once it's in a sheet.
JSON — full structured data, one row per video
Also one row (object) per video, with fields like video_id, title, channel, transcript_language, and text as a plain string — no timestamps or segments in this export. A row looks like:
{"video_id": "dQw4w9WgXcQ", "title": "...", "text": "Never gonna give you up..."}
Use JSON when you're building something and need the per-video data in a program, not just displaying it. If you need second-level timing, that comes from a separate call — GET /api/v1/transcripts/{batch_id}?include_segments=true returns {text, start, duration} segments — or from the SRT/VTT export below.
JSONL — one JSON object per line
Same structure as JSON, but one record per line instead of one big array. This is the format most data pipelines and streaming tools expect, because you can process it line by line without loading the whole file into memory. Use it for large batches feeding into scripts, or as training data input (see using transcripts for AI training data).
SRT — the subtitle format almost everything accepts
Numbered blocks of timestamped text, the oldest and most widely supported subtitle format. Use it to upload as a caption/subtitle track — YouTube Studio, most video editors, and most media players all accept SRT. An SRT block looks like this:
1
00:00:01,000 --> 00:00:04,500
Never gonna give you up
2
00:00:04,500 --> 00:00:07,200
Never gonna let you down
Each block is a sequence number, a start and end timestamp, and the caption text. See how to create subtitles for your own videos for the upload steps.
VTT — the web standard
Similar structure to SRT but built for the <track> element in HTML5 video, so it's the format you want for a custom video player on a website:
WEBVTT
00:00:01.000 --> 00:00:04.500
Never gonna give you up
00:00:04.500 --> 00:00:07.200
Never gonna let you down
The differences are small but matter to parsers: VTT opens with a WEBVTT header and uses a period before milliseconds instead of a comma. Some tools and platforms accept only one of SRT or VTT, not both — check what your target accepts before exporting. For the full syntax breakdown and which tools expect which, see SRT vs. VTT compared.
Quick reference
| Format | Best for |
|---|---|
| TXT | Reading, pasting into docs, feeding to writing tools |
| CSV | Spreadsheets, filtering, non-technical handoff |
| JSON | Per-video structured data for programs (text + metadata, no timing) |
| JSONL | Data pipelines, large batches, line-by-line processing |
| SRT | Uploading as subtitles almost anywhere |
| VTT | Web video players (HTML5 <track>) |
A worked example
Take https://www.youtube.com/watch?v=dQw4w9WgXcQ. If you're writing an article from it, export TXT. If you're uploading it as a caption file for your own re-upload, export SRT. If you're building a tool that needs the exact second each line starts, call the API with include_segments=true instead of a plain export. Same source transcript, different shapes, each ready to use without extra conversion.
How to do it in Scriptube
- Process the video (or batch) from your dashboard.
- Open the completed batch and choose an export format from TXT, CSV, JSON, JSONL, SRT, or VTT.
- Download the file — it's ready to use as-is, no reformatting needed.
Via the API, the format is a query parameter:
GET https://scriptube.me/api/v1/transcripts/BATCH_ID/export?format=srt
GET https://scriptube.me/api/v1/transcripts/BATCH_ID/export?format=vtt&language=all
curl -X GET "https://scriptube.me/api/v1/transcripts/BATCH_ID/export?format=json" \
-H "X-API-Key: YOUR_API_KEY"
format accepts json, csv, txt, jsonl, srt, or vtt, and language can target a specific caption language or all. Full endpoint reference at /docs.
Exporting a batch instead of a single video
Everything above works the same way whether the batch has one video or hundreds — the format parameter applies to the whole batch at once. For SRT and VTT specifically, a multi-video batch export produces one file per video (zipped together once there's more than one), rather than concatenating everything into a single subtitle file — subtitle formats are built around one video's own timeline, so mixing several videos into one file wouldn't line up with anything.
Where timestamps come from
Every transcript Scriptube stores keeps timed segments under the hood, regardless of which format you eventually export — but TXT, CSV, JSON, and JSONL exports only surface the plain text, not those segments. SRT and VTT are both generated directly from the segments (with overlapping auto-caption cues cleaned up), which is why timestamps line up consistently between the two; the API's include_segments=true gives you the same underlying data as raw JSON if SRT/VTT isn't the shape you need. For every way to work with those timestamps directly, see YouTube transcript with timestamps.
Picking a language when a video has more than one
Every export endpoint accepts a language parameter, so if a video has multiple caption tracks you're not stuck with whatever the default happens to be — pass the specific language code you want, or all to get every available track in one export (useful for SRT/VTT when you want every language bundled together rather than making one request per language).
Next step
If you're not sure which format fits your workflow, start with TXT for reading or SRT for subtitles — both are the most immediately usable. Sign up free and try exporting the same video in two formats to see the difference firsthand.