Free VTT sample, test and dummy files

The web standard for captions and subtitles, used by the HTML <track> element. Download valid VTT test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.vtt
MIME type
text/vtt
Kind
Text
Category
Subtitles

Create a WebVTT file of any size

Choose any size from 384 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

VTT files by size

Every file below is a valid WebVTT subtitles file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

VTT sample files by size
FileSizeContentsDownload
1 KB VTT samplesample-vtt-1kb.vtt 1 KB1,024 bytes Cues: 6 Download VTT
5 KB VTT samplesample-vtt-5kb.vtt 5 KB5,120 bytes Cues: 41 Download VTT
10 KB VTT samplesample-vtt-10kb.vtt 10 KB10,240 bytes Cues: 86 Download VTT
25 KB VTT samplesample-vtt-25kb.vtt 25 KB25,600 bytes Cues: 218 Download VTT
50 KB VTT samplesample-vtt-50kb.vtt 50 KB51,200 bytes Cues: 438 Download VTT
100 KB VTT samplesample-vtt-100kb.vtt 100 KB102,400 bytes Cues: 876 Download VTT
200 KB VTT samplesample-vtt-200kb.vtt 200 KB204,800 bytes Cues: 1,745 Download VTT
500 KB VTT samplesample-vtt-500kb.vtt 500 KB512,000 bytes Cues: 4,354 Download VTT
1 MB VTT samplesample-vtt-1mb.vtt 1 MB1,048,576 bytes Cues: 8,918 Download VTT
2 MB VTT samplesample-vtt-2mb.vtt 2 MB2,097,152 bytes Cues: 17,744 Download VTT
3 MB VTT samplesample-vtt-3mb.vtt 3 MB3,145,728 bytes Cues: 26,560 Download VTT
5 MB VTT samplesample-vtt-5mb.vtt 5 MB5,242,880 bytes Cues: 44,196 Download VTT
10 MB VTT samplesample-vtt-10mb.vtt 10 MB10,485,760 bytes Cues: 88,273 Download VTT
15 MB VTT samplesample-vtt-15mb.vtt 15 MB15,728,640 bytes Cues: 132,119 Download VTT
20 MB VTT samplesample-vtt-20mb.vtt 20 MB20,971,520 bytes Cues: 175,850 Download VTT
25 MB VTT samplesample-vtt-25mb.vtt 25 MB26,214,400 bytes Cues: 219,556 Download VTT
30 MB VTT samplesample-vtt-30mb.vtt 30 MB31,457,280 bytes Cues: 263,301 Download VTT
50 MB VTT samplesample-vtt-50mb.vtt 50 MB52,428,800 bytes Cues: 438,219 Download VTT
100 MB VTT samplesample-vtt-100mb.vtt 100 MB104,857,600 bytes Cues: 875,492 Download VTT

What is a VTT file?

WebVTT is the caption format built into browsers. A file starts with the word WEBVTT and then lists cues, each with a time range and text, optionally with positioning and styling.

It closely resembles SRT but is formally specified, and supports comments, cue settings and metadata tracks.

How to recognise a VTT file

Software recognises a VTT file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file.
Extension.vtt
MIME typetext/vtt
StandardW3C WebVTT
HeaderThe file must begin with WEBVTT
TimestampHH:MM:SS.mmm with a full stop before milliseconds
EncodingUTF-8 only

What to test for

These are the behaviours that most often go wrong when software handles VTT files.

Strengths of VTT

  • The native caption format of the HTML video element.
  • Formally specified, with positioning, styling and comments.

Limitations of VTT

  • Less widely accepted than SRT outside the browser.
  • Must be UTF-8 and served with the correct content type.

Typical uses of VTT test files

  • Testing HTML video captions
  • Checking subtitle conversion
  • Testing accessibility of video players

Software that opens VTT

  • All browsers through the <track> element
  • Video.js, hls.js and Shaka Player
  • Streaming platforms

Specifications

Related

VTT sample files: questions

Can I use these with the MP4 samples?
Yes. Add the file with a <track> element to check that captions appear, though the text is unrelated to the picture.
What is the MIME type of a VTT file?
The MIME type is text/vtt. The file extension is .vtt.
Is a sample VTT file the same as a dummy or example VTT file?
Yes. Sample, test, dummy and example VTT files are different names for the same thing: a VTT file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy VTT file.