This page converts an SRT subtitle file into WebVTT, the subtitle format that web video players read. If you have added captions to a website with the <track> element and they do not show, an SRT file is the usual reason: browsers ignore it. Converting takes a second and nothing is uploaded.
What changes in the file
The SRT from my test, a three-line episode file saved on Windows with a byte-order mark, came out like this:
| SRT | WebVTT |
|---|---|
1 |
(cue numbers are optional and left out) |
00:00:01,200 --> 00:00:03,800 |
00:00:01.200 --> 00:00:03.800 |
<i>Previously on the show...</i> |
<i>Previously on the show...</i> |
<font color="#ffff00">[door slams]</font> |
[door slams] |
The file starts with a WEBVTT line, uses Unix line endings and UTF-8 without a byte-order mark, which every player accepts.
Using the VTT on a web page
<video controls src="episode.mp4">
<track kind="subtitles" src="episode.vtt" srclang="en" label="English" default>
</video>
Serve the file from the same site as the page (or with CORS allowed), otherwise the browser will not load it. If the subtitles appear a little too early or late, set Shift timing before downloading; the preview shows the new times.
Going the other way, for a TV or a desktop player that prefers SRT, choose SRT under Convert to.