SRT to WebVTT

Convert SRT to WebVTT for web video players

Turn .srt files into .vtt files for HTML5 players and course platforms. Commas become dots, the WEBVTT header is added, and text is escaped the way the format requires.

  • Works in your browser, nothing to install
  • $19 once for unlimited
  • Try 3 files per batch first

What carries over

  • Text and timing of every cue
  • Italic, bold and underline tags
  • Line breaks inside a cue
  • A valid WEBVTT header added
SRT to VTT converterFree: 3 files per batch

Drop subtitle files or a folder hereChoose subtitle files

SRT, WebVTT, ASS/SSA, MicroDVD, YouTube .sbv and TTML/DFXP (.ttml .dfxp .xml). Free: 3 files per batch; Unlimited: any number. On phones, choose several files instead of a folder.

Convert to
Options auto encoding, no offset, keep tags

Sample batch2 files

  • episode-01.srtReadySRT · UTF-8 · 4 cues → episode-01.vtt
  • episode-02.srtReadySRT · UTF-8 · 3 cues → episode-02.vtt
Or drop your own files above.
Output previewepisode-01.vtt
WEBVTT

00:00:01.200 --> 00:00:03.900
Previously, on the harbour project:

00:00:04.100 --> 00:00:06.800
<i>The tide charts were wrong</i>
<i>by almost an hour.</i>

00:00:06.500 --> 00:00:09.000
- Who signed off on them?
- Nobody did.

00:00:09.400 --> 00:00:12.200

Converted in this tab. Nothing is uploaded.

SRT to VTT

Converting SRT to VTT without surprises

HTML5 video, most course hosts and many players only accept WebVTT. An SRT file is nearly the same idea, with a different timestamp separator and no header, so a file that is "almost right" fails silently in the player. Captionry writes a valid WebVTT file for every SRT in the batch and escapes the characters the format reserves.

Built for deliveries

Convert the whole folder, not one file at a time

A delivery is a folder of mixed formats. Drop it as it is and save one zip with the same folder tree, with the warnings and options applied in one pass.

Drop this folder (example)

delivery/
  season-1/
    ep01.srt
    ep02.vtt
  season-2/
    ep01.ass
    ep02.sbv
  extras/
    trailer.ttml
    notes.pdf

Save this zip (output SRT, +2 s, tags stripped)

delivery-srt.zip
  season-1/
    ep01.srt
    ep02.srt
  season-2/
    ep01.srt
    ep02.srt
  extras/
    trailer.srt

Example folder. Files that are not subtitles, like notes.pdf, are skipped.

Mixed formats, nested folders

SRT, WebVTT, ASS/SSA, MicroDVD, SBV and TTML/DFXP in the same folder tree, each detected by its content.

One zip, same tree

Every converted file lands in the same subfolder it came from, ready to hand back.

Per-file warnings

Encoding guesses, skipped lines and dropped styling are listed under the file they belong to.

Offset and tag strip in the same pass

Shift timing and remove formatting tags for the whole batch while it converts.

How to

How to convert SRT to VTT

  1. Drop your .srt files

    Drop files or a whole folder onto the converter. Each file is checked and listed with its encoding and cue count.

  2. Keep WebVTT selected

    WebVTT is preselected on this page. Set a time offset or strip tags under Options if you need to.

  3. Save the result

    One file is saved as .vtt; several come as one zip with your folder structure kept.

Details

What changes in the conversion

  • A WEBVTT header is added and cue numbers are dropped; WebVTT does not need them.
  • Timestamps change from 00:01:02,500 to 00:01:02.500.
  • <i>, <b> and <u> are kept; <font> tags and {\an8}-style position codes are removed.
  • Characters WebVTT reserves (&, <, >) are escaped, so players show them as text.

Example

A real input and the file it produces

The cue numbers are dropped, the header is added and the comma in each timestamp becomes a dot. The output below was written by this converter.

Before: episode-01.srt

1
00:00:01,200 --> 00:00:03,900
<i>The tide charts were wrong</i>
by almost an hour.

2
00:00:04,100 --> 00:00:06,800
- Who signed off on them?
- Nobody did.

After: episode-01.vtt

WEBVTT

00:00:01.200 --> 00:00:03.900
<i>The tide charts were wrong</i>
by almost an hour.

00:00:04.100 --> 00:00:06.800
- Who signed off on them?
- Nobody did.

Troubleshooting

Common SRT to VTT problems

The player shows nothing

A .vtt file without the WEBVTT first line is rejected by browsers. Renaming .srt to .vtt does not work; the content has to change.

Commas left in the timestamps

WebVTT needs 00:01:02.500, not 00:01:02,500. The converter rewrites every timestamp.

Garbled accents

Browsers read VTT as UTF-8. If the SRT was Windows-1252 or another legacy encoding, the accents break unless the file is re-encoded. Captionry detects the encoding and always writes UTF-8; choose it under Options if detection guesses wrong.

FAQ

Questions

Can I shift the timing at the same time?

Yes. Enter an offset in milliseconds in the options; negative values move subtitles earlier. Cues that would end before 0:00 are left out and listed as a warning.

My SRT files show odd characters. What do I do?

Older SRT files are often Windows-1252 or another legacy encoding. Captionry detects UTF-8, UTF-16 and common legacy Chinese, Japanese, Korean, Cyrillic, Greek, Hebrew and Arabic encodings, and reads anything else as Windows-1252; if characters still look wrong (Central European files, for example), choose the encoding under Options. The VTT is always written as UTF-8.

Is the file valid for the HTML5 track element?

The output starts with the WEBVTT header, uses dot timestamps and escapes &, < and >, which is what a track element needs. Serve it with the text/vtt type and, across origins, the right CORS header.

What about SRT position codes?

Codes such as {\an8} are removed, so every cue appears at the player's default position.

Converting more than 3 files at a time?

Unlimited removes the batch limit for $19 once, with no subscription.

Unlock all files: $19 once