Txtloom

Subtitle formats

SRT vs VTT: which subtitle file do you need?

Use SRT for video platforms and editing software, and WebVTT (.vtt) for subtitles on your own web page, because the HTML <track> element only accepts WebVTT. The subtitle text can be identical: exported from the same transcript, the two files differ in the WEBVTT header, the separator before the milliseconds, and the extras that only WebVTT can carry.

The same two subtitles, both ways

Both files below come from Txtloom’s example transcript: the SRT as it downloads by default, and the WebVTT written with a voice tag to show what the format can carry. (Txtloom’s own WebVTT download writes speaker names as plain text, like its SRT, when “Show speaker names in SRT and VTT” is on.)

1
00:00:00,000 --> 00:00:03,200
Welcome back to Field Notes,
the show about small projects that grow.

2
00:00:03,200 --> 00:00:07,900
Today I'm talking with Maya, who turned an
empty parking lot into a community garden.
SRT: counter, comma before milliseconds.
WEBVTT

00:00:00.000 --> 00:00:03.200
<v Host>Welcome back to Field Notes,
the show about small projects that grow.

00:00:03.200 --> 00:00:07.900
<v Host>Today I'm talking with Maya, who turned an
empty parking lot into a community garden.
WebVTT: WEBVTT header, period before milliseconds, speaker in a <v> tag.

Without speaker names, the full 8-line example is 917 bytes as SRT and 904 bytes as WebVTT. Size never decides between them.

What each format can carry

SRTWebVTT
StandardNone; a de facto format from the SubRip programW3C specification
First lineThe first counterWEBVTT, required
Timestamps00:00:03,200, hours always written00:03.200; hours only when needed
Cue numbersExpectedOptional identifiers
Text encodingNot defined (use UTF-8)Must be UTF-8
Bold, italic, underlinePlayer-dependent; YouTube ignores markup in SRT<b> <i> <u>, plus classes styled with CSS
Position on screenNo standard wayCue settings: line, position, align, size, vertical text
SpeakerOnly as plain text (“HOST: …”)<v Host> voice tag
CommentsNoNOTE blocks
Web page <track>Not acceptedThe required format
YouTube“Basic” format“Advanced” format; positioning supported, styling limited to bold, italic and underline

Which one to pick

The Txtloom Download panel: Text, Word, SRT subtitles, WebVTT subtitles and Chapters, each with a one-line description.
Txtloom builds both files from the same lines, so you can download SRT for one place and WebVTT for another without editing twice.

Converting SRT to VTT, VTT to SRT, or VTT to text

Renaming the file is not enough: the header and the millisecond separator differ. The quickest way is the SRT to VTT or VTT to SRT converter: paste or open the file and download the result. For plain text, use SRT to TXT, which also reads VTT. To fix words or times on the way, open the file in the editor with Open an SRT or VTT file and choose the other format under Download.

Going from WebVTT to SRT keeps the text and the times but drops what SRT cannot hold: NOTE, STYLE and REGION blocks and cue positions go, and class tags are removed. The converter turns voice tags into the speaker’s name followed by a colon; the editor’s importer removes them.

Questions

Does YouTube accept VTT files?

Yes. YouTube’s help page lists WebVTT (.vtt) among its advanced caption formats, next to SRT in the basic list.

Can I just rename .vtt to .srt?

No. A WebVTT file starts with WEBVTT and uses a period before the milliseconds, neither of which is SRT. Convert it instead.

Sources

  1. W3C: WebVTT, the Web Video Text Tracks Format (Candidate Recommendation Draft, 20 May 2026) — checked 29 Oct 2026
  2. MDN: the <track> element — checked 29 Oct 2026
  3. YouTube Help: Supported subtitle and closed caption files — checked 29 Oct 2026
  4. Library of Congress: SubRip Subtitle format (SRT) — checked 29 Oct 2026