fundamentals · 7 min read
SRT vs VTT: which subtitle format to use
SRT is the long-standing plain-text subtitle format, and WebVTT is the web-oriented format used by HTML5 video. Both store timed text cues, but they differ in the file header, the timestamp separator, styling hooks and cue settings, so the right choice depends on where the subtitles will play.
The short version: use SRT when broad compatibility with desktop players, editors and legacy tools matters most, and use VTT when the subtitles will be served on the web or need cue positioning, CSS styling or caption features. The rest of this guide covers the syntax differences and the conversion details that break files.
What SRT and WebVTT actually are
SRT, originally from the SubRip tool, is a plain-text subtitle format built from numbered cues. Each cue has a start and end time, one or more lines of text, and a blank line before the next cue. It has no formal schema, which is part of why it is accepted almost everywhere and why different players interpret small details differently.
WebVTT, maintained as a W3C specification, was designed for HTML5 video. A VTT file begins with the line WEBVTT, then contains cues that look similar to SRT and may include an optional identifier, cue settings and inline markup. The format also supports comments, regions and CSS-based styling when the player implements them.
Neither format contains video or audio. They are timed text files that a player overlays on the media, which is why a subtitle can be edited or replaced without touching the video file.
Syntax side by side
The most visible difference is the timestamp. An SRT cue reads 00:00:01,000 --> 00:00:04,000, using a comma before the milliseconds and two colons in the hour zone. A VTT cue uses a period before the milliseconds, as in 00:00:01.000 --> 00:00:04.000, and the hours section can be omitted when it is zero, though writing the full time is clearer for long videos.
A VTT file must start with WEBVTT on its own line, optionally followed by a header block. SRT has no header at all. VTT cue identifiers are optional and ignored by the player unless scripts use them; SRT numbers are traditionally sequential but most players tolerate gaps and duplicates. In VTT, the marker NOTE introduces a comment that is not shown on screen; SRT has no equivalent standard comment syntax.
Both formats separate cues with a blank line and use a line break inside the cue for a two-line subtitle. A missing blank line is a common reason a file plays as one giant cue, and it is the first thing to inspect when a file that looked correct in a text editor fails in a player.
Timing, cue settings and placement
SRT defines only start time, end time and text. It has no standard way to say that a cue should sit at the top of the screen, be centered in a specific band or avoid overlapping another cue, so placement is controlled by the player or the viewer. Any positioning support in an SRT file relies on nonstandard tags that many players ignore.
VTT adds cue settings after the timestamp, such as line, position, size, align and vertical. They let a caption sit near the bottom of the frame, align left, or shift for a speaker label. Support still varies: a web player with a full WebVTT implementation honors the settings, while a desktop player that treats VTT as a simple subtitle file may ignore them. Never assume a setting will survive a round trip through another tool.
Timing precision is nominally milliseconds in both formats, but actual display timing depends on the player, the frame rate and how the overlay is synchronized. Very short cues can flash on screen, and overlapping cues can stack or replace one another depending on the renderer, so proofread the result in the target player rather than judging only from the file.
Styling and inline markup
SRT files commonly contain simple tags such as b, i and u, and some players also accept font tags with color and face attributes. This markup is not part of a strict SRT specification, so support is inconsistent: a tag that shows bold in one player may appear as literal text in another. Keep SRT styling minimal if the file has to be portable.
WebVTT has a defined set of inline tags, including b, i, u, class spans for CSS targeting, and voice spans that can identify a speaker. The classes only become visible styling when the page or player applies CSS, typically through the ::cue pseudo-element in a browser. Styling is therefore powerful on the web and unreliable elsewhere.
Conversion usually does not preserve styling. Converting SRT to VTT may keep simple bold and italic tags, but custom font tags and player-specific markup are likely to be dropped or turned into plain text. If the look matters, plan to restyle the cues after conversion in the target environment rather than assuming the file carries the design across.
Compatibility: where each format works
SRT is the safer choice for local playback, desktop editors and hardware players. It has been around for a long time, almost every subtitle-aware application accepts it, and it can be opened and repaired with a plain text editor because the structure is so simple. That simplicity is also its ceiling: no standard settings, no comments and no reliable styling.
WebVTT is the natural format for HTML5 video and web players that use a track element. It is also a common input for streaming and captioning workflows that were built around web delivery. Some platforms accept both formats and convert internally, while others accept only one, so check the destination's documentation before exporting.
The practical decision is not which format is newer but which files the destination will actually parse. Converting a VTT file to SRT for a device that ignores VTT is a reasonable step; converting SRT to VTT for a browser player is equally reasonable. Keep a copy of the original, because round-trip conversions can lose cue settings, comments and styling that the intermediate format cannot represent.
Encoding, line breaks and text rules
Use UTF-8 for subtitle files unless the destination explicitly requires something else. UTF-8 covers accented letters, non-Latin scripts and symbols without the character corruption that older Windows code pages produce. Some players choke on a byte-order mark, so saving without one is the safer default for web delivery, even though many modern tools tolerate it.
Line endings can be CRLF or LF in practice. Windows tools may write CRLF, web editors may write LF, and most players accept either, but a file that mixes the two is worth normalizing if a converter complains. A blank line still separates cues, so preserve the structure when running a general text cleanup.
VTT has stricter escaping rules for text: a literal ampersand or angle bracket in the cue text can break parsing, so write it as an entity such as & or < where needed. SRT is more forgiving. Keeping cue text to a couple of readable lines, with a sensible reading speed, matters more than any encoding detail for viewers.
Editing and converting without breaking cues
Open the file in a subtitle editor that understands the format rather than editing timestamps by hand in a text editor. Fix the text, adjust cue times and use the tool's shift or retime controls when the whole track is offset. The Subtitle Editor in this collection can open SRT or VTT, change cue times and text, add or delete cues, shift every cue by a number of milliseconds, and export back to SRT or VTT without uploading the file.
Converting from SRT to VTT is not a rename. The VTT file needs the WEBVTT header and the timestamp separator changed from a comma to a period. The SRT to VTT tool validates cue timings while it converts and writes the header and revised timestamps; using it avoids the class of errors that a manual rename creates. After any conversion, open the result in the destination player and check the first, last and a few middle cues.
Finally, separate captions from subtitles before choosing a format. Subtitles translate dialogue for viewers who can hear the audio; captions also describe meaningful sounds, speaker changes and other audio information for viewers who cannot. VTT's styling and positioning can help with caption presentation, but the format choice does not create missing caption content, and conversion alone does not turn subtitles into captions.
- Open the file in an editor that preserves cue structure.
- Fix text and timing before converting, not after.
- Convert with a tool that rewrites the VTT header and timestamps.
- Check the first, last and middle cues in the target player.

