Subtitle Converter (SRT ↔ VTT)

Convert SRT and VTT subtitles and shift their timing

Runs in your browser

Your file is read in your browser and never uploaded.

Convert to

Positive = show later, negative = show earlier.

What are SRT and VTT subtitles?

SRT (SubRip) and WebVTT are plain-text subtitle formats. Each cue has a start time, an end time and one or more lines of text. They look almost the same: SRT numbers every cue and writes milliseconds after a comma (00:00:01,000), while WebVTT starts with the line WEBVTT, uses a dot (00:00:01.000) and can carry cue settings such as position. HTML5 video players and YouTube read VTT; most desktop players and editors read SRT. This tool parses either format in your browser, moves every cue by the offset you choose, and writes SRT, VTT or the bare text.

Use cases

  • Turn an SRT file into WebVTT for an HTML5 video track element or a web player
  • Turn a VTT file from YouTube or an online course into SRT for VLC, Premiere or CapCut
  • Fix subtitles that appear too early or too late by shifting all cues at once
  • Get the plain transcript text out of a subtitle file, without numbers or timestamps

When to use?

Use it whenever a player or editor rejects your subtitle file, or when the text is out of sync with the video by the same amount from start to end. If the delay grows during the video, the file was made for a different frame rate and a fixed shift will not fix it. Cue text, line breaks and simple tags such as italics are kept; VTT-only notes and styles are dropped when you convert to SRT.

Examples

  1. Convert SRT to WebVTT

    Input

    1 00:00:01,000 --> 00:00:03,500 Hello, <i>world</i>! 2 00:00:04,000 --> 00:00:06,250 See you soon.

    Output

    WEBVTT 00:00:01.000 --> 00:00:03.500 Hello, <i>world</i>! 00:00:04.000 --> 00:00:06.250 See you soon.

  2. Convert WebVTT to SRT

    Input

    WEBVTT 00:01:02.500 --> 00:01:05.000 align:start The video starts in a moment.

    Output

    1 00:01:02,500 --> 00:01:05,000 The video starts in a moment.

  3. Show subtitles 2 seconds later

    Input

    1 00:00:01,000 --> 00:00:03,500 Hello, <i>world</i>!

    Output

    1 00:00:03,000 --> 00:00:05,500 Hello, <i>world</i>!

Questions and answers

What is the difference between SRT and VTT?

The timing and text are the same. SRT numbers each cue and uses a comma before the milliseconds. VTT begins with WEBVTT, uses a dot, and can add positioning and styling. Browsers only accept VTT in a video track element.

My subtitles are 2 seconds late. What do I enter?

Enter -2 to show every line 2 seconds earlier, or 2 if they appear too early. Cues that would end before 00:00:00 are removed.

The subtitles drift further out of sync over time. Can this fix it?

No. A shift moves all cues by the same amount. Growing drift means the file was timed for another frame rate, for example 25 fps instead of 23.976, and needs a speed change instead.

Are my subtitle files uploaded?

No. The file is read and converted with JavaScript in your browser, so it works offline once the page has loaded.

Sources and standards

All Tools