Subtitle Time Shifter

Shift SRT or WebVTT subtitles by an exact millisecond offset, optionally for a cue range. Review dropped cues, overlaps and timestamps before downloading a local text file.

SRT or WebVTT timing

Runs in your browser

Auto-detects WEBVTT header or strict indexed SRT. Offset uses at most three decimal places, within +/-86,400 seconds. Cue range uses position in the input, not an SRT index or VTT identifier. Supports 5,000 cues. Dropping removes the whole cue, including a partially negative one; nothing is clamped.

VTT metadata and settings are preserved; inline timestamp tags are shifted. SRT positioning suffixes and VTT HLS timestamp maps are rejected. No audio alignment or video playback is performed. Check the exported file in your player.

Enter your own values to calculate.

Your result appears here

Enter values and calculate. Changing an input clears the previous result.

Inputs stay in this page. Normal assets and visit-statistics requests still occur. Downloads contain the values you entered.

How this calculator works

Shift subtitle text timing, not audio or video

Paste an indexed SRT file or a WebVTT document beginning with WEBVTT. You can also read a local UTF-8 file; no file is uploaded. Positive offset seconds move cues later; negative seconds move them earlier. Offsets use exact integer milliseconds: 1.250 adds 1,250 ms, and -0.375 subtracts 375 ms. The tool does not listen to audio, identify speech or determine the correct offset.

The example starts at 00:00:01,000 and ends at 00:00:03,000. Adding 1.250 seconds produces 00:00:02,250 to 00:00:04,250 without changing cue duration. Choose an inclusive cue range to shift only part of the file. Range numbers refer to positions in the input, not the printed SRT indices or WebVTT identifiers. Retained SRT indices are rebuilt sequentially.

By default, a negative shifted start stops the operation. Alternatively, explicitly drop the entire cue whose start would be negative, including a cue whose end remains positive. Times are never silently clamped. If all cues are dropped, the report says none remain. Existing or newly introduced overlaps and decreasing start times are counted, not repaired or reordered.

WebVTT cue identifiers, timing settings and metadata blocks are retained. Supported inline timestamp tags move with their containing cue and must be strictly increasing inside the original cue interval. NOTE blocks stay unchanged; STYLE and REGION blocks must precede cues. Settings and other markup are preserved as text, not fully validated or rendered. HLS X-TIMESTAMP-MAP headers and SRT positioning suffixes are rejected rather than guessed.

SRT requires numeric indices, full hour:minute:second,millisecond timestamps, and nonempty text in each cue. WebVTT accepts minute:second.millisecond or hour:minute:second.millisecond. Seconds and timestamp minutes are below 60. Hours use two or three digits, with output capped at 999:59:59.999. Output normalizes line endings to LF and downloads as UTF-8 without BOM; it is a text transformation, not byte-for-byte preservation. Test the result in your player.

Subtitle timing FAQ

Does this fix timing drift or align captions with speech?

No. A constant offset does not stretch time or fix frame-rate drift. A selected range receives the same offset on its start, end and supported inline timestamps. No audio, video, translation or speech-recognition engine is used.

What happens before zero?

Reject stops and identifies the problematic input cue. Drop removes the entire negative-start cue, including partially negative cues. Other cues remain. No timing is shortened by clamping. The complete CSV/JSON report includes dropped cues and their calculated negative times.

Can overlapping cues be legitimate?

Yes. Overlaps can be intentional. The report counts each retained cue starting before the maximum end of an earlier retained cue, and separately counts decreasing starts. Input order is preserved. Range edits can create overlaps at a boundary; review playback instead of treating the count as an automatic repair instruction.

Which subtitle features are unsupported?

ASS/SSA, TTML, frame-based times, SRT positioning suffixes, HLS timestamp mapping, non-UTF-8 file decoding and automatic format conversion are unsupported. VTT settings, styles and ordinary markup are not fully validated. Malformed timing, missing payloads and invalid supported inline timestamp order are rejected.

What limits, exports and privacy apply?

Use at most 1,000,000 UTF-16 code units, 5,000 cues and a local file up to 2,000,000 bytes. Offset is within -86,400 to +86,400 seconds with up to three decimal places. Output download retains SRT/VTT format; CSV reports all cue times and actions, and JSON includes the complete output. Copy copies subtitle text, not the report. Inputs stay local and are not saved; normal asset and visit-statistics requests still occur.