SRT to VTT Subtitle Converter
Convert subtitles between SRT and WebVTT in both directions, handling timestamp separators, cue numbering and the WEBVTT header automatically, with errors reported down to the individual subtitle block.
FreeOnline Tool
Loading…
How to Use
- Paste SRT subtitles into the left text box, or WebVTT subtitles into the right one
- Click "SRT to VTT" to parse the left side and render it as WebVTT on the right; click "VTT to SRT" for the reverse direction
- Every subtitle block is validated during conversion. If a block is missing its "-->" timestamp line, has a malformed timestamp, ends before it starts, or has no subtitle text, the problem and the block number are shown beneath the text box, while the remaining valid blocks still convert
- Click "Load sample SRT" or "Load sample VTT" to fill in an example with multiple cues and multi-line text and see the conversion in action
- Click "Copy" to copy the converted result
Features
- SRT to VTT: adds the WEBVTT header at the top, strips the numeric index before each cue, and switches the millisecond separator in timestamps from a comma to a period
- VTT to SRT: removes the WEBVTT header, renumbers every cue consecutively starting from 1, and switches the millisecond separator from a period to a comma
- Supports optional WebVTT cue identifier lines (the line above the timestamp) and NOTE comment blocks, which are dropped automatically when converting to SRT
- Validation works at subtitle-block granularity: it reports which block number has which problem (missing timestamp line, malformed timestamp, end time before start time, missing text) while every other valid block still converts normally
Use Cases
Matching a video platform's subtitle format
Convert SRT files exported from your editing software into the WebVTT format expected by YouTube or a web video player before uploading.
Adding subtitles to a web player
The HTML5 video <track> element only accepts WebVTT, so convert existing SRT subtitles to VTT before wiring them into your page.
Troubleshooting a subtitle file
When you receive a subtitle file of unknown provenance, the conversion errors point out exactly which block has the broken timestamp.
Preparing subtitles for translation
Convert VTT back to the more widely supported SRT format so it can be imported into traditional subtitle translation and proofreading software.
FAQ
Are WebVTT cue identifiers and NOTE comments supported?
Yes. When parsing VTT the tool recognizes the cue identifier line above a timestamp, and when converting VTT to SRT it drops cue identifiers and NOTE blocks automatically, since SRT has no equivalent place for them, keeping only timestamps and subtitle text.
What does an error like "subtitle block 3..." mean?
It means the third block, counted by blank-line separation, has a problem. The message states whether the timestamp line is missing, the timestamp is malformed, the end time is earlier than the start time, or there is no subtitle text, so you can jump straight to that spot in the original file.
Do the two formats have the same timestamp precision?
Yes, both go down to the millisecond. Only the separator differs: SRT uses a comma (00:00:01,000) while VTT uses a period (00:00:01.000). The conversion handles that difference automatically without any loss of precision.
Is multi-line subtitle text supported?
Yes. Every text line after the timestamp inside a block is treated as that cue's full text with line breaks preserved, and the multi-line layout carries over unchanged to the other format.