Subtext

SRT vs VTT: subtitle format differences and how to open them

SRT (SubRip) and VTT (WebVTT) are both plain-text subtitle files with timed caption cues, so they look almost identical at first glance. Pick SRT for video editors and desktop media players, and pick VTT for HTML5 web players and styling.

By Subtext

Download YouTube SRT or VTT Sample .srt Sample .vtt

SRT vs VTT side-by-side comparison

Detail SRT (.srt) WebVTT (.vtt)
File header None (starts directly at cue 1) Required WEBVTT header on line 1
Millisecond separator Comma: 00:00:02,500 Period: 00:00:02.500
Cue numbering Required sequential integers (1, 2, 3) Optional (cues can have text IDs or no IDs)
Styling, positioning, metadata Basic HTML tags only (bold, italic, color in some players) CSS styling, cue positioning, speaker voice tags (<v>), comments
Best compatibility Premiere Pro, DaVinci Resolve, Final Cut, VLC, YouTube Studio, social uploads HTML5 <video> / <track>, Vimeo, browser-based players

Exact file syntax side by side

Compare the same two-line clip from our sample files in SRT format:

1
00:00:00,000 --> 00:00:02,500
Write down what you notice.

2
00:00:02,500 --> 00:00:05,200
Add the time so you can find the moment again.

And the exact same clip in WebVTT format (notice the WEBVTT header and decimal dots in the timestamps):

WEBVTT

00:00:00.000 --> 00:00:02.500
Write down what you notice.

00:00:02.500 --> 00:00:05.200
Add the time so you can find the moment again.

That single comma-versus-period difference in milliseconds is the most common reason a hand-converted file fails to load in a player. Convert files locally in your browser with the SRT to VTT converter, VTT to SRT converter, or SRT to TXT converter.

How to open and edit an SRT or VTT file

Because both formats are UTF-8 plain text, you do not need special video software to read or fix typos:

Download SRT or VTT directly from YouTube

Paste any public captioned YouTube link into Subtext, open Download, and choose either Subtitles (SRT) or WebVTT (VTT) without converting by hand. You can also pull either format programmatically with format=srt or format=vtt in the Subtext REST API. For step-by-step instructions, see the YouTube subtitle downloader guide or the full download guide.