SRT to VTT Converter

Convert SRT subtitles to WebVTT (.vtt) for HTML5 video players, Vimeo and web courses, in your browser. Italics kept, timing adjustable. Free, nothing uploaded.

Runs in your browser. Your files are never uploaded. How it works

This page converts an SRT subtitle file into WebVTT, the subtitle format that web video players read. If you have added captions to a website with the <track> element and they do not show, an SRT file is the usual reason: browsers ignore it. Converting takes a second and nothing is uploaded.

What changes in the file

The SRT from my test, a three-line episode file saved on Windows with a byte-order mark, came out like this:

SRT WebVTT
1 (cue numbers are optional and left out)
00:00:01,200 --> 00:00:03,800 00:00:01.200 --> 00:00:03.800
<i>Previously on the show...</i> <i>Previously on the show...</i>
<font color="#ffff00">[door slams]</font> [door slams]

The file starts with a WEBVTT line, uses Unix line endings and UTF-8 without a byte-order mark, which every player accepts.

Using the VTT on a web page

<video controls src="episode.mp4">
  <track kind="subtitles" src="episode.vtt" srclang="en" label="English" default>
</video>

Serve the file from the same site as the page (or with CORS allowed), otherwise the browser will not load it. If the subtitles appear a little too early or late, set Shift timing before downloading; the preview shows the new times.

Going the other way, for a TV or a desktop player that prefers SRT, choose SRT under Convert to.

Frequently asked questions

What is the difference between SRT and VTT?

Almost only the details: VTT starts with a WEBVTT line, uses a dot instead of a comma in times (00:00:01.200 instead of 00:00:01,200) and does not need cue numbers. The text and timing are the same.

Why does my video player need VTT?

The HTML5 <track> element in browsers only reads WebVTT, so web video players, many course platforms and Vimeo use it.

Are italics kept?

Yes. <i>, <b> and <u> work in both formats. SRT colour tags such as <font color> are not part of WebVTT and are removed.

Related tools