SRT vs VTT: Which Subtitle Format Should You Use?
By the VidzTranscripts team · · Updated · 3 min read
If you have ever exported subtitles you will have seen two formats: SRT and VTT. They look nearly the same and carry the same information (the caption text and when to show it), but they are not interchangeable everywhere. Choosing the wrong one is the most common reason a subtitle upload is rejected.
What an SRT file looks like
SRT (SubRip Text) is the oldest and most widely supported subtitle format. It takes its name from SubRip, a program that extracted subtitles from DVDs. Each caption has a number, a time range with a comma before the milliseconds, and one or two lines of text. Captions are separated by a blank line:
1
00:00:01,000 --> 00:00:04,000
Welcome to the channel.
2
00:00:04,500 --> 00:00:07,250
Today we're looking at subtitle formats.What a VTT file looks like
WebVTT (Web Video Text Tracks) was created for HTML5 video on the web and is a W3C standard. The file must start with the word WEBVTT, timestamps use a full stop instead of a comma, and numbering is optional:
WEBVTT
00:00:01.000 --> 00:00:04.000
Welcome to the channel.
00:00:04.500 --> 00:00:07.250
Today we're looking at subtitle formats.The differences that matter
- Header: VTT files must begin with WEBVTT. SRT has no header.
- Timestamps: SRT uses a comma (00:00:01,000), VTT a full stop (00:00:01.000). VTT also allows leaving out the hours for short videos.
- Numbering: required in SRT, optional in VTT (where cues can have any identifier, or none).
- Positioning: VTT can place a caption on the screen with settings after the timestamp, such as line:0 to move it to the top, or align:start. SRT has no standard positioning.
- Styling: VTT supports bold, italic and underline tags, voice tags that name the speaker (<v Maria>), and styling with CSS through the ::cue selector. SRT players only reliably support basic bold and italic tags.
- Extras: VTT can also describe chapters and metadata tracks, and supports NOTE comments.
Which one to use
- YouTube, Facebook, LinkedIn and Vimeo: either works; SRT is the safe default.
- Premiere Pro, DaVinci Resolve, Final Cut Pro, CapCut: SRT.
- Your own website with the HTML <video> tag: VTT, because browsers only read WebVTT natively.
- Video players like VLC and MPV: either works.
- Online course platforms (Teachable, Thinkific, Moodle): check the docs, but most accept both.
Adding VTT captions to your own website
Browsers load captions with a track element inside the video element. The kind attribute tells the browser whether they are captions or subtitles, and srclang gives the language:
<video controls src="interview.mp4">
<track kind="captions" src="interview.vtt" srclang="en" label="English" default>
</video>The VTT file must be served from the same site as the page (or with the right CORS headers), and with the content type text/vtt. If captions don't appear, those two things are the usual cause.
Converting between them
Converting SRT to VTT by hand is simple: add WEBVTT and a blank line at the top, and change the commas in timestamps to full stops. For VTT to SRT, do the reverse and number the captions. If you use FFmpeg, one command does it:
ffmpeg -i captions.srt captions.vttPositioning and styling from a VTT file are lost when converting to SRT, because SRT has nowhere to store them.
Common mistakes
- Saving the file in a word processor. Word and similar programs add formatting that breaks subtitle files; always use a plain text editor.
- Wrong character encoding. Save subtitle files as UTF-8, or accented letters and non-Latin scripts such as Devanagari turn into garbage.
- A missing blank line between captions, which makes players merge or skip them.
- Overlapping times, where one caption ends after the next one starts. Some players show both at once, others drop one.
- Renaming an SRT file to .vtt without converting it. The timestamps and header are different, so browsers will reject it.
Other formats you may meet
- ASS/SSA: advanced styling with fonts, colours and animation, popular for anime fan subtitles. Supported by VLC and MPV, but not by most online platforms.
- TTML and DFXP: XML-based formats used in broadcasting and by some streaming services.
- SBV: a simple format YouTube uses when you download captions from YouTube Studio.
- SCC: the traditional format for broadcast closed captions in North America.
With our transcripts you rarely need to convert anything: both SRT and VTT are available for every file, generated from the same timings.