All guides
Video·5 min read·

How to Convert SRT to VTT Subtitles (and Why You'd Want To)

SRT works in most desktop players. VTT is the format browsers expect for the HTML5 <track> element. Here's the conversion path and what changes between them.

SRT and VTT are the two text-based subtitle formats you'll see on the web. They look similar — both are plain UTF-8 text with timestamps and lines of dialogue — but they're not interchangeable across every player.

This guide covers when each format is right, the conversion path, and how subtitles flow through Dropvert's video tools.

SRT vs VTT — quick reference

Feature SRT (.srt) VTT (.vtt)
Year introduced ~2000 2010 (W3C)
Timestamp format 00:01:23,456 (comma) 00:01:23.456 (period)
File header none WEBVTT\n\n required
Cue identifiers numbered (1, 2, 3) optional, freeform
Styling / positioning none in spec CSS-like <v>, <c>, alignment, position
Best for desktop players (VLC, MPV, Plex) browsers (HTML5 <track>), HLS streams

Format-wise the differences are small. The conversion is essentially: change the timestamp separator, prepend the WEBVTT header, optionally renumber cues.

When you need VTT

The most common reason to convert SRT → VTT: you're putting a video on a website using the HTML5 <track> element.

<video controls>
  <source src="lesson.mp4" type="video/mp4">
  <track src="captions.vtt" kind="subtitles" srclang="en" label="English" default>
</video>

Browsers do not accept SRT in the <track> element. If you point it at a .srt file, the captions silently don't render. VTT is the only format that works there.

Streaming services that publish HLS (HTTP Live Streaming) — Vimeo, JW Player, most modern self-hosted setups — also expect VTT cues for in-band subtitles.

When you need SRT

Going the other direction (VTT → SRT) is less common but happens when:

  • You're uploading captions to YouTube. YouTube accepts both, but its tooling is older and the SRT path is better-tested.
  • You're handing the file to a translator. SRT is universally supported by translation tools (Aegisub, Subtitle Edit, etc.).
  • You're muxing the subs into an MKV with MKVToolNix. SRT is the most-tested input there.

Convert with Dropvert

Subtitle Converter handles SRT, VTT, ASS, and SSA in any direction. Drop the file, pick the output format, download. Runs entirely in your browser — no upload, no account.

The tool also normalises BOM markers and CRLF / LF line endings, which is the most common cause of subtitle files "not working" after a manual conversion. If you've ever wondered why a renamed-by-hand .vtt file silently fails, those two are usually it.

Keeping subtitles when compressing video

If your source video has an embedded subtitle track (common with MKV files), you can preserve it through compression with Compress Video. In the Subtitles & chapters control, pick Keep — the encoder transcodes the subs into the container-native codec (mov_text for MP4 output, webvtt for WebM) automatically.

Sidecar files (a separate .srt next to the video) aren't auto-muxed by the compressor — you'd need to remux them in with MKVToolNix or HandBrake first.

FAQ

My converted VTT shows blank captions in the browser. Open the file in a text editor. The first line must be exactly WEBVTT followed by a blank line. If anything else is on line 1 (a BOM, a number, whitespace), browsers reject the whole file. Dropvert's converter handles this; manual hand-conversion is a common trap.

Can I convert ASS / SSA subtitles? Yes. ASS and SSA (SubStation Alpha) are styling-heavy formats used by anime fansubs. Converting to SRT or VTT preserves the timing and text but strips the styling — there's no way around this since neither target format supports custom typography. If styling matters, keep ASS and use a player that renders it (VLC, MPV).

Does it work offline? Yes — the converter is a small JavaScript bundle in your browser. Once the page loads you can disconnect and it still works.

Tools mentioned in this guide

Related guides

We use cookies to understand how you use Dropvert and improve the experience.