Skip to content

Glossary

WebVTT (VTT)

WebVTT (Web Video Text Tracks, usually shortened to VTT) is a plain-text file format for timed captions and subtitles on the web. A.vtt file is a list of cues, and each cue gives a start time, an end time and the text to show.

Updated October 17, 20264 cited facts, each traced to its source

Also called .vtt, VTT, Web Video Text Tracks.

A WebVTT file is a plain-text file, usually saved with a .vtt extension, that holds timed captions or subtitles for a video. Web players read it and show each line of text at the right moment. The name stands for Web Video Text Tracks, and most people call it VTT.

A WebVTT file is a list of timed cues

WebVTT is a sequence of text segments, and each segment is tied to a time interval called a cue 1. A file must be UTF-8 text labeled with the MIME type text/vtt 2, so any text editor can open and correct it.

A short file looks like this:

WEBVTT

00:00:01.000 --> 00:00:03.500
Thanks for joining the call.

00:00:03.600 --> 00:00:06.200
Let's start with the agenda.

The first line is the header, WEBVTT. Each cue then gives a start time and an end time, and the timestamps put a full stop before the thousandths of a second 3.

WebVTT grew out of SRT

WebVTT and the older SubRip subtitle file (SRT) are close relatives. The W3C says the SRT format was used as the basis for the WebVTT text track format 4. That is why converting a caption file from one to the other is a routine step.

Why it matters for transcription

A transcript with timestamps can be turned into a WebVTT file. The same timed text then serves two jobs: it is searchable text for readers, and it is the caption track that a player shows on screen. The hard part is the timing. Each cue has to start when the speech starts, so a transcriber checks the timestamps against the audio, and tools use forced alignment to place words automatically. Where a caption must show who is talking, the file also needs speaker labels.

WebVTT is one of several caption formats. Our guide to captions and subtitles compares the formats and the rules for line length and timing. For turning a recording into text first, see how to transcribe audio to text, and for video specifically, see video to text.

Related terms

Evidence

Every number on this page, with where it comes from. Open a fact to see the exact words in its source.

  1. 1.
  2. 2.
  3. 3.
  4. 4.

Related terms

Pages that use this term