SRT ⇄ VTT subtitle converter

Paste subtitle text or choose a file, then pick the output format. Check the conversion report before you download the new file. Subtitles are processed in your browser and are not uploaded.

SRT ⇄ VTT subtitle converter runs entirely in your browser: your files are never uploaded to a server. It is free and needs no sign-up.

How to use it

  1. Add your subtitles Drop a .srt or .vtt file into the box, or paste the subtitle text. Files up to 5 MB are accepted. An SRT becomes a VTT, and a VTT becomes an SRT.
  2. Pick the encoding if asked If the file is not valid UTF-8 and has no byte order mark, the page shows the first lines in each encoding. Choose the one that reads correctly. The output is always UTF-8.
  3. Read the report and download The report lists what changed, such as removed tags, renumbered cues and dropped blocks. Only i, b and u tags are kept. Download the converted file when you are done.

Questions

Why do my subtitles show garbled characters?

The file was probably saved in an older encoding. Big5 suits Traditional Chinese, GB18030 suits Simplified Chinese, Shift_JIS suits Japanese, and EUC-KR suits Korean. Windows-1252 suits accented Western text such as é or ü. Compare the preview lines and pick the encoding that reads correctly.

How do I add a VTT file to an HTML5 video?

Put a track element inside the video tag, for example: <video controls><source src="movie.mp4" type="video/mp4"><track kind="subtitles" src="captions.vtt" srclang="en" label="English" default></video>. The track element reads VTT, not SRT, so convert first. A track file on another domain needs CORS headers.

What does the conversion report mean?

Each line names the line number in your source file. Cues renumbered from 1 means the original numbers were out of order. Overlapping cues are reported. A time below 0 is set to 0. Tags other than i, b and u are removed and listed.