Updated
What the two formats look like
Both are plain text. Each cue is one subtitle. It has a start time, an end time and one or more lines of text.
A WebVTT file starts with the line WEBVTT. It puts a dot before the last part of the time, the milliseconds. SRT puts a comma there. SRT needs a number on each cue. In VTT, the number is up to you.
SRT
1
00:00:01,000 --> 00:00:04,000
Hello there.
VTT
WEBVTT
1
00:00:01.000 --> 00:00:04.000
Hello there.Where each format is used
- VTT is the one web browsers play. The HTML5 track tag only reads WebVTT.
- SRT is what most video editors read and save. Many subtitle download sites offer it too.
- YouTube and Vimeo take both when you upload captions.
Convert SRT to VTT
The converter adds the WEBVTT line at the top. It swaps the commas in the times for dots. It also takes out SSA place tags such as {\an8} and font tags, since VTT does not support them. Italic, bold and underline tags stay. The file is converted in your browser and is not uploaded.
- Paste the SRT text or drop the .srt file into the converter.
- Choose if you want to keep the cue numbers as cue IDs.
- Download the .vtt file and point your track tag at it.
Convert VTT to SRT
The other way, more has to go. The WEBVTT line goes, and so do NOTE, STYLE and REGION blocks. Cue settings such as position and align are dropped. So are voice, class and time tags.
The cues get numbers from 1. The dots turn into commas. Times without hours get the hours added.
If the timing is off after converting
Converting never changes the timing. If the subtitles were early or late before, they still will be after. Shift them in the same file type, before or after you convert.