vtt
What is a .vtt file?
text/vtt
WebVTT (VTT) is the W3C subtitle and caption format used by the HTML5 <track> element for timed text on the web. It extends the SubRip model with cue settings, positioning, styling, and metadata, and requires a WEBVTT header. It is the standard format for browser-based captions.
How to use a .vtt file
Use an example VTT to test HTML5 <track> caption rendering, cue-setting and positioning parsers, and converters between WebVTT and SRT.
Download example .vtt files
- WebVTT Subtitles (VTT)A WebVTT subtitle track with three timed cues: the HTML5 <track> subtitle format. Paired with the SRT twin for testing subtitle parsers and VTT↔SRT conversion.
- VTT: Soft-Sub CompanionCompanion VTT for the soft-sub MP4: same SAMPLE cue timings.
- VTT: Video QC Note 02Video QC companion SAMPLE (desync-caption.vtt) for Wave G suites.
- VTT: Video QC Note 04Video QC companion SAMPLE (bars-caption.vtt) for Wave G suites.
- VTT: Video QC Note 06Video QC companion SAMPLE (portrait-caption.vtt) for Wave G suites.
- VTT: Video QC Note 08Video QC companion SAMPLE (square-caption.vtt) for Wave G suites.
- VTT: Positioned and Aligned CuesWebVTT cues carrying the full positioning grammar (line, position, align and size) plus named cue identifiers instead of numbers. Captions are placed at four different points in the frame, which is what real subtitles do to avoid covering burned-in text. Parsers that treat everything after the timestamp as cue text will fold these settings into the visible caption.
- VTT: STYLE Blocks, Regions and Inline MarkupWebVTT exercising the parts of the format beyond plain text: a STYLE block with ::cue selectors, a named REGION, voice spans, cue classes, and inline bold/italic/underline/ruby markup. A parser that handles only timestamps and text will render the tag names as visible characters.
and 25 more in the library.