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 Name | Internal Key | Data Type | Nullable | Description | Sample Value |
|---|---|---|---|---|---|---|
| 1 | Comment ID | commentId | String | No | Public YouTube comment identifier, preserved across all three export formats. | UgxExampleComment |
| 2 | Parent Comment ID | parentCommentId | String | Yes | Public YouTube ID of the parent comment for replies. Empty for top-level comments. | UgxParentComment |
| 3 | Author | authorDisplayName | String | No | Public display name of the comment author on YouTube. | DataAnalystPro |
| 4 | Author Channel ID | authorChannelId | String | Yes | Canonical YouTube channel identifier for the author. | UC9876543210zyxwvu |
| 5 | Comment | text | String | No | Full unclipped text content of the comment or reply. | Excellent explanation of asynchronous job queues. |
| 6 | Likes | likeCount | Integer | No | Total public upvotes/likes recorded when comments were extracted. | 85 |
| 7 | Published | publishedAt | ISO 8601 Timestamp | No | Original comment publication date and time in UTC format. | 2026-10-18T16:20:00.000Z |
| 8 | Type | isReply | Enum (Top-level | Reply) | No | Distinguishes 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:
Author or Comment) begins with =, @, +, -, \t, or \r, TubeVox automatically prepends a single quotation mark (').-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?
