What is a .vtt file? WebVTT and SRT subtitles explained

Kitwise guide ยท updated

A .vtt file is a plain-text subtitle file in the WebVTT format, the format web video players read. The example below was converted with the SRT โ‡„ VTT Subtitle Converter.

Free tools for this

What is inside a .vtt file

Open one in Notepad and you see the word WEBVTT on the first line, then blocks of a time range and the words shown during it. Times use a full stop before the milliseconds:

WEBVTT

00:00:01.000 --> 00:00:03.500
Hello and welcome.

00:00:04.000 --> 00:00:06.250
Today: how to resize a photo.

The first time line means: show Hello and welcome. from 1 second to 3.5 seconds into the video.

VTT vs SRT: the three differences

FeatureSRT (.srt)WebVTT (.vtt)
First lineBlock number (1, 2, 3โ€ฆ)The word WEBVTT
MillisecondsComma: 00:00:01,000Full stop: 00:00:01.000
Used byDesktop players (VLC), many editorsWeb players (HTML5 video, Vimeo, many LMS)

The words and the timing are the same, so converting is lossless for ordinary subtitles. Styling notes that only WebVTT supports are dropped when you go back to SRT.

How to convert SRT to VTT (or back)

  1. Open the SRT โ‡„ VTT Subtitle Converter.
  2. Paste the contents of the .srt or .vtt file.
  3. Choose the format you need and press Run tool: the new file downloads straight away.

Subtitles out of sync? Shift every line at once

If every line appears too early, enter a positive number of seconds in the shift box. With 2.5 the example above becomes:

WEBVTT

00:00:03.500 --> 00:00:06.000
Hello and welcome.

00:00:06.500 --> 00:00:08.750
Today: how to resize a photo.

Tip: A negative number moves the subtitles earlier. Shift fixes a constant delay; if the gap grows during the video, the frame rate of the subtitle file and the video differ, and a shift alone will not fix it.

Questions

What does .vtt mean?

Web Video Text Tracks: a text file of subtitles or captions with timings, made for web video players.

Can I open a .vtt file?

Yes, in any text editor. Video players load it as a subtitle track next to the video.

Is converting SRT to VTT safe?

Yes. The text and timings stay the same; only the header and the millisecond separator change.

Related guides

More guides All Converters tools All tools