Shift subtitles without changing their text
This tool changes only the two timestamps on each SRT cue line. Cue numbers, subtitle text, line breaks and optional timestamp settings are preserved, so the downloaded file can be opened directly in a media player or subtitle editor.
Offset examples
+2.5seconds delays every cue by two and a half seconds.-350milliseconds moves every cue 350 ms earlier.- If an advance would create a negative timestamp, that timestamp is safely clamped to
00:00:00,000.
Local-only: file contents and pasted subtitles stay in this browser tab. No subtitle data is sent to a server.
Formats, sizes and other limits
The shifter edits nothing but the two timestamps on each cue line. It scans your text for lines that both contain --> and begin with a number, parses each side with a strict HH:MM:SS,mmm pattern, adds the signed offset you typed (seconds or milliseconds) and writes the result back with three-digit milliseconds and zero-padded fields. Cue numbers, subtitle text, line breaks and any trailing cue settings after the end timestamp are copied through untouched, and the file's original line ending is preserved, so a CRLF file stays CRLF. The status line reports how many cues moved and, if a negative offset would have pushed a timestamp before zero, how many were clamped to 00:00:00,000 instead. The result appears in the output box and downloads as shifted-subtitles.srt.
Where it stops working
Only SubRip files are handled. WebVTT (.vtt), SSA/ASS and MicroDVD timestamps are not recognised — WebVTT in particular uses a period before the milliseconds, so those lines fail with an “expected an SRT timestamp line” error. Minutes and seconds must be under 60, the end must not precede the start, and each timestamp needs exactly three millisecond digits. Because hours are printed as at least two digits, offsets that push a cue past 99 hours leave the SRT specification behind. The file is decoded as UTF-8 by the browser, so a subtitle file in another encoding may show odd characters and will be written back as UTF-8. Shifting never re-orders or de-overlaps cues.
Privacy: nothing is uploaded
Paste the subtitles or pick the file and the shift happens in the page; the FileReader API reads it straight into memory and no copy is sent anywhere. There is no upload endpoint on this site, no account and no server-side processing at all.
Frequently asked questions
Can I use this on a .vtt or .ass file?
No — it is SRT-specific. WebVTT timestamps use a period instead of a comma and include extra cue settings, so the parser rejects them. Convert the file to SRT first, shift it, then convert back if you need to.
What happens to cues that would start before zero?
They are clamped to <code>00:00:00,000</code> and the report tells you how many timestamps were affected, so you can see that a negative shift was larger than the subtitle's own start time. Nothing is deleted.
Does it renumber the cues or change the subtitle text?
No. Only the start and end timestamps on each cue line are rewritten; the numbering, the dialogue, the line breaks inside a cue and any positioning settings after the arrow are copied exactly as they were.