Skip to content

Subtitle Timecode Shifter

Shift and scale local SRT/WebVTT timecodes, preserve cue text/settings, detect invalid timing and download a UTF-8 result without uploading files.

Paste plain SRT or WebVTT, or load a local UTF-8 file below.

Positive delays subtitles; negative advances them. At most three decimal places.

New time = old time × factor + shift. Factor 0.01–100, at most six decimal places.

Files stay in this browser. UTF-8 only; no external upload.

Preparing calculator controls…

Results

Enter your inputs and calculate to see the result.

Runs in your browser — nothing you enter is sent to a server.

How the Subtitle Timecode Shifter works

Cue starts must be nondecreasing and durations positive. Overlapping subtitle cues are preserved and reported. WebVTT identifiers, NOTE/STYLE/REGION blocks and recognized cue settings are retained; inline timestamps are transformed and checked to remain strictly inside their cue.

Shift and scale local SRT/WebVTT timecodes, preserve cue text/settings, detect invalid timing and download a UTF-8 result without uploading files.

Formula

New milliseconds = round-half-up(old milliseconds × positive scale) + shift milliseconds. Apply the same transform to cue endpoints and inline WebVTT timestamps.

UTF-8 file input up to 2 MB; pasted input up to two million characters and 10,000 cues. Negative shifted timecodes, collapsed durations, malformed timings and times beyond 999:59:59.999 are rejected rather than clamped. Segmented X-TIMESTAMP-MAP and SRT positioning extensions are unsupported. Payload markup and CSS are preserved as text, not rendered or fully validated; this is not a complete WebVTT conformance checker.

Examples

Delay a cue

00:00:01,000 --> 00:00:02,000 with scale 1 and shift +1.500 seconds becomes 00:00:02,500 --> 00:00:03,500.

Stretch timing

The same cue with scale 2 and shift 0 becomes 00:00:02,000 --> 00:00:04,000. A scale that collapses a cue to zero milliseconds is rejected.

Frequently asked questions

What does this calculation assume?

Cue starts must be nondecreasing and durations positive. Overlapping subtitle cues are preserved and reported. WebVTT identifiers, NOTE/STYLE/REGION blocks and recognized cue settings are retained; inline timestamps are transformed and checked to remain strictly inside their cue.

Which limitations matter for this tool?

UTF-8 file input up to 2 MB; pasted input up to two million characters and 10,000 cues. Negative shifted timecodes, collapsed durations, malformed timings and times beyond 999:59:59.999 are rejected rather than clamped. Segmented X-TIMESTAMP-MAP and SRT positioning extensions are unsupported. Payload markup and CSS are preserved as text, not rendered or fully validated; this is not a complete WebVTT conformance checker.

How can I check the result?

00:00:01,000 --> 00:00:02,000 with scale 1 and shift +1.500 seconds becomes 00:00:02,500 --> 00:00:03,500. Compare this worked case before using your own inputs.

Information:

Good to know

UTF-8 file input up to 2 MB; pasted input up to two million characters and 10,000 cues. Negative shifted timecodes, collapsed durations, malformed timings and times beyond 999:59:59.999 are rejected rather than clamped. Segmented X-TIMESTAMP-MAP and SRT positioning extensions are unsupported. Payload markup and CSS are preserved as text, not rendered or fully validated; this is not a complete WebVTT conformance checker.

Reference: W3C: WebVTT timing and cue syntax. The implementation scope and conventions above are authoritative for this worksheet.

Plain SRT conventions: Library of Congress SRT format description.

Time Calculator

Add or subtract hours, minutes and seconds, and convert the result to total hours, minutes or seconds.

Calculators

Text Difference Checker

Compare two texts and highlight what was added, removed or changed, line by line or word by word.

Text Tools