Convert VTT to CSV
What converting WebVTT subtitles to CSV keeps and loses, how cues map to columns, and when a plain-text transcript or the original VTT file is the better choice.
Converting a WebVTT subtitle file to CSV turns timed caption cues into rows and columns that spreadsheets, databases and scripts can sort, filter and edit. It is a useful working format for caption data, but it is not a replacement for the caption file and it is not a reader-friendly transcript. This review explains what the conversion changes, what tends to get lost, and how to check whether the result still means what the original did.
Is VTT to CSV conversion the right choice?
It suits you if you need to treat captions as data. The main benefit is that every cue becomes one row with its start time, end time and text, so you can review timing, compare a source and a translation side by side, count characters per cue, add notes for reviewers or load the cues into another system. The decisive tradeoff is that CSV has no built-in place for WebVTT's structure and styling. Cue settings, inline tags, comments, style blocks and region definitions are lost unless the converter adds columns for them, and video players will not use a CSV file as a caption track.
- Good fits: timing and quality review in a spreadsheet; translation or localization workflows that work cue by cue; bulk find-and-replace or terminology checks; importing cues into a database or analysis script.
- Poor fits: publishing captions for viewers, which needs the VTT file or another caption format; giving people a readable transcript, which plain text does better; archiving the only copy of styled or positioned captions.
Choose plain text instead when the goal is reading rather than processing. A transcript with paragraphs and speaker labels is easier to read, quote and share than a grid of timestamps, and it avoids the spreadsheet problems described below.
What the conversion actually changes
This is a structural conversion, not a character transformation. Nothing is reversed, mirrored or swapped for decorative Unicode lookalikes, and no font or CSS styling is applied. A correct converter copies the caption text as it is and changes only the layout around it: the cue blocks of the VTT file become delimited rows. If the text looks different afterward, the cause is usually a character encoding mismatch, a converter that strips or rewrites markup, or the way the destination app displays the file.
How WebVTT cues map to columns
A WebVTT file starts with the line WEBVTT, followed by blocks separated by blank lines. Each cue has an optional identifier, a timing line with a start and end time separated by an arrow, optional cue settings after the end time, and one or more lines of text. The text can contain tags such as voice labels, italics, bold, classes and inline timestamps. The file can also contain NOTE, STYLE and REGION blocks that are not cues. Here is a short illustrative input:
WEBVTT
1
00:00:01.000 --> 00:00:04.200
<v Ana>Hello, everyone.
2
00:00:04.500 --> 00:00:07.000 align:start
She said "wait",
then left.
One reasonable CSV layout for those two cues, with the speaker pulled out of the voice tag and cue settings kept in their own column:
id,start,end,speaker,settings,text
1,00:00:01.000,00:00:04.200,Ana,,"Hello, everyone."
2,00:00:04.500,00:00:07.000,,align:start,"She said ""wait"",
then left."
In this output, fields containing a comma, a double quote or a line break are wrapped in double quotes, and the quotes inside the text are doubled, which is the common CSV convention. The second cue keeps its line break inside the quoted field, so it is still one record even though it spans two lines in the file. A converter could instead join the lines with a space, which is easier to handle in many tools but discards the line break the captioner chose. The empty fields are cues with no speaker tag or no settings.
| WebVTT element | Typical CSV handling | What can be lost |
| WEBVTT header line | Dropped | Any text after WEBVTT on that line |
| Cue identifier | Own column, or dropped | References to specific cues |
| Timing line | Start and end columns, as timestamps or as seconds/milliseconds | Exact format, if a spreadsheet reformats it |
| Cue settings (position, line, size, align, region, vertical) | Own column, or dropped | Placement on screen |
| Voice tag | Speaker column, raw tag text, or stripped | Who is speaking |
| Italic, bold, underline, class and language tags | Kept as raw markup or stripped | Emphasis and semantic marking |
| Inline timestamps inside a cue | Kept as raw markup or stripped | Word-by-word timing |
| Multi-line cue text | Quoted line break or joined lines | Original line breaks |
| Character references such as & or | Decoded to characters or left as-is | Clarity, if left encoded; direction hints, if dropped |
| NOTE, STYLE and REGION blocks | Usually dropped | Comments, styling rules and region definitions |
Non-Latin text, emoji and right-to-left captions
Because nothing is reversed or rearranged inside the text, combining accent marks and emoji built from several code points are not put at risk by the conversion itself. The real risk is encoding. WebVTT files are UTF-8, and the CSV should be written as UTF-8 too. If the CSV is opened by an app that assumes a different encoding, accented letters, non-Latin scripts and emoji can show up as garbled characters even though the file is fine. Some spreadsheet apps need an import dialog with an explicit encoding choice, or a byte order mark at the start of the file, to read UTF-8 CSV correctly. Check how your own app behaves rather than assuming.
For Arabic, Hebrew and other right-to-left captions, the CSV stores characters in logical order, the same order as the VTT file. How a cell displays them depends on the app. Text that mixes right-to-left and left-to-right runs, such as Hebrew with numbers or English names, can look reordered in a cell while being stored correctly. WebVTT's and references mark text direction. A converter should either turn them into the actual direction-mark characters or keep them, because dropping them can change how mixed-direction lines display after a round trip.
Will the CSV stay usable after copying or sharing?
Spreadsheets are the most common destination, and they are also where most damage happens. Many spreadsheet apps try to detect data types on open, so timestamps may be reinterpreted as times of day or durations and displayed or saved in a different format, and numeric-looking identifiers can lose leading zeros. Importing the columns as text, rather than double-clicking the file, avoids this in apps that offer that option. Behavior differs between apps, versions and regional settings, so it is worth testing with your actual file.
Cue text can also be misread as a formula. Some spreadsheet software treats a cell beginning with =, +, - or @ as a formula, and subtitle dialogue often begins with a dash. That can corrupt the text or, with files from untrusted sources, create a security concern known as CSV or formula injection. Importing as text is the cleanest defense. Adding a protective leading character changes the caption text, so it should be removed before converting back.
Delimiters can be a problem too. In some regional settings, spreadsheet apps expect semicolons rather than commas, so a comma-separated file may open as a single column. Since caption text often contains commas but rarely contains tabs, TSV can be the more robust choice when your workflow allows it. When copying rows out of a spreadsheet and pasting them into a document or chat, the result is usually tab-separated text, and cues with embedded line breaks may split across lines. Joining multi-line cues before sharing avoids that, at the cost of the original line breaks.
For accessibility, the key point is that CSV is a working file, not a caption track. Viewers who rely on captions need the VTT file, or another caption format, delivered through the player. If you want to offer a transcript, a plain-text version with speaker names and paragraphing is easier to read than rows of timestamps. CSV is easy to search and filter inside a spreadsheet or script, but it is not a substitute for a published transcript.
Converting back to VTT
A round trip is only lossless if the CSV kept everything: identifiers, settings, raw markup and any non-cue blocks you need. If the converter stripped tags or dropped style and region blocks, the rebuilt file will play, but without the emphasis, speaker marking or positioning it had before. Also check that timestamps come back in WebVTT form, with a period before the milliseconds. SRT uses a comma there, and mixing the two formats is a common source of files that players reject.
What to check in a converter and its output
- Output is UTF-8, with a byte order mark option if your spreadsheet needs one.
- Fields with commas, quotes and line breaks are quoted, and inner quotes are doubled.
- There is a clear choice to keep or strip inline tags, and voice tags can become a speaker column.
- Cue identifiers and cue settings are kept or deliberately dropped, not silently lost.
- Times can be exported as timestamps or as plain seconds or milliseconds, which sort and calculate more reliably.
- You can choose between joining multi-line cues and keeping line breaks.
- You can choose between comma and tab delimiters.
- It is clear whether the tool runs locally or uploads the file. Data handling cannot be judged from how a tool looks or how it describes itself, so for unreleased or sensitive material, use a documented policy you have read or an offline script.
- Confirm the row count matches the number of cues in the VTT file.
- Spot-check the first and last cues, plus any cue with commas, quotes, line breaks, non-Latin text or emoji.
- Open the file in the app you will actually use, through its import path, and confirm that timestamps and leading dashes are unchanged.
- If you plan to convert back, rebuild a VTT file from the CSV and compare it with the original.
Limits of this review
No specific converter, spreadsheet app or assistive technology was tested for this article, and no measurements were taken. The guidance follows from how the WebVTT and CSV formats are structured and from widely documented spreadsheet behaviors. How any particular tool handles tags, encodings, regional delimiters or screen reader output needs to be confirmed with that tool and your own files.