Txtloom

Subtitle shifter fix SRT, VTT or ASS subtitles that are out of sync

Move every subtitle earlier or later, or fix a gap that grows through the video by syncing two points or changing the frame rate. Only the times change: the text, numbering and styling of your file stay as they are.

Subtitles

SRT, VTT, ASS, SSA, SBV or LRC

Retimed

Waiting for input

    Retimed in this browser tab; files are not uploaded.

    How do I fix subtitles that are out of sync?

    First find out which problem you have. If the subtitles are early or late by the same amount from start to finish, move the whole file by that amount. If the gap grows the longer the video runs, the file was timed for a version of the video that plays at another speed, and every time has to be multiplied as well as moved. This page does both, and the file keeps its format.

    1. Paste the subtitles, or open or drop up to 100 files in SRT, VTT, ASS, SSA, SBV or LRC.
    2. Play the video near the start and near the end, and note how early or late a subtitle appears each time.
    3. Same gap both times: choose “move all subtitles” and enter it. A growing gap: choose “sync at two points” and enter where two subtitles are and where they should be, or “change frame rate” if you know both rates.
    4. Read the first and last times in the check under the result, then download the file.

    Example: before and after

    Subtitles input
    1
    00:00:01,000 --> 00:00:03,500
    Welcome back to Field Notes,
    the show about small projects.
    
    2
    00:00:03,500 --> 00:00:07,900
    <i>Today</i> I’m talking with Maya & friends.
    
    3
    00:00:08,200 --> 00:00:10,000
    {\an8}<font color="#ffff00">[Birdsong]</font>
    Retimed output
    1
    00:00:03,500 --> 00:00:06,000
    Welcome back to Field Notes,
    the show about small projects.
    
    2
    00:00:06,000 --> 00:00:10,400
    <i>Today</i> I’m talking with Maya & friends.
    
    3
    00:00:10,700 --> 00:00:12,500
    {\an8}<font color="#ffff00">[Birdsong]</font>

    Shown 2.5 seconds later: 00:00:01,000 becomes 00:00:03,500. The numbers, the <i> and <font> tags and the {\an8} code are exactly as they were.

    How far frame-rate drift runs in an hour

    When a film is sped up or slowed down for another frame rate, subtitles timed for the old version slide steadily. The gap after 60 minutes of video is 3600 s × (new rate ÷ old rate − 1), and the fix is to multiply every time by old rate ÷ new rate. For eight common pairs:

    Timed forPlayedGap after 60 minutesMultiply every time by
    23.976 fps subtitleson 25 fps video153.8 s late× 0.959041
    25 fps subtitleson 23.976 fps video147.5 s early× 1.042708
    24 fps subtitleson 25 fps video150.0 s late× 0.960000
    25 fps subtitleson 24 fps video144.0 s early× 1.041667
    23.976 fps subtitleson 24 fps video3.6 s late× 0.999001
    24 fps subtitleson 23.976 fps video3.6 s early× 1.001000
    29.97 fps subtitleson 30 fps video3.6 s late× 0.999001
    30 fps subtitleson 29.97 fps video3.6 s early× 1.001000

    23.976 and 29.97 are 24000 ÷ 1001 and 30000 ÷ 1001. If the gap you measure matches a row, choose those two rates; if it matches none, use “sync at two points”, which works for any constant speed difference.

    What changes in each format

    In the fileResultDetails
    SRT timing linesRetimedWritten as 00:00:01,000 with a comma.
    WebVTT timing linesRetimedCue settings after the times, cue identifiers, NOTE and STYLE blocks stay. A time written without hours keeps that short form.
    WebVTT word timestamps such as <00:00:01.200>RetimedSo karaoke-style cues stay in step with their own cue.
    ASS and SSA Dialogue and Comment linesRetimedStart and End are found from the Format line and written in hundredths of a second. Styles, layers, effects and override tags stay, and an SSA script comes back as .ssa.
    SBV timing linesRetimedWritten as 0:00:01.000,0:00:03.500.
    LRC time tags and <mm:ss.xx> word tagsRetimedID tags such as [ti:] and an [offset:] tag are left alone, so an existing offset still applies on top.
    A transcript with [00:01:05] in front of every lineRetimedRead as hours:minutes:seconds, the shape SRT to TXT writes, and written back in whole seconds.
    A time that would fall before 0:00Set to 0The check says how many subtitles were cut that way.
    TTML and DFXPNot retimedConvert the file to SRT first with the subtitle converter.

    Lines without a time are copied as they are. Line endings are written as plain line feeds.

    Common problems and fixes

    Which way to move them
    If you hear the words before the subtitle appears, the subtitles are late: show them earlier. If the subtitle appears before the words, show them later.
    Which two subtitles to pick for a sync
    One near the start and one near the end. The further apart the two points, the smaller the effect of a measuring error.
    The gap jumps at one point and then stays
    The subtitles belong to a different cut, with a scene or an advert break added or removed. One change for the whole file cannot fix that: the lines after the jump need their own shift, which this page does not do in one pass. Split the file at the jump in a text editor, shift the second part, and paste the two parts together.
    You only need it for one viewing
    The player can do it without changing the file. In VLC, press g or h to move the subtitles in 50 ms steps while you watch.
    Some subtitles now start at 0:00
    Showing subtitles earlier pushed their times below zero, and a time cannot be negative. The check counts them. If the count is more than one or two, the shift is probably larger than it should be.
    “Sync at two points” reports an error
    It needs four times, the two “is at” times at least a second apart, and a result that changes the speed by less than double or half. Times can be typed as 1:23, 0:01:23.5 or plain seconds such as 83.5.

    Where to use the result

    • Check the result. Open the video with the new file and look at one line near the start and one near the end before you publish or share it.
    • YouTube. Upload the retimed .srt, .sbv or .vtt under Subtitles with “Upload file”, then “With timing”.
    • Another format. The shifter keeps the format you gave it. To change it afterwards, open the result in the subtitle converter.

    Questions

    Which formats does it retime?

    SRT, WebVTT, ASS and SSA, SBV and LRC. The file comes back in the same format with only the times changed. TTML is not retimed; convert it to SRT first.

    Is an .ssa file kept as SSA?

    Yes. An SSA v4 script comes back as .ssa and an ASS script as .ass; in both, only the Start and End fields of the Dialogue and Comment lines change.

    How does “sync at two points” work?

    You give two subtitles, each with the time it has in the file and the time it should have. The tool draws the straight line through both points and applies it to every time: new time = old time × scale + offset.

    What if I know the frame rates?

    Choose “change frame rate” and pick the rate the subtitles were timed for and the rate of the video you have. Every time is multiplied by the first rate divided by the second; for 23.976 to 25 fps that is 0.959041.

    What if I type a negative number?

    It reverses the direction: “later by −3” is the same as “earlier by 3”.

    Can I shift several files at once?

    Yes. Open or drop up to 100 files; the same change is applied to each, and they download one by one or as a ZIP with “-retimed” added to each name.

    Sources