What is a VTT file?

Short answer

VTT (WebVTT) is the W3C standard subtitle format for HTML5 <video> elements. Browsers use VTT to render caption tracks; it's almost identical to SRT but adds a 'WEBVTT' header and dot-separated timestamps.

Detail

WebVTT (Web Video Text Tracks) is the W3C caption format for HTML5 video (a W3C Candidate Recommendation since 2019). A VTT file is a plain-text file with a 'WEBVTT' header followed by cue blocks — each cue has a start and end timestamp (HH:MM:SS.mmm using dots, not commas like SRT), and the caption text. Browsers render VTT captions via the <track> element inside <video>. Beyond the header and timestamp punctuation, VTT adds features SRT lacks: cue positioning (align, line, position CSS properties), voice spans (<v Speaker>), and chapter markers. For most practical use, VTT and SRT are interchangeable — the only time you specifically need VTT is for an HTML5 web embed on your own site. Platforms like YouTube, Vimeo, Facebook, and LinkedIn all accept SRT; their backends convert to VTT internally.

FeatureSRTVTT
File headerNoneWEBVTT line required
Timestamp separatorComma (,)Dot (.)
Cue positioningNoYes (CSS props)
HTML5 <track> supportNo (browser ignores)Yes
Platform compatibilityUniversalUniversal
Styling tagsUnofficialOfficial
Related answers
Full answer
What is a VTT file? Format, a sample file, VTT vs SRT, how to open Zoom/Teams .vtt transcripts, and common errors.
Try SoCaptions free.
5 minutes of transcription free, no card required.
Open editor