What is a .vtt file? WebVTT and SRT subtitles explained
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
| Feature | SRT (.srt) | WebVTT (.vtt) |
|---|---|---|
| First line | Block number (1, 2, 3โฆ) | The word WEBVTT |
| Milliseconds | Comma: 00:00:01,000 | Full stop: 00:00:01.000 |
| Used by | Desktop players (VLC), many editors | Web 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)
- Open the SRT โ VTT Subtitle Converter.
- Paste the contents of the .srt or .vtt file.
- 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.