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.
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.
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.
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
WebVTT Subtitle
WebVTT subtitles, the format of HTML5 video captions.
- Extensions
- .vtt
- MIME type
- text
/vtt - Kind
- Text and data
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.
$ cv convert report.vtt report.json$ cv convert report.vtt report.jsonQuestions.What people ask about VTT to JSON.
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.