How It Works Under the Hood
A unified parser normalizes both SubRip (`HH:MM:SS,mmm`) and WebVTT (`HH:MM:SS.mmm` or `MM:SS.mmm`) cue blocks into millisecond-accurate cue objects. Timing adjustments add signed millisecond offsets cleanly (`Math.max(0, ms)` clamping prevents invalid negative timestamps), and an optional overlap pass guarantees sequential non-overlapping playback.
Step-by-Step Instructions
Paste or drop a `.srt` or `.vtt` file into the studio.
Apply a signed Timing Shift in milliseconds (e.g., `+1500` delays captions by `1.5s`; `-800` brings them `0.8s` earlier).
Toggle `Fix Overlapping Cues` if consecutive cues collide after edits, then preview the re-indexed cues.
Export cleanly as `.srt`, `.vtt` (with `WEBVTT` header), or clean spoken `.txt` transcript.
Key Features & Performance
- Lossless SubRip (`.srt`) ↔ WebVTT (`.vtt`) ↔ Plain Transcript (`.txt`) conversion
- Millisecond-exact sync shifter (`+` delay or `-` advance) with `00:00:00` lower-bound clamp
- Automatic sequential overlap resolution (caps cue end time to next cue start)
- Automatic 1..N cue renumbering and CRLF normalization
- Zero file size limits or uploads — handles multi-hour movie/podcast transcripts instantaneously
Methodology, Formulas & Technical Standards
Timestamps normalize to integer milliseconds (`((h * 3600) + (m * 60) + s) * 1000 + ms`). WebVTT hours are printed consistently (`00:01:23.450`), and `.srt` always formats comma separators (`00:01:23,450`). During TXT export, HTML cue tags like `<i>` and `<b>` can be optionally stripped for clean reading.
Common Real-World Use Cases
- Fixing `1.2s` audio-caption drift caused by trimmed video intros (`-1200 ms` shift)
- Converting Whisper `.srt` exports into `<track kind="subtitles">` WebVTT files for HTML5 video players
- Extracting clean plain-text prose scripts from `.vtt` YouTube or Zoom recordings
- Sanitizing corrupted subtitle numbering and overlapping cue end-times before uploading to YouTube Studio
Worked Examples & Edge Cases
Advancing Subtitles After Trimming 2s Intro
1\n00:00:05,200 --> 00:00:08,000\nWelcome back! | Shift: -2000 ms
1\n00:00:03,200 --> 00:00:06,000\nWelcome back!
Cues shifted past `0` clamp safely to `00:00:00,000` without negative invalid strings.
SRT to WebVTT Conversion
00:00:01,500 --> 00:00:03,000
WEBVTT\n\n00:00:01.500 --> 00:00:03.000
Adds mandatory `WEBVTT` header and replaces comma decimals with periods.
Limitations, Scope & Accuracy Notes
- • Complex SSA/ASS styling commands (`{\pos(x,y)}`) or WebVTT region/style header blocks are simplified when exporting to plain `.srt`/`.txt`.
- • Linear constant-offset shifting fixes global sync drift, not gradual frame-rate stretch (`23.976` vs `25` fps).
Local Browser Processing & Privacy
Traditional web converters upload your documents, snippets, or media files to remote servers. SRT / VTT / TXT Subtitle Converter & Timing Shifter runs inside your browser tab:
Your input text and files are processed locally without uploading payloads to a processing server.
Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).
Working outputs stay in your browser tab and are released when you reset the tool or close the tab.
Frequently Asked Questions
What is the main difference between .srt and .vtt syntax?
`.srt` uses commas for milliseconds (`00:01:02,500`), whereas WebVTT requires a `WEBVTT` header line and periods for milliseconds (`00:01:02.500`).
What happens if a negative shift pushes the first subtitle before 00:00:00?
Timestamps clamp at `00:00:00,000` (and minimum positive cue duration is preserved if possible) so video players never crash on `-00:00:01` timestamps.
How does Fix Overlapping Cues work?
When Cue `i` ends after Cue `i+1` starts, its end timestamp is clamped cleanly to match Cue `i+1`’s start time.
Can I pair this with Microdeck’s Local Whisper Transcriber?
Yes! Generate `.srt`/`.vtt` privately with Local Whisper, then tweak delays or extract clean prose here.
Explore Related Micro-Tools
Local Whisper Audio & Video Transcriber
Transcribe meetings, podcasts & videos into SRT, VTT or TXT offline right in your browser
Video Script Beat Splitter & Pacing Timer
Clean scripts into teleprompter beats & estimate video runtime
Zero-Upload Audio Trimmer, Merger & Speed Changer
Cut MP3/WAV clips, merge tracks, auto-trim silence & adjust speed via Web Audio API