Creator Tools
SRT to VTT converter.
Convert SubRip (.srt) subtitles to WebVTT (.vtt) for the HTML5 video player, or WebVTT back to SRT for editors and platforms that want it. Optionally shift every cue earlier or later. The file stays in your browser.
Input
Converted subtitles
Paste subtitles to convert them.
About this SRT to VTT converter
SRT (SubRip) is the plain format most editors and download sites use. WebVTT is the W3C format the HTML5 <track> element and most web players require. The two are close, which is why conversion is mostly mechanical, but the details below are where hand conversions go wrong.
SRT to VTT
- A
WEBVTTheader line and a blank line are added. - The millisecond separator changes from a comma (
00:00:01,000) to a dot (00:00:01.000). - Cue numbers are dropped, since in WebVTT an identifier is optional. Text, line breaks and basic tags (
<i>,<b>,<u>) pass through.
VTT to SRT
- The header,
NOTE,STYLEandREGIONblocks are removed and cues are numbered from 1. - Dots become commas and cue settings such as
align:start position:0%are dropped, because SRT has no place for them. - WebVTT-only markup (
<v Name>,<c.class>, inline timestamps) is stripped; the speech text stays.
Shifting timings
Enter seconds to move every cue later (positive) or earlier (negative), for example 2.5 when the subtitles run 2.5 seconds early. Times never go below zero; cues that would end before the start are removed and the page tells you how many.
Limits
Files up to 5 MB. Both short-hour forms (01:02.500 in VTT) and full forms are read. Block positions or colours in SRT variants such as {\an8} are left in the text, not translated into WebVTT settings.
FAQ
Why does my video player need VTT instead of SRT?
The HTML5 <track> element only accepts WebVTT. Converting your .srt to .vtt and pointing the track's src at it is enough for most players.
Do I lose any formatting when converting VTT to SRT?
Positioning, alignment, styles and speaker voice tags are lost because SRT cannot store them. Timings and text are kept.
Is my subtitle file uploaded?
No. Conversion happens in your browser.
Source
- WebVTT: The Web Video Text Tracks Format, W3C Candidate Recommendation: w3.org/TR/webvtt1.
- The SubRip text format has no formal specification; the layout used here is the widely implemented index, timing line, text, blank line structure.