.vtt WebVTT subtitles
Text & source code
| MIME type | text/vtt |
|---|---|
| Description | WebVTT subtitles |
| Acronym | VTT – Video Text Tracks |
| Category | Text & source code |
| Signature (magic bytes) | 57 45 42 56 54 54 (WEBVTT) |
| Based on | text/plain |
Frequently asked questions
What is a .vtt file?
A .vtt file is a “WebVTT subtitles” (MIME type text/vtt). VTT stands for Video Text Tracks.
How do I open a .vtt file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .vtt file?
By the bytes at the start of the file, the signature (magic bytes): 57 45 42 56 54 54 (WEBVTT). On Linux and macOS, file --mime-type example.vtt checks the real type regardless of the extension.
Which format is .vtt based on?
Technically a .vtt file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.
Which MIME type belongs to .vtt?
The MIME type is text/vtt. In the Apache web server: AddType text/vtt .vtt; in nginx: types { text/vtt vtt; }.