Video & Audio Tools

SRT to VTT Converter

Use your SRT subtitles in HTML5 video. Web browsers only understand WebVTT in the track element, so SRT files must be converted first. The converter adds the WEBVTT header, changes the timestamp format, converts SRT-only formatting such as font tags and {\an8} top positioning into their WebVTT equivalents, and can keep the cue numbers as identifiers.

  • Runs in your browser
  • No sign-up
  • Free to use

How to use SRT to VTT

  1. Paste SRT subtitles or open an .srt file.
  2. Choose whether to keep cue numbers and a default position.
  3. Click Convert to VTT.
  4. Copy or download the .vtt file.

SRT to VTT features

Correct WebVTT

Header, dot milliseconds, valid cues.

Tag conversion

Font and position codes translated or removed.

Top position

{\an8} becomes line:10%.

Cue IDs

Optionally keep the SRT numbers.

Lenient input

Fixes common SRT mistakes on the way.

Private

Runs in your browser; nothing is uploaded.

When to use SRT to VTT

  • Adding subtitles to video on your own website.
  • Preparing captions for HTML5 players such as Video.js or Plyr.
  • Converting downloaded subtitles for web courses.
  • Publishing accessible video with captions.

SRT to VTT FAQ

Why do browsers need VTT?

The HTML track element supports only WebVTT. An SRT file linked there is ignored.

How do I use the VTT file?

Add <track src="subtitles.vtt" kind="subtitles" srclang="en" label="English"> inside the video element, and serve the file with the content type text/vtt.

What happens to bold and italic?

They are kept: <b>, <i> and <u> work in WebVTT too. Font colour tags are removed, because WebVTT styles colours with CSS.

Are positions kept?

SRT top positioning ({\an8}) becomes line:10%. Other positions can be set with the default position option.

Is my file uploaded?

No. Everything happens in your browser.

SRT and WebVTT

SubRip (SRT) is the most common subtitle format: simple, readable and supported by almost every media player. WebVTT, the Web Video Text Tracks format, was designed for the web and is the only format browsers accept in the HTML track element. It adds a header, cue settings for position and alignment, styling through CSS and metadata blocks.

The core of both formats is the same – a timing line followed by text – so converting is mostly about the details. SRT writes milliseconds after a comma (00:00:01,000), WebVTT after a dot. WebVTT files must start with the line WEBVTT. Cue numbers are required in SRT but optional identifiers in WebVTT.

Formatting needs translation. SRT files often contain font tags and positioning codes borrowed from the ASS format, such as {\an8} for top placement. WebVTT has no font tag and positions cues with settings like line:10%. The converter maps top positioning to an equivalent setting and removes tags that would show up as visible text in a browser.

Because the parser is tolerant, common SRT mistakes – missing numbers, a dot instead of a comma – are corrected during conversion, and the result is a clean, standard WebVTT file.

Your subtitles are converted locally.

Other useful tools