Convert SubRip (.srt) to HTML5 WebVTT (.vtt)
HTML5 <video> elements, Vimeo, Wistia, Brightcove, Teachable, and modern web course platforms require WebVTT (.vtt) caption tracks rather than .srt. If you rename a .srt file to .vtt without fixing its internal syntax, browsers will silently ignore the <track> element because the required WEBVTT header is missing and millisecond commas are invalid under the W3C WebVTT specification.
The Srtsmith SRT to VTT converter produces standards-compliant .vtt files directly in your browser in milliseconds.
Exact Changes Made by the SRT to VTT Converter
- Injects the mandatory
WEBVTT file header: Adds WEBVTT on line 1 followed by a blank line so Chrome, Safari, Firefox, and Edge recognize the track immediately.
- Converts millisecond commas to periods: Replaces SubRip commas (
00:00:04,650) with WebVTT decimal points (00:00:04.650) across every start and end timestamp without touching commas inside your spoken dialogue.
- Removes unnecessary numeric cue IDs: Outputs clean WebVTT cue blocks separated by uniform LF blank lines so your
.vtt file stays compact and standards-compliant.
- Cleans legacy formatting tags: Optionally strips unsupported
<font color="..."> or ASS override tags that display as literal text in strict HTML5 players.
- Outputs clean UTF-8: WebVTT mandates UTF-8 encoding. If your source
.srt file came from a legacy Windows-1252, GB18030, or Shift_JIS workflow, choose the source encoding in the dropdown and Srtsmith automatically transcodes the .vtt output to valid UTF-8.
Embedding Your Converted .vtt File in HTML5 Video
Once you click Download .vtt, host the file alongside your video and attach it with a standard <track> tag:
<video controls>
<source src="demo.mp4" type="video/mp4">
<track kind="subtitles" src="captions.vtt" srclang="en" label="English" default>
</video>
Make sure your web server serves .vtt files with the text/vtt; charset=utf-8 MIME type (Cloudflare Pages, Workers, S3, and modern CDNs handle this automatically).
Instant Browser-Local Conversion
No files are uploaded when you convert SRT to VTT on Srtsmith. Every timestamp conversion and UTF-8 serialization runs inside your browser tab, ready to copy or download with zero sign-up.