Convert VTT to JSONL

Turn VTT files into JSONL. One JSON object per line for each cue: its number, start and end as clock times and milliseconds, and its text without speaker names or styling tags.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop VTT files on the dialor turn it to pick what to do

Subtitle cues as JSON lines.Each cue becomes one JSON object on its own line.

  1. What you get

    One JSONL file. Every cue in the VTT file gets its own line with one JSON object on it.

    The object holds the cue's number, its start and end as clock times, its start and end in milliseconds, and its text.

  2. What it leaves behind

    Speaker names and styling tags are not copied. The text field holds only the words of the cue.

  3. Where the file goes next

    Each line stands alone, so the file suits logs and datasets. To join the output with other JSONL files, use merge JSONL. For other routes from and to these formats, see every VTT conversion.

VTT and JSONL.What each format is.

The formats

From · VTT

WebVTT Subtitle

WebVTT subtitles, the format of HTML5 video captions.

Extensions
.vtt
MIME type
text/vtt
Kind
Text and data
To · JSONL

JSON Lines

JSON Lines, one JSON object per line, the format of logs and datasets.

Extensions
.jsonl .ndjson
MIME type
application/jsonl
Kind
Text and data

In your code.The same VTT to JSONL conversion through the API, for your app or your agent.

terminal
$ cv convert report.vtt report.jsonl
$ cv convert report.vtt report.jsonl

Questions.What people ask about VTT to JSONL.

01OF 04

Each line is one JSON object for one cue. It has the cue number, the start and end as clock times and in milliseconds, and the text.

No. The text holds the cue's words without speaker names or styling tags.

It makes one file, with one line for each cue.

No. This conversion has no options.

More conversions.Other ways in and out of VTT and JSONL.