CuePort field notes

How to convert SRT to VTT

Keep the dialogue and timing while preparing a subtitle track for web video.

Convert SRT to WebVTT →

An SRT file and a WebVTT file both connect text to time. The difference becomes visible when you attach a subtitle file to a web video: an HTML track element expects WebVTT. Renaming a file from .srt to .vtt does not make the contents match.

A small conversion, with meaningful details

Start with the complete SRT file, including cue numbers and blank lines between cues. In CuePort, choose WebVTT and leave the time shift at zero. The generated file begins with WEBVTT, followed by a blank line. Its timestamps use a period before the millisecond digits.

SRT
1
00:00:01,250 --> 00:00:03,500
Welcome to the studio.

WebVTT
WEBVTT

1
00:00:01.250 --> 00:00:03.500
Welcome to the studio.

Connect the result to a video

Download the VTT file and host it alongside your video assets. Set the correct language and label on the text track. Your player may also need its captions option enabled. A successful conversion does not prove the spoken words and timings are correct, so play a short section with captions visible.

<track kind="subtitles" src="captions.vtt"
       srclang="en" label="English">

Check the result, not just the extension

CuePort supports plain subtitle tracks. It does not translate a full subtitle styling system into WebVTT CSS. If an export contains unsupported metadata, use your editing application to export a plain track first.

Format reference: W3C WebVTT specification.