SRT to VTT

Convert SRT subtitles to WebVTT for HTML video players in your browser. Timings and text are kept. Nothing is uploaded.

How it works

  1. 1Choose one or more subtitle files.
  2. 2Pick SRT or WebVTT as the output format.
  3. 3Download the converted files, one at a time or as a ZIP.

Other conversions

About this tool

WebVTT is the subtitle format used by the HTML video element. The cue timings are kept, the cue numbers are dropped, and the milliseconds use a dot instead of a comma.

Convert SRT, WebVTT, SBV or ASS/SSA subtitles to SRT or VTT while keeping cue text and timings. Subtitle formats store the same timed text in different ways. This tool reads the cue timings and text, then writes them in the format you choose. ASS and SSA styling such as fonts, colors and positions is removed.

Questions

How do I use SRT captions in an HTML video player?

Convert the SRT to WebVTT, which the HTML video track element accepts. The converter keeps cue times and text, writes a WEBVTT header and changes timestamp milliseconds from commas to dots. Hosting the captions alongside your video is a separate step.

Can I convert subtitles without changing their timing?

Yes. Format conversion keeps cue start and end times. Use Shift subtitles separately if the dialogue is early, late or drifts over time.

Are my subtitle files uploaded?

No. The file is read and converted by code running in your browser tab.

Are the timings changed?

No. Start and end times are read and written to the millisecond. Converting SRT to VTT and back gives the same timings.

What happens to styling in ASS or SSA files?

Font, color, position and animation tags are removed. Only the dialogue text is kept, with its line breaks.

Why does my file show no cues?

Each cue needs a timing line such as 00:00:01,000 --> 00:00:03,000. Check that the file is a subtitle file and not plain text.

docshift is a collection of free PDF, image, video, audio and data tools. File processing runs in your browser; files are never uploaded.

More Data and maps tools