Skip to content
HandyKit

How to Fix Subtitles That Are Out of Sync

· 3 min read

Subtitles that appear too early or too late usually mean the subtitle file was timed for a slightly different version of the video. The fix takes a few minutes once you know which kind of mismatch you have.

The Subtitle Shifter changes the timing in an SRT or VTT file and saves a corrected copy. This guide explains how to tell the problems apart, measure how far out the subtitles are, and apply the right fix.

Work out which problem you have

Check one line near the start of the video and one near the end. Compare when you hear each line with when it appears.

What you seeProblemFix
Both lines are off by the same amountConstant offsetShift everything
The gap grows through the videoDriftFix drift, or change frame rate

Do this check first. Shifting everything can't cure drift: it only moves the problem from one end of the film to the other.

What an SRT file contains

An SRT file is plain text. Each subtitle has a number, a time line, the text and a blank line:

1
00:01:02,500 --> 00:01:05,000
Where are you going?

2
00:01:05,800 --> 00:01:08,200
Home. It's late.

Times are hours:minutes:seconds,milliseconds, so the first line appears at 1 minute 2.5 seconds. WebVTT (.vtt) files are almost the same, but start with a WEBVTT line and use a dot before the milliseconds: 00:01:02.500.

Measure the offset

In VLC, the G and H keys move subtitles earlier or later by 50 milliseconds while you watch. Press them until the text matches the speech, and note the delay. VLC only changes that playback, so make the change permanent in the file with the Shifter.

Without VLC, note the time a line is heard and the time it appears. The difference is your offset.

Fix a constant offset

Choose Shift everything and type the amount in seconds, for example 2.5 to make every subtitle later or -1.2 to make every subtitle earlier.

Subtitles moved before the start of the video are removed, so check the first few lines after a large negative shift.

Fix drift

Drift means the subtitles are close at the start and further out as the video goes on. There are two ways to correct it.

Fix drift with two points

Choose Fix drift (two points). Enter when the first subtitle and the last subtitle should appear. The tool stretches every time in between to match.

Change the frame rate

Drift often comes from subtitles made for a 25 frames-per-second (PAL) release used with a 23.976 fps release, or the other way round. The difference is about 4.3%, so by the end of a two-hour film the subtitles are about five minutes out.

Choose Change frame rate and pick the rate the subtitles were made for and the rate your video runs at, for example 25 and 23.976.

Fix garbled characters

Letters shown as é or as question marks mean the file was read with the wrong character set. Pick another option in the Character set list and the file is read again. The result is always saved as UTF-8.

More the Shifter can do

  • Convert SRT to VTT and back.
  • Remove formatting tags, and hearing-impaired notes such as [door slams].
  • Work with any language that uses Unicode, including Sinhala, Arabic and Chinese.

It opens SRT and VTT files only, not ASS/SSA or SUB/IDX. It runs in your browser, so the file is not uploaded.

If you need the subtitles in another language, the Subtitle Translator keeps the timing and translates the text.

Try it

Open your file in the Subtitle Shifter, choose the fix that matches your problem, and check a line near the start and the end again.

Tools in this guide

  • Subtitle Shifter

    Fix subtitles that are out of sync with your video, convert between SRT and WebVTT, and strip tags or hearing-impaired notes. Works with Sinhala, Arabic, Chinese and every other script.

  • Subtitle Translator

    Translate a whole subtitle file into another language and download it with the same timing. Works for Sinhala, Tamil, Hindi and 40 more languages. Free, no sign-up.

  • · 3 min read

    How to Find and Replace Many Words at Once

    Replace a whole list of words in one go: write find => replace pairs or paste them from a spreadsheet, swap words safely, and check every change afterwards.