Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

Free tool · Audio and video

SRT time shift

To shift SRT subtitles, add the same number of seconds to every start and end time: a positive number makes them appear later, a negative number earlier. This tool does that in your browser for .srt and .vtt files, and also fixes subtitles that drift, by syncing two points or converting between frame rates.

  • Free
  • No sign-up
  • Runs in your browser

By Maaz Zindani · Updated

Or paste the subtitles below. The file is read on your device and never uploaded.

How should the timing change?

Leave 1 to move every cue. A higher number keeps the earlier cues where they are.

Shifted subtitles

3 cuesSRT file, every time plus 1.500 s

  • Last cue ends 00:00:11,300
CueStartedStarts now
100:00:01,00000:00:02,500
200:00:03,90000:00:05,400
300:00:07,10000:00:08,600
1 00:00:02,500 --> 00:00:04,700 Where were you last night? 2 00:00:05,400 --> 00:00:08,000 At the station. The last train was late. 3 00:00:08,600 --> 00:00:11,300 Again? That's the third time this week.

How to use the SRT Time Shifter

  1. Choose your subtitle file under Subtitle file, or paste its text into Subtitles.
  2. Pick Shift all by for a constant delay, Sync two points for subtitles that drift, or Frame rate for a 25 vs 23.976 fps mismatch.
  3. Type the seconds to move (use the −1 s to +1 s buttons to fine-tune), or the new times of the first and last cue, or the two frame rates.
  4. Check the Started / Starts now table, then press Download to save the fixed file.

How do I shift the timing of an SRT file?

Find out how far off the subtitles are, then move every cue by that amount. Play the video, pause on the first clear line of speech and note the player's time. Compare it with that line's start time in the file. If the line is spoken at 0:00:02.5 but the file says 00:00:01,000, the subtitles are early by 1.5 seconds, so type 1.5. If they come late, type a negative number.

With the three-line sample in the box, a shift of +1.5 s moves cue 1 from 00:00:01,000 to 00:00:02,500 and cue 3 from 00:00:07,100 to 00:00:08,600; each end time moves by the same amount, so every subtitle stays on screen exactly as long as before. A shift of −1.5 s would push cue 1 to before the start of the video, so its start is set to 00:00:00,000 while its end stays at 00:00:01,700. A cue that would end before 0:00 is dropped, and the result card counts both cases.

Use Start from cue number when only part of the file is off, for example after an ad break was cut from a recording. Cues before that number keep their times and the rest move. Then use the nudge buttons to adjust in tenths of a second until the words match the lips.

Why do subtitles drift further out of sync as the video plays?

A fixed shift only helps when the error is the same everywhere. If the subtitles are right at the start but a few seconds off near the end, the file was made for a slightly different speed of the same video, usually a different frame rate. The gap then grows steadily with time, and the fix is to stretch or squeeze every time, not to add a constant.

Sync two points does that. You give the time where the first cue should start and the time where the last cue should start; every other time is moved in proportion between them. For the sample, putting the first cue at 00:00:02,000 and the last at 00:00:14,200 gives the rule new = 00:00:02,000 + (old − 00:00:01,000) × 2.000000, so cue 2 moves from 00:00:03,900 to 00:00:07,800. For a real film, pick the first and last spoken lines and read their times from the player.

When you know the two frame rates, choose Frame rate. A subtitle file timed for 25 frames per second, played against a 23.976 fps video, runs fast by a factor of 25 ÷ 23.976, about 4.3%. The table shows how quickly that adds up: 230.6 s off by minute 90.

A cue timed for 25 fps, converted for a 23.976 fps video (computed by this tool)
Into the videoTime in the fileConverted timeDifference
1 min00:01:00,00000:01:02,5632.6 s
10 min00:10:00,00000:10:25,62625.6 s
30 min00:30:00,00000:31:16,87776.9 s
60 min01:00:00,00001:02:33,754153.8 s
90 min01:30:00,00001:33:50,631230.6 s
120 min02:00:00,00002:05:07,508307.5 s

What does an SRT file look like?

An SRT (SubRip) file is plain text. Each subtitle is a block: a number, a line with the start and end time joined by an arrow, one or more lines of text, and a blank line. The Library of Congress format description gives the time format as hours:minutes:seconds,milliseconds, for example 00:01:02,500 --> 00:01:05,000. WebVTT, the subtitle format used by web video players, looks almost the same but starts with a WEBVTT line and uses a full stop before the milliseconds.

This tool reads both and writes each file back in its own format. Cue numbers in an SRT are written fresh from 1, so a file with gaps or repeated numbers comes out clean. WebVTT cue settings, such as align:start, and the header line are kept. Blocks without a time line, such as WebVTT notes, are skipped and counted.

SRT files have no fixed character encoding, as the same format description notes, so older files often use Windows-1252 rather than UTF-8. The tool tries UTF-8 first and falls back to Windows-1252, so accents such as é and û read correctly, and it always saves the result as UTF-8.

Is my subtitle file uploaded anywhere?

No. The file is read and rewritten by your browser on your device; nothing is sent to a server, so there is no size limit beyond what a subtitle file normally is. The text of every subtitle is kept exactly as it was. Only the time lines change, plus the cue numbers in SRT files.

To check the result, load the downloaded file next to the video and test three moments: a line near the start, one in the middle and one near the end. If all three are early or late by the same amount, shift again by that amount. If the start is right but the end is off, the file needs Sync two points or a frame-rate change, not another fixed shift. Most players pick up a subtitle file that has exactly the same name as the video, apart from the extension, so rename the download to match.

If the video itself needs trimming before the subtitles can line up, the video file size calculator helps estimate the size of the new export, and the online stopwatch is a quick way to time a short gap by ear when the player shows no milliseconds.

Use it with

Questions

How do I fix subtitles that are out of sync?

Note how many seconds early or late a clear line is, then shift every cue by that amount. If the error grows during the video, use Sync two points or Frame rate instead of a fixed shift.

Do I use a positive or negative number to delay subtitles?

Positive. A positive number makes subtitles appear later: +1.5 moves 00:00:01,000 to 00:00:02,500. A negative number makes them appear earlier.

Why do my subtitles get more out of sync as the movie goes on?

The file was timed for a different frame rate or cut. 25 fps timing on a 23.976 fps video is 230.6 s off by minute 90. Convert the frame rate or sync the first and last lines.

How do I change the timing of an SRT file without software?

Load it here, type the shift and download the fixed file. It runs in the browser, so nothing needs installing and the file is not uploaded.

Can I shift only part of a subtitle file?

Yes. Set Start from cue number: cues before it keep their times and the rest move by your shift.

Does this work with VTT files?

Yes. WebVTT files are read and written back as WebVTT, with their header and cue settings kept.

The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.