TubeToTranscript Logo
TubeToTranscript
Structured JSON Data

YouTube Transcript to JSON Converter

Extract and export YouTube video transcripts into clean, structured JSON format for developers and data analysis.

How TubeToTranscript Works

Read available captions from a YouTube video in three simple steps. Free web access, with fair-use limits.

Step 1

Paste the Video Link

Copy any standard YouTube video, Shorts, or youtu.be URL and paste it into the search box.

Step 2

Get Instant Transcript

TubeToTranscript instantly pulls available captions and formats them into clean, synchronized text.

Step 3

Search, Copy, or Download

Find keywords in seconds, copy the text to your clipboard, or export as TXT, SRT, or VTT files.

The exact JSON shape

The file is a single object. It includes the video metadata (ID, title, channel), the caption language code, a total_segments count, and a segments array. Each segment has the caption text, start and duration in seconds (rounded to two decimals), and a human-readable startFormatted timestamp.

Sample JSON output (original example text, not from a real video)

{
  "video": {
    "videoId": "VIDEO_ID",
    "title": "Example Video Title",
    "channelName": "Example Channel"
  },
  "language": "en",
  "total_segments": 3,
  "segments": [
    {
      "text": "First, write down the question you want the video to answer.",
      "start": 0,
      "duration": 4,
      "startFormatted": "00:00"
    },
    {
      "text": "Next, search the transcript for a distinctive phrase.",
      "start": 4,
      "duration": 4.5,
      "startFormatted": "00:04"
    },
    {
      "text": "Finally, check the matching moment in the source video.",
      "start": 8.5,
      "duration": 5,
      "startFormatted": "00:08"
    }
  ]
}

Common ways developers use it

  • RAG and embeddings: chunk the segments array by time or word count and keep start with each chunk, so an answer can cite the moment it came from.
  • Search indexes: index text with start as a field to build “jump to where they said X” search over your own video library.
  • Subtitle tooling: start and duration map directly onto cue timing if you want to generate a custom subtitle format.
  • Analysis: load it with pandas (pd.json_normalize(data["segments"])) or JSON.parse in Node for word frequency, pacing, or topic analysis.

Notes on the timing fields

  • Times are seconds as numbers, not strings, so you can do arithmetic on them directly.
  • The end of a segment is start + duration. Caption tracks sometimes overlap slightly, so do not assume one segment ends exactly when the next begins.
  • For many videos at once, or to fetch programmatically, the REST API returns the same data without the download step.

Fetching JSON from code instead? See the YouTube transcript API guide for cURL, Python, and Node.js examples.

JSON Export FAQ

Find answers to common questions about generating and exporting YouTube transcripts.

The JSON contains video metadata (title, channel, videoId), language details, total segments, and an array of objects with text, start timestamp, duration, and formatted time.
Complete YouTube Transcription Suite

Explore All Free YouTube Transcript Tools

Interlinked utilities for creators, researchers, developers, and AI engineers. Web tools are available without an account, subject to caption availability and fair-use limits.

Generator Alternatives

Compare free YouTube transcript tools side-by-side by format and signup.

Open Tool
AI Native

YouTube AI Transcript

AI-ready clean transcript engine for LLMs, Claude, and NotebookLM.

Open Tool
Popular

Transcript for ChatGPT

Pre-chunked transcripts with 1-click custom prompt presets.

Open Tool

Video Study Worksheet

Create timestamped review cues and flashcards from available captions.

Open Tool

Editable Video Blog Draft

Create an editable Markdown draft from an available transcript.

Open Tool
New

Transcript Translator

AI-translate a transcript into nearly 60 languages, not just YouTube’s own caption tracks.

Open Tool
Subtitles

YouTube to SubRip (.SRT)

Export timed subtitle files with exact sequential millisecond timestamps.

Open Tool

YouTube to WebVTT (.VTT)

Standard WebVTT cue files for HTML5 video players and LMS systems.

Open Tool

YouTube to Clean Text (.TXT)

Download continuous text dialogue without timestamps or noise.

Open Tool

YouTube to Markdown (.MD)

Export structured markdown with YAML headers for Obsidian & Notion.

Open Tool

YouTube to CSV / Excel

Export time-aligned rows to Google Sheets, Airtable, and Excel.

Open Tool

Transcript Downloader Hub

Universal multi-format export hub supporting all file formats.

Open Tool

Without Timestamps

Extract clean prose with zero numbers or timecode clutter.

Open Tool

With Timestamps

Extract dialogue with clickable [00:00] timestamp markers.

Open Tool

In-Transcript Word Search

Search exact spoken phrases and instantly jump to timestamps.

Open Tool

Video Quote Finder

Find exact verbatim quotes with surrounding context and links.

Open Tool

Caption Availability Checker

Verify human and auto-generated subtitle streams for any URL.

Open Tool

Word Count & Speech Speed

Calculate speech WPM, character count, and estimated reading time.

Open Tool

Academic Citation Generator

Generate APA, MLA, Chicago, and Harvard video citations.

Open Tool

Transcript Text Cleaner

Strip [Music], [Applause], stray timestamps, and awkward line breaks.

Open Tool

Roman Urdu & Urdu Transcriber

Transcribe and transliterate Hindi/Urdu videos into Roman text.

Open Tool
Power Tool

Batch Multi-Video (Bulk)

Transcribe up to 30 YouTube videos in parallel into 1 combined file.

Open Tool

Full Playlist Transcriber

Provider-backed playlist enumeration and transcript export.

Open Tool

Channel Speech Search

Provider-backed search across supported channel transcript catalogs.

Open Tool

YouTube Shorts Transcriber

Extract captions and dialogue from vertical YouTube Shorts.

Open Tool
API

Developer REST API & MCP

Production REST API and native Model Context Protocol server.

Open Tool

API Documentation & SDKs

Full interactive documentation with Python, cURL, and Node.js examples.

Open Tool
Developer & Automated Workflows

Need to extract transcripts in bulk or connect to AI Agents?

Get your free developer API key with 10 free requests or connect TubeToTranscript directly to Claude Desktop and Cursor using native MCP.