VTT to SRT
Make an SRT copy of a WebVTT subtitle file and compare the resulting cue with the original.
Make an SRT copy of a WebVTT subtitle file and compare the resulting cue with the original.
How to use
- Save the sample as a UTF-8 .vtt file, including the WEBVTT header and the blank line below it.
- Upload the file, convert to SRT and download the result.
- Open the text file and compare Hello and the cue times with the source.
Worked example
Input
WEBVTT
00:00:01.250 --> 00:00:03.500
HelloExpected result
1
00:00:01,250 --> 00:00:03,500
HelloCheck the result
Expect cue number 1 and timestamps 00:00:01,250 and 00:00:03,500.