WebVTT to SRT (and Reverse): Why Renaming Extensions Fails and How Parsers Fix Tracks
On the surface, W3C WebVTT (.vtt) and SubRip (.srt) look nearly identical: both are UTF-8 plain text files containing timestamps separated by --> arrows and lines of spoken captions. In practice, renaming a YouTube, Loom, or Vimeo .vtt transcript to .srt breaks desktop editors such as Adobe Premiere Pro, DaVinci Resolve, VLC, and television USB decoders immediately. Bidirectional conversion requires fixing decimal punctuation, padding missing hours, dropping non dialogue WebVTT blocks, and cleaning inline web tags cleanly.
1. Four Structural Differences Between .vtt and .srt
| Format Detail | W3C WebVTT (.vtt) | SubRip (.srt) |
|---|---|---|
| File Opening Header | Mandatory WEBVTT signature line plus optional comments |
Must begin straight at cue index 1 with zero text header |
| Millisecond Delimiter | Period: 00:01:12.450 | Comma: 00:01:12,450 |
| Short Hour Notation | Allows omitted hours under 60 min (04:12.800) |
Strictly requires 2 digit hours (00:04:12,800) |
| Cue Numbers & Settings | Numbers optional; permits trailing line:85% align:center |
Sequential 1, 2, 3 indices required; rejects CSS cue flags |
2. Automatic Format Detection, Omitted Hours, and Cue Metadata
When running in Auto Detect mode (or explicit VTT to SRT and SRT to VTT modes), the parser removes any invisible UTF-8 Byte Order Mark (U+FEFF) first so Windows exports never corrupt the first line. It identifies WebVTT inputs via the opening WEBVTT signature or dot timestamps, skips non caption blocks such as NOTE developer remarks, STYLE blocks, and REGION headers, and splits trailing positioning coordinates (for instance align:middle) away from the cue end time before converting timestamps.
Two normalization rules run on every cue. First, any short two segment WebVTT timestamp lacking hours (00:02.500) passes through millisecond padding (formatTimeMs) to become valid 00:00:02,500 SubRip syntax. Second, exporting back from SRT to WebVTT automatically injects the required WEBVTT banner and converts comma decimals to periods so any browser HTML5 <track kind="captions"> element loads without console syntax rejections.
WEBVTT - Product Walkthrough
00:02.500 --> 00:05.800 line:90% align:center
Welcome to the studio release.
00:06.100 --> 00:09.400
<v Presenter>Review the export timeline below.</v>
1
00:00:02,500 --> 00:00:05,800
Welcome to the studio release.
2
00:00:06,100 --> 00:00:09,400
Review the export timeline below.
3. Configuring the Three Cleanup Switches Above the Grid
Subtitles downloaded from automatic caption pipelines frequently carry empty silence gaps or messy inline HTML formatting. Three switches directly beneath the toolbar let you tailor exported output safely:
- Remove Unsupported Tags (Formatting): Disabled by default so basic bold or italic tags pass through unchanged. Enable this switch whenever exporting WebVTT captions with speaker voice selectors (
<v Presenter>), inline karaoke timing cues (<00:19.200>), or CSS class spans (<c.whisper>) for hardware smart TVs that print angle brackets literally on screen. When exporting SRT to VTT with this switch enabled, trailing VTT metadata tokens are omitted cleanly as well. - Clean Empty Entries: Enabled by default to purge blank spacer blocks containing only whitespace so NLE timeline imports never flag empty cue warnings.
- Normalize Index Numbering: Enabled by default. For SRT outputs, sequential numbering (
1, 2, 3...) is always written to satisfy SubRip parsers; when exporting VTT, leaving this enabled retains sequential index rows above each timestamp, while turning it off produces compact numberless WebVTT blocks.
4. NLE Timeline Parity, Smart TV Cleanup, and Batch ZIP Exports
Desktop nonlinear editors such as Adobe Premiere Pro, DaVinci Resolve, and Final Cut Pro (along with Computer Assisted Translation suites) expect clean SubRip input rather than HTML5 CSS track syntax. Leaving a stray NOTE block at the top or failing to zero pad short timestamps causes desktop importers to drop early subtitles silently. Inspecting raw WebVTT captions exported from YouTube automated transcripts often reveals progressive karaoke timestamps tucked between individual words (e.g., Please<00:01:14.200><c> check</c>). Left unstripped inside an .srt track, hardware DLNA media hubs on LG WebOS or Samsung Tizen screens render unreadable angle bracket code right across dialogue scenes. Enabling Remove Unsupported Tags strips all tag delimiters cleanly with /<[^>]*>?/gm, leaving clean human readable text on every cue while showing live block count and total duration in the right sidebar preview.
In the reverse direction (SRT to VTT), keeping Remove Unsupported Tags unchecked allows any existing WebVTT positioning cues to remain intact alongside valid WEBVTT headers and period milliseconds, making web player deployment across Video.js, Plyr, and Cloudflare Stream immediate. When converting entire course modules or multi episode video libraries, switch to Batch Processing, drag dozens of .vtt or .srt tracks into the dropzone, verify your three toggle switches, and generate one downloadable ZIP archive in browser memory via JSZip.
Format Compatibility FAQs
Why can't I just rename my .vtt file extension to .srt?
WebVTT opens with a mandatory WEBVTT header and uses dots before milliseconds (00:00:00.000), whereas SubRip requires numeric index lines starting at 1 with zero text header and comma delimiters (00:00:00,000). Renaming extensions fails validation in VLC, Premiere Pro, and TV players.
What happens to WebVTT positioning cues like line:80% or align:middle?
Because standard SRT cues reject browser positioning flags on the timestamp line, converting to SRT automatically omits trailing attributes such as line:80% and align:middle, leaving clean timestamps and readable subtitle lines.
Does this tool support WebVTT files with two-part timecodes (MM:SS.mmm)?
Yes. Any WebVTT cue omitting hours (such as 04:12.800) parses cleanly and expands to three part hour notation (00:04:12,800) automatically on export.
Can I convert multi-hour webinars or movies?
Yes. Parsing, timestamp normalization, tag cleanup, and batch ZIP compression run inside local browser memory with zero artificial server upload caps.
Is my transcript data private?
Yes. Every file read, regex transformation, and download takes place strictly inside client side JavaScript memory without touching external servers.