Home/Tools/Subtitle time shifter

Subtitle time shifter

When subtitles run a few seconds early or late, add the same offset to every timecode in the file. Handled in the browser, written back in the original format, never uploaded.

File and offset

UTF-8, GBK and files with a BOM are all read; the output keeps the original format.
A positive number pushes subtitles later, a negative one earlier. If subtitles appear after the sound, use a negative offset.

No file selected yet.

Result

Format
—
Cues
—
Range after shifting
—
Offset
—
Notes
—

Preview

The first 60 lines of the shifted file. Use Download for the whole thing.

How it is calculated

Every cue's start and end get the same offset and nothing else changes: the order stays, overlaps stay overlaps, and ASS styling is left exactly as it was.

Anything shifted before zero is dealt with: a start that would go negative is clamped to 0, and a cue that would sit entirely before 0 is removed. The result column says how many were clamped and how many were removed, so nothing disappears silently.

Timecode precision follows the original file: milliseconds for SRT and VTT, centiseconds (10 ms) for ASS.

FAQ

Why did some subtitles disappear?

A negative offset larger than a cue's end pushes that cue entirely before zero, so it can only be removed. The result column counts them; if too many go, the sign or the size of the offset is wrong.

Is this the same as changing the frame rate?

No. This adds a constant to every timecode, which suits a fixed few-second drift. A speed difference such as 23.976 against 25 grows over time and needs a frame-rate ratio instead; use frame-rate retiming for that.

Does ASS keep its styling after shifting?

Yes. The file is written back in its original format with only the timecodes changed; the style block, positioning and effects are untouched.

Is the file uploaded?

No. Reading and shifting happen in the browser and the page makes no upload request.

Related