Styling Inside SRT and WebVTT: Bold, Italics, Colour and Position
What formatting subtitle files can carry, what platforms strip, and why styled captions usually mean burning them in. Facts from YouTube and the WebVTT spec.
Try it now: AI Subtitle Generator — timed subtitles from speech in 20 languages, processed in your browser.
Can a subtitle file be bold, coloured or placed somewhere other than the bottom? Sometimes. It depends on the format and, more importantly, on the player.
What SRT can carry
SRT has no specification, so formatting is by convention. Many players understand simple tags inside the caption text:
1 00:00:01,000 --> 00:00:03,000 This is <b>bold</b>, <i>italic</i> and <u>underlined</u>.
Some also accept <font color="#ffcc00">...</font>. But support varies, and YouTube's help page describes SRT as basic, with no style markup. If the platform strips tags, your readers may see the tags as literal text or just the plain words. Treat SRT as plain text with timings.
What WebVTT can carry
WebVTT has a real specification, with more tools:
Cue text tags
<b>,<i>,<u>: bold, italic, underline<c>: a class span for styling, e.g.<c.yellow>word</c><v Name>: a voice (speaker) span; the speaker name is required<lang en>: language span (a valid BCP 47 tag)<ruby>with<rt>: ruby annotations- Inline timestamps like
<00:00.500>for word timing
Cue settings (after the times, on the same line)
position,line,align,size,vertical,region
WEBVTT
STYLE
::cue(.yellow) { color: yellow }
00:00:01.000 --> 00:00:04.000 line:20% align:center
<v Host>Welcome to <c.yellow>the show</c>.STYLE blocks hold CSS for cues, but, again, only where the player applies them. Browsers show these when the video is an HTML <video> element with a <track>; see the HTML track element guide.
What platforms do with it
YouTube's help page lists WebVTT as an advanced format that supports positioning, with styling limited to bold, italic and underline. That means class-based colours or fonts in a VTT will not survive an upload to YouTube. The rest of the platform picture is in the format table.
Practical conclusions
| You want | Do this |
|---|---|
| Plain readable subtitles everywhere | Plain text in SRT |
| Bold or italic for emphasis | Use sparingly; test in the destination player |
| Speaker labels | Plain text prefix (e.g. "HOST:") or <v> in VTT on the web |
| Colours, fonts, animation | Burn the captions into the video |
| Custom position on web video | WebVTT cue settings with your own page |
The reliable route for styled captions
If appearance matters (brand colours, highlighted words, animation), do not rely on tags: style the captions in an editor and export a video with them drawn in. In the subtitle generator the styles and animations exist only in the Export video MP4; the SRT and VTT files carry text and timing only. Editing and exporting need a free Google sign-in. See SRT vs VTT for the format comparison and soft vs burned-in for the decision.
Last updated