About Transcript to VTT
If you are adding captions to a video on your own website, WebVTT is the format you need, because browsers will only load captions through the <track> element in this format. If you have a transcript with time codes, most of the work is already done.
What sets this apart from making an SRT is how speakers are stored. SRT has no idea what a speaker is, so a name can only be typed in as text. WebVTT has a voice tag, <v Lena>, which keeps the name out of the words while telling the player who is talking. A site's stylesheet or custom player can then style or list speakers, and assistive software can make use of it too.
The cues start at your transcript's own timestamps, and the text is rewrapped to your line limits.
How it works
Timestamps are read from the transcript and written with the three-digit milliseconds and dot that WebVTT requires, so 00:02 becomes 00:00:02.000. Each cue's end is set from your reading speed and the next timestamp, and cues never overlap. A long passage is divided into several cues within its time window, and each of them carries the voice tag.
Characters that WebVTT treats as markup are escaped: & is written as & and a stray < as <, since an unescaped one can break how a cue is displayed. The file begins with the required WEBVTT line, and no cue numbers are written, because identifiers are optional in this format.
How to use Transcript to VTT
- Paste a transcript or open it as a file.
- Check the note under the result, which says how many of your timestamps were used as start times.
- Under Options, choose Voice tags or Leave out, then set Reading speed and line limits.
- Click Download VTT, and point your video's
<track>element at the file.
A two-person product demo
00:02 Lena: This video shows the new booking page.
00:06 Lena: Choose a date first, and the free times appear underneath.
00:13 Omar: Can customers change a booking later?WEBVTT
00:00:02.000 --> 00:00:03.882
<v Lena>This video shows the new booking page.</v>
00:00:06.000 --> 00:00:08.882
<v Lena>Choose a date first,
and the free times appear underneath.</v>
00:00:13.000 --> 00:00:14.882
<v Omar>Can customers change a booking later?</v>Each name is stored in a tag rather than in the words. Browsers do not print voice names by default, so choose a different route if viewers need to see them, such as converting with VTT to SRT, which turns the tags into visible names.
When it helps
- Adding captions to a product demo hosted on your own site.
- Making a lecture or webinar recording accessible on a course platform that takes VTT.
- Building a custom video player that lists who is speaking, using the voice tags.
- Turning a meeting transcript into captions for an internal video library.
Tips for a better result
- Serve the file with the
text/vttcontent type and from the same site as the page or with cross-origin headers set. A wrong setup here is the most common reason captions fail to appear. - If viewers need to see names on screen, make the file with Transcript to SRT instead, which writes them into the subtitle text.
- Test on a phone. A line length that looks fine on a laptop can wrap into three lines on a small screen, and 32 to 37 characters per line is often more comfortable there.
Good to know
- No positioning or styling is added, so cues appear where the player puts them by default.
- Voice names are not displayed by most default browser players, even though they are stored in the file.
- As with any transcript, end times are calculated and not measured from speech.
- No chapters, thumbnails or metadata tracks are created. This makes captions only.
Questions people ask
Why do browsers not just accept SRT?
The HTML track element was specified around WebVTT, so browsers parse that format and ignore SRT there. The two look similar, but details differ, such as the dot in the times and the required header.
Will the voice tags show up on screen?
Usually not in a browser's standard player, which uses them for structure rather than display. A custom player or stylesheet can show them. Some players print the name, so test yours before relying on it.
Do I need to remove my transcript's fillers first?
That is your choice. Accessibility captions often stay close to what was said, while edited captions read better without every um. If you want them out, run the text through Remove Filler Words first; the timestamps are unaffected by that step.
What if there are no times in my transcript?
Times are estimated by reading speed from zero and a warning appears. For plain scripts, Create Subtitles is a better fit, since it can also stretch the timing to match your video's length.
What to use next
- Transcript to SRT: if you need the file for a desktop video editor instead
- VTT to SRT: to get a copy for players that only take SRT, with names shown as text
- VTT to TXT: to pull a readable transcript back out of the finished file
Last reviewed . Read our editorial policy.