How to convert SRT to VTT
- 01Add SRT filesChoose files or drop them on the page.
- 02Converted on your deviceNothing is uploaded. Adjust settings if you like.
- 03DownloadSave each file, or all of them as one ZIP.
This SRT to VTT converter rewrites SRT subtitles as WebVTT (.vtt), the format HTML5 video players need for the track element and many web players and course platforms ask for. Timings are kept to the millisecond, bold, italic and underline survive, and the conversion runs in your browser.
What changes between SRT and VTT
An SRT cue such as 12, then 00:01:02,500 --> 00:01:04,000, then Hello, becomes 00:01:02.500 --> 00:01:04.000 followed by Hello, under a WEBVTT line at the top of the file. Three things change: the comma before the milliseconds becomes a dot, the WEBVTT header is added, and the cue numbers are dropped, since VTT doesn’t need them. Hours are always written out as two digits.
Formatting and position tags
- <b>, <i> and <u> are kept. Capital letters in those tags are made lowercase, as VTT requires.
- <font> tags are removed, because WebVTT doesn’t support them. Subtitle colors set that way are lost; in VTT, colors come from CSS on the page instead.
- Position tags some SRT files carry, like {\an8} for top center, become VTT cue settings: top positions get line:0, and left or right positions get align:start or align:end.
- Other override tags in curly braces, such as {\i1} or {\pos(…)}, are removed so they don’t show up as text.
- A stray & or < in the dialogue is escaped, so it shows on screen instead of being read as markup.
Messy SRT files it copes with
- A byte order mark at the start, and Windows or old Mac line endings.
- Timings without hours (01:02,500), with a dot instead of a comma, or with fewer than three millisecond digits, so ,5 is read as 500 ms.
- Extra blank lines between cues.
- Blocks with no valid timing line are skipped rather than breaking the file. If nothing usable is found, you’ll see “No subtitles found. Is this an SRT file?”
- The file is read as UTF-8. Old SRT files saved in another encoding show accented letters as � symbols; re-save as UTF-8 in a text editor first.
Using the VTT file on a web page
Add the file inside your video element with a track tag, for example <track kind="subtitles" src="film.vtt" srclang="en" label="English">. Browsers only load a track from another website if that server allows cross-origin requests, so the simplest setup is to host the .vtt next to the video.
This tool doesn’t re-time subtitles. If they’re out of sync with the video, shift them in a subtitle editor before or after converting. It also doesn’t burn subtitles into the picture; the VTT stays a separate file the player shows on top.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Files are processed in your browser and never uploaded.
- Accepts
- SRT
- You get
- VTT
- Batch
- Convert many files at once and download them as a ZIP
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
- Offline
- After the first conversion, it keeps working without internet
Questions
Are my files uploaded?
Never. SRT to VTT conversion runs in your browser, so your files stay on your device.
Can I convert many at once?
Yes. Add as many as you like and download them all as one ZIP.
Is there a size limit?
Files of tens of megabytes are fine on most computers.
Do I lose anything converting SRT to VTT?
Only font colors and the cue numbers. Text, timings, line breaks, bold, italic and underline are kept.
Does YouTube accept VTT files?
Yes. YouTube accepts both SRT and WebVTT, so you only need to convert for players that require VTT.
Can I convert VTT back to SRT?
Yes. Use VTT to SRT, which renumbers the cues and turns top positions back into {\an8} tags.
What is the difference between SRT and VTT?
Both are plain-text subtitle files with a start and end time for each cue. VTT begins with a WEBVTT line, puts a dot before the milliseconds (00:01:02.500) where SRT uses a comma, and doesn’t need cue numbers. Browsers use VTT for HTML5 video, while SRT is what most desktop players and TVs read.