Skip to main content

Continuing with Google means you agree to our Terms of Service and acknowledge our Privacy Policy.

Data & Formats

Export Data Dictionary & Schema

This reference document details the exact field names, data types, nullability, character encodings, and formula injection sanitization applied across TubeVox export files.

1. 8-Column Tabular Schema (CSV & Excel XLSX)

Full CSV and Excel exports include these 8 available fields in the order shown. Choose Selected fields in the export dialog to include a subset, or use visible table fields. Pinned, hearted, paid, paid amount, sponsor and inferred author handle fields remain reserved internally and are hidden for the current source. JSON uses the same selection for comment objects; export metadata remains included.

#Header NameInternal KeyData TypeNullableDescriptionSample Value
1Comment IDcommentIdStringNoPublic YouTube comment identifier, preserved across all three export formats.UgxExampleComment
2Parent Comment IDparentCommentIdStringYesPublic YouTube ID of the parent comment for replies. Empty for top-level comments.UgxParentComment
3AuthorauthorDisplayNameStringNoPublic display name of the comment author on YouTube.DataAnalystPro
4Author Channel IDauthorChannelIdStringYesCanonical YouTube channel identifier for the author.UC9876543210zyxwvu
5CommenttextStringNoFull unclipped text content of the comment or reply.Excellent explanation of asynchronous job queues.
6LikeslikeCountIntegerNoTotal public upvotes/likes recorded when comments were extracted.85
7PublishedpublishedAtISO 8601 TimestampNoOriginal comment publication date and time in UTC format.2026-10-18T16:20:00.000Z
8TypeisReplyEnum (Top-level | Reply)NoDistinguishes root video comments from threaded child replies.Top-level

2. Structured JSON Export Schema

The JSON format is streamed with root export metadata followed by an array of comment objects, matching the exact format produced by our streaming JSON exporter:

{
  "export": {
    "version": "1.0.0",
    "exportId": "exp_abc123",
    "extractionJobId": "job_xyz789",
    "videoId": "vid_456",
    "youtubeVideoId": "dQw4w9WgXcQ",
    "videoTitle": "Sample YouTube Video Title",
    "channelName": "Sample Creator Channel",
    "format": "json",
    "generatedAt": "2026-10-20T12:00:00.000Z"
  },
  "comments": [
    {
      "commentId": "UgxExampleComment",
      "parentCommentId": null,
      "author": "TechReviewer",
      "authorChannelId": "UC1234567890abcdef",
      "comment": "Great technical breakdown!",
      "likes": 42,
      "published": "2026-10-18T14:32:00.000Z",
      "type": "Top-level"
    }
  ]
}

3. Formula Injection Defense (CSV Injection Protection)

Spreadsheet applications (Microsoft Excel, Google Sheets, LibreOffice Calc) evaluate cells beginning with formula triggers as active commands:

Prefix Escaping: If any string field (such as Author or Comment) begins with =, @, +, -, \t, or \r, TubeVox automatically prepends a single quotation mark (').
Numeric Awareness: Valid numeric literals (e.g. -42 or +10) are recognized and preserved without prepending quotes.

4. UTF-8 BOM Character Encoding

Standard CSV files opened in desktop spreadsheet software often suffer from character encoding distortion (garbled text or Mojibake) when encountering emojis, Arabic, Cyrillic, or Asian scripts.

TubeVox prepends a UTF-8 Byte Order Mark (BOM: \ufeff) at the start of every generated CSV file. This explicitly instructs Microsoft Excel to render all Unicode glyphs correctly without manual import adjustments.

Looking for practical examples and tool comparison?