Skip to content
VidzTranscripts

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

Which one to use

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.vtt

Positioning and styling from a VTT file are lost when converting to SRT, because SRT has nowhere to store them.

Common mistakes

Other formats you may meet

With our transcripts you rarely need to convert anything: both SRT and VTT are available for every file, generated from the same timings.

Need a transcript?

Convert your video or audio to text and subtitles for free.

Transcribe a file

Popular converters