Convert VTT to JSON

Turn VTT files into JSON. An array with one object per 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

Captions as data you can read.Each cue becomes one object in a JSON array, with its times and its text.

  1. What you get

    One JSON file with an array. Each cue in the VTT file becomes one object in that array.

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

  2. What the text contains

    The text is kept without speaker names or styling tags. What remains is the words of the cue.

    If you need the speaker names or the styling, they are not in the JSON. The file holds only the cues, their numbers, their times and their text.

  3. Using the result

    Because the times come both as clock times and as milliseconds, you can read them as written or use them in code. The array keeps one object per cue, so a script can go through the cues one by one.

    To work with the result further, see every JSON conversion. To combine several files, you can merge JSON.

VTT and JSON.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 · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

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

terminal
$ cv convert report.vtt report.json
$ cv convert report.vtt report.json

Questions.What people ask about VTT to JSON.

01OF 04

It is an array with one object per cue. Each object has the cue number, the start and end as clock times and in milliseconds, and the text.

No. The text is written without speaker names and without styling tags.

It makes one file. All cues are in the same array.

Yes. Each cue has its start and end both as clock times and as milliseconds.

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