SRT to VTT Converter

Convert SRT subtitles to WebVTT for HTML5 video

Convert SubRip (.srt) subtitles to WebVTT (.vtt) - the format HTML5 video players and most web platforms need - with an optional time shift to fix subtitles that appear too early or too late.
Try an example:

Output will appear here...

About SRT to VTT Converter

How it works

  1. Each SRT block (number, timing line, text) is read and checked.
  2. WebVTT needs a "WEBVTT" header and uses a full stop instead of a comma in timestamps (00:00:01.000), so those are converted.
  3. The optional shift moves every cue by the same number of milliseconds, to sync subtitles with the video.
  4. Basic formatting tags like <i> and <b> work in both formats and are kept.

What you need

  • The contents of an .srt file (open it in a text editor and paste it here).

Tips

  • Subtitles appear too early? Use a positive shift, like 1500 for 1.5 seconds later.
  • Save the result with a .vtt extension and add it with <track src="subtitles.vtt" kind="subtitles" srclang="en"> in HTML.

Limitations

  • Positioning and styling beyond basic tags are not converted.

Runs in your browser. Your text never leaves your browser.

Frequently asked questions

What is the difference between SRT and VTT?+

Both are timed text formats. WebVTT (.vtt) is the web standard for HTML5 video and supports extra styling and positioning; SRT is older and widely used by desktop players and editors. Their timestamps differ only in using "." versus ",".

How do I fix subtitles that are out of sync?+

Enter a shift in milliseconds: positive to make them appear later, negative to make them appear earlier. 1000 ms = 1 second.