SRT and WebVTT Subtitle Converter

Convert SRT, WebVTT and ASS/SSA subtitles, check cue timing and line length, shift every cue by milliseconds, or stretch timing between two points without uploading the file.

FluffyShield Protected workspace
FluffyShield

Isolated workspace: other page scripts can't read your files. How FluffyShield works

Free · No upload · No sign-up · No usage quotas

How do you turn an SRT subtitle file into WebVTT?

Paste your subtitles into FluffyBench's subtitle converter and pick the job: SRT to WebVTT or back, ASS/SSA to either, a check for timing problems, or a shift or stretch that fixes the timing. It all runs in your browser, so the file never leaves your device.

The job at a glance
  1. Choose an Operation
  2. Paste or open the subtitles in Input
  3. Read the Result
  4. Copy or download it

What it does

Stays in your browser

The subtitles are converted on your device and never uploaded.

Names the line

A timing line it can't read is refused, with its line or cue number.

Moves every cue

Shift adds or subtracts milliseconds from every cue at once.

Limits The converter works on timing and layout. It doesn't read the words or play the video, so it can't tell whether the subtitles match what is said.

What's the difference between SRT and WebVTT?

A subtitle file is a list of cues. Each cue is a start time, an end time and the words to show between them, a bit like a stopwatch reading written beside every line of a script. SRT and WebVTT hold the same list in two different layouts.

SRT numbers each cue and writes its times with a comma before the milliseconds. It has no formal specification, and what's described here is the layout most tools use. WebVTT is the W3C standard for subtitles on web video. It starts with a WEBVTT line and writes the same times with a dot.

Need to compare two subtitle versions line by line?

Doing it in FluffyBench's subtitle converter

Here's a three-cue SRT file turning into WebVTT, on a phone. On a wider screen, Input and Result sit side by side.

  1. The page opens set to turn SRT into WebVTT: Operation is what you want done.

  2. Paste the whole subtitle file into Input, timing lines included. The result updates as you type; on a phone, open Result to read the converted file.

  3. The result starts with WEBVTT, and the times now use a dot. Cue text is unchanged and the cues are numbered from 1; Copy or Download the complete result.

    The Result tab showing a WEBVTT header and the first cue, its time written with a dot before the milliseconds, under Copy and Download.
    The Result tab showing a WEBVTT header and the first cue, its time written with a dot before the milliseconds, under Copy and Download.

Operation comes first because it decides what happens to everything you paste. The first timing line, 00:00:01,000 --> 00:00:03,500, comes out as 00:00:01.000 --> 00:00:03.500, under a WEBVTT line. Cue text and order are untouched, and cues are numbered again from 1.

The result updates as you edit or change Operation, and times written with a dot are read like times with a comma. A file saved with Windows line endings and a byte order mark (225 bytes here) converts to exactly the same 218 bytes of WebVTT, because every result uses plain line feeds.

What the choices change

Operation offers SRT to WebVTT, WebVTT to SRT, Check subtitles and Shift subtitles.

Converting to SRT drops what SRT can't hold. A file with a note, a style block, a region and a cue setting gets Converted 2 cues. Dropped: cue settings, NOTE, STYLE, REGION. The status line shows that message on screen when a conversion drops something. Markup inside a cue stays as written, so a voice tag still reads <v Ana>Hello</v>.

Set Operation to Check subtitles and the Result lists the cues that break a limit.

A Result tab listing a line of 52 characters in cue 1 and 3 lines in cue 2.

Check report

The check converts nothing. It only reports. How we measured

A clean file reads No cue problems found. The check looks for three things. A line over 42 characters reads Cue 1, line 1: 52 characters (limit 42). A cue of more than 2 lines reads Cue 2: 3 lines (limit 2). And a cue that starts before the previous one ends reads Cue 2 overlaps cue 1 by 500 ms. The limits are this tool's own, not WebVTT rules.

Set Operation to Shift subtitles and a Shift (ms) box appears.

Shift (ms) at 1500 above a Result tab whose first cue now starts at 00:00:02,500.

Shifted 1500 ms later

A positive number moves cues later, and a negative one moves them earlier.

Shift takes a whole number of milliseconds, from -86,400,000 to 86,400,000, a full day either way. Adding 1,500 ms turns the first timing line into 00:00:02,500 --> 00:00:05,000, and every cue keeps its length and text. Shifting a WebVTT file keeps its WEBVTT header and its note, style and region blocks unchanged and in place, and changes only the cue timings: Shifted 2 cues by +1000 ms.

Subtitles that start on time but drift further out as the video plays need a stretch, not a shift. Choose Stretch timing (two points) and type where the first cue and the last cue should start, written like 00:01:02,500. Every time in between moves in proportion, so the cues stay in step with each other.

ASS and SSA files, common for fan subtitles, can come in too. ASS/SSA to SRT and ASS/SSA to WebVTT read the Dialogue lines, keep the words and their timing, carry italic, bold and underline over, and leave out styling such as fonts, colors and positions.

What to check before you use the result

Play the file against the video before you publish it. The converter checks that times are well formed and a file is laid out the way SRT or WebVTT expects. It doesn't know when anyone speaks, so a file can pass every check and still be late.

Check the first and last timing lines and the cue count. Try the file in the player it's for, because players differ in what they accept.

When the converter refuses

Once you click out of Input, a refusal appears under the editor and the Result stays empty. Line 2: expected a timing line like 00:00:01,000 --> 00:00:04,000. That's a timing line with a single arrow. Use -->.

Here's that refusal on the page, with the line number and a timing line to copy.

An SRT cue whose timing line uses a single arrow, with a red message below the editor naming line 2 and showing a correct timing line.

Error names line 2

Fix the line, and the result comes back.

Cue 1 ends before it starts. The end time is before the start time.

Line 1: expected a cue number. An SRT cue needs a number above its timing.

WebVTT lets a time leave out the hours. A time written as 00:01.000 --> 00:03.000 is read as 00:00:01,000 --> 00:00:03,000. Line 3: expected a timing line like 00:00:01.000 --> 00:00:04.000. That's a short time whose minutes are over 59.

No cues found. There's nothing to convert yet.

A shift can't be applied. A shift that would put a cue before zero stops with Cue 1 would move below 00:00:00,000. A shift that brings the first cue exactly to zero is allowed: subtracting 1,000 ms from the sample gives 00:00:00,000 --> 00:00:02,500. A number outside the range gets Shift must be a whole number of milliseconds from -86400000 to 86400000.

Where to go from here

Keep your original file. A WebVTT file turned into SRT can't get its notes, styles and cue settings back. For a file you've just received, run Check subtitles first, then convert or shift it. To see exactly what a shift or a conversion changed, paste the old and new files into FluffyBench's text diff.

Search FluffyBench