SRT vs VTT: Subtitle Formats Compared
SRT and VTT hold the same timed captions. SRT works in most players and editors; VTT is what web players need. See the differences and how to switch.
Published · 5 min read
SRT vs VTT is a choice between two plain-text subtitle formats that hold the same thing: numbered lines of text with the times they appear. SRT is the older, simpler format that almost every video player, editor and upload page accepts. VTT (WebVTT) is the format web browsers use, with extra options for position and styling. Our subtitle generator makes either one from your video's speech, so you can pick the one your destination needs.
What each file looks like
Both are text files you can open in Notepad or TextEdit. Here's the same caption in each.
SRT (.srt):
1
00:00:03,500 --> 00:00:06,200
Thanks for watching.
Let's get started.
VTT (.vtt):
WEBVTT
00:00:03.500 --> 00:00:06.200
Thanks for watching.
Let's get started.
The differences you can see:
- A header. A VTT file must start with the line
WEBVTT. SRT has no header. - Cue numbers. SRT numbers every caption (1, 2, 3...). In VTT, numbers or names for each caption are optional.
- The decimal mark. SRT separates seconds from milliseconds with a comma (06,200); VTT uses a full stop (06.200). Mixing them up is the most common reason a file is rejected.
- Hours. SRT always writes hours (00:00:03,500). VTT lets you leave them out for short videos (00:03.500).
Side by side
| SRT | VTT | |
|---|---|---|
| Full name | SubRip Subtitle | Web Video Text Tracks |
| Header line | None | WEBVTT required |
| Time format | 00:01:02,500 | 00:01:02.500 (hours optional) |
| Positioning (top of screen, left or right) | No standard way | Yes, with cue settings |
| Styling | Basic tags such as italics in some players; often ignored | Italics, bold, underline, plus CSS styling on websites |
| Speaker labels | Typed into the text | Can be tagged as voices |
| Comments in the file | No | Yes (NOTE blocks) |
| HTML video players | Not supported directly | The native format |
| Desktop players (VLC and others) | Yes | Usually yes |
| Video editors | Very widely supported | Supported by some |
| YouTube | Accepted (basic, plain UTF-8, no styling) | Accepted (positioning and limited styling) |
The YouTube details come from YouTube's own list of supported caption files, which also notes that SRT files must be plain UTF-8 text and that SRT styling is ignored.
When to choose SRT
- Uploading to YouTube or another video platform. SRT is the safe default; it's accepted almost everywhere.
- Video editors. Most editors import SRT into a captions track, where you can restyle the text or burn it into the picture.
- Playing a downloaded video. Put movie.srt next to movie.mp4 and most players load it automatically.
- Sending to someone else to check or translate. It's the format subtitle tools and translators expect.
When to choose VTT
- Your own website. The HTML
<track>element, which adds captions to a web video, uses VTT. Many website builders and course platforms ask for VTT too. - You need captions placed somewhere specific, for example at the top of the screen while a name appears at the bottom.
- Web players for courses and company videos, which are usually built on the browser's own video player.
If you're not sure, choose SRT. You can turn it into VTT later in a minute.
Make the file
- Open the subtitle generator and choose your file.
- Under Format, pick SRT (works with most video players and editors) or VTT (for websites and web video players).
- Under Choose a file, pick your video or just its audio (up to 500 MB and 60 minutes).
- Press Start, then Download result. The file is kept for 1 hour.
The language spoken is detected automatically, and lines are split between words at about 42 characters so they fit on screen. You get timed text with no styling, which suits both formats.
It's free for videos up to 2 minutes, and longer files, up to 60 minutes, need Pro. Your file is uploaded, deleted as soon as the subtitles are made, and the subtitle file is deleted after 1 hour. If your video is long but you only need captions for one clip, cut it first with trim video.
For uploading the file to YouTube, a player or an editor, see how to add subtitles to a video.
Converting SRT to VTT by hand
Because both are plain text, you can switch formats yourself:
- Open the .srt file in a plain text editor.
- Add
WEBVTTas the very first line, followed by an empty line. - Use find and replace to change the comma in each time to a full stop:
,becomes.in lines containing-->. Be careful not to change commas in the caption text. - Save as filename.vtt with UTF-8 encoding.
The cue numbers can stay; VTT treats them as optional labels. Going the other way (VTT to SRT), remove the header and any NOTE or STYLE blocks, add numbers, and change the full stops back to commas. If the VTT uses positioning, that's lost in SRT.
For a long file, it's often easier to generate the subtitles again in the other format.
Mistakes that break subtitle files
- Saving in the wrong encoding. Hindi, accented or other non-English text turns into gibberish unless the file is saved as UTF-8.
- Word processors. Editing in Word can add hidden formatting or "smart" quotes. Use Notepad, TextEdit in plain-text mode, or a code editor.
- Deleting the blank lines between captions. Each caption block must be separated by an empty line.
- Overlapping times, where one caption ends after the next one starts. Players handle this differently, so fix it.
Generate your subtitles
Pick SRT or VTT and get timed captions from the subtitle generator. Videos up to 2 minutes are free.
Frequently asked questions
- Is VTT better than SRT?
- Not better, just different. VTT adds positioning and styling for web players; SRT is simpler and accepted in more places.
- Does YouTube accept VTT files?
- Yes. YouTube lists both SRT and WebVTT among its supported caption files. For SRT it supports basic files only, with no styling.
- Can I rename .srt to .vtt?
- Not on its own. A VTT file needs the WEBVTT header and full stops in the times instead of commas. Make those two changes and it works.
- Which format do video editors use?
- Most import SRT. Some also import VTT, so check your editor's caption import options.
- Can subtitles include colours or fonts?
- VTT can be styled on websites. SRT styling is limited and often ignored; YouTube, for example, ignores it. For guaranteed looks, burn captions into the video in an editor.
Video tools
Try the Subtitle Generator
Free, no sign-up, no daily limit. Generate subtitles from a video or audio file automatically and download an SRT or VTT file, timed to the speech.
Also useful
- Trim VideoTrim a video to just the part you want: enter a start and end time, to a tenth of a second, and download the clip as an MP4. The cut lands exactly where you set it. Takes videos up to 1 GB and 30 minutes.
- Audio to TextTranscribe audio and video to text: recordings, voice notes, interviews, lectures and podcasts. English, Spanish, French, German, Italian, Dutch and Polish are transcribed right in your browser, from a file or live from your microphone, with no upload and no length limit. Dozens more languages and speaker labels run on our servers: free for recordings up to 2 minutes, and up to 60 minutes with Pro.