SRT to VTT
Turn an SRT subtitle file into a WebVTT file that HTML5 players accept.
- Runs in your browser
- No uploads
- No account
Loading your browser tool…
What SRT to VTT does
Web video players such as the HTML5 <track> element, Video.js and most help-center embeds only read WebVTT, while editors and transcription services usually hand you SRT. This converter rewrites the file instead of renaming it: it adds the WEBVTT header, switches the comma in every timestamp to a dot, and translates SRT-only markup into WebVTT equivalents.
Use it when a player shows no captions after you upload an .srt file, or before you attach captions to a product video on your own site.
Example
Input
1
00:00:01,200 --> 00:00:03,800
{\an8}<i>Open Settings</i> & choose Workspace.Result
WEBVTT 00:00:01.200 --> 00:00:03.800 line:0 <i>Open Settings</i> & choose Workspace.
The cue number is dropped, the millisecond separator changes, {\an8} becomes line:0 so the caption stays at the top, and the bare & is escaped.
How to use SRT to VTT
- Paste your SRT captions, or drop the .srt file onto the text area.
- Check the WebVTT on the right; any lines that needed changes are listed under it.
- Download the .vtt file and upload it to your player as the caption track.
Good to know
- Positioning tags {\an1} to {\an9} become WebVTT line and align settings, but ASS override styling such as {\c&H00FFFF&} colours is removed rather than converted.
- It does not fix timing. If captions overlap or run out of order, run the file through the SRT Validator first.
- Text encoding is read as UTF-8. Files saved in an older encoding such as Windows-1252 may show broken accents; re-save them as UTF-8 before converting.
Questions about SRT to VTT
What is the difference between SRT and VTT?
Both are plain-text caption formats with numbered or unnumbered cues and start and end times. WebVTT starts with a WEBVTT header, uses a dot before milliseconds, and supports positioning, styling and comments. SRT uses a comma and has almost no standard styling.
Can I just rename .srt to .vtt?
Usually not. Browsers reject a file without the WEBVTT header, and many reject timestamps with a comma. Characters like & or < also need escaping in WebVTT, or the cue text can disappear.
Will italics and bold survive the conversion?
Yes. <i>, <b> and <u> tags are valid in both formats and are kept. <font> tags are removed because WebVTT has no font tag; use a STYLE block in the VTT file if you need colours.
Is my subtitle file uploaded anywhere?
No. The conversion runs in this browser tab, and the file never leaves your device.