VTT File
WebVTT Captions/Subtitles (.vtt)
What is a VTT file?
A VTT file is a WebVTT subtitle/caption file used on the web. It stores timed text (captions, subtitles, chapters) and is commonly used with HTML5 video via the <track> element.
Common uses
- Web video captions and subtitles
- Accessibility captions for streaming and embedded videos
- Chapters and cues for HTML5 media
- Language subtitles for online courses
- Caption uploads on platforms that accept WebVTT
How to open a VTT file
- Edit: Any text editor (VS Code, Notepad++)
- Use on web: Link it in an HTML <track> tag
- Tip: If you have an SRT, you can often convert it to VTT easily
Common problems
- Formatting errors break parsing (missing WEBVTT header)
- Timing out of sync with video
- Encoding issues cause weird characters
- Player/platform expects SRT instead of VTT
- CSS styling for captions differs by browser
History
WebVTT was created for the web as part of the modern HTML5 media ecosystem. It expanded on simple subtitle ideas (like SRT) with features more suited to web players, like metadata cues and styling.