Skip to content
Novus Examples
vtt216 B

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.

Preview — first 11 linesvtt
WEBVTT

00:00:00.000 --> 00:00:02.500
Welcome to Novus Examples.

00:00:02.500 --> 00:00:05.000
These are free sample subtitle files.

00:00:05.000 --> 00:00:08.000
Use them to test parsers, players, and converters.

Specifications

Format
WebVTT
Cues
3
Timing
HH:MM:SS.mmm

What is a .vtt file?

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 this file

Use an example VTT to test HTML5 <track> caption rendering, cue-setting and positioning parsers, and converters between WebVTT and SRT.

How to use this file for testing

“WebVTT Subtitles (VTT)” is a deterministic Novus Examples fixture for Subtitle testing, Conversion testing. SubRip and WebVTT sidecars plus multi-track containers — forced-narrative, SDH and styled tracks in one file — for testing track selection, default flags and caption rendering in players.

Documented properties for this file: 3 cues · WebVTT. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Document fixtures list their internal structure (pages, fields, tracked changes, embedded objects) in the spec table. Test extractors, converters, and OCR against that known structure, and compare searchable↔scanned or format-twin companions when present.

Parse the cues and check timings against the documented count; the same captions ship across subtitle formats so you can diff a converter against a known target.

Code examples

<video controls src="clip.mp4">
  <track kind="captions" srclang="en" label="English" src="captions.vtt" default>
</video>

Generated by generation/data_dev_fixtures.py. Free for any use, no attribution required — license.