Microdeck.tools 100% In-Browser

SRT / VTT / TXT Subtitle Converter & Timing Shifter

New

Clean up out-of-sync captions from podcasts, YouTube videos, or Whisper exports. Shift timestamps forward or backward by exact milliseconds, clamp negative times to `00:00:00,000`, fix overlapping cues automatically, and convert cleanly between `.srt`, WebVTT `.vtt`, and plain `.txt`.

100% In-Browser No Server Storage Instant Results
Detected 2 overlapping cues. Toggle "Auto-clamp overlapping cues" to trim end times cleanly before export.

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

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

1

Paste or drop a `.srt` or `.vtt` file into the studio.

2

Apply a signed Timing Shift in milliseconds (e.g., `+1500` delays captions by `1.5s`; `-800` brings them `0.8s` earlier).

3

Toggle `Fix Overlapping Cues` if consecutive cues collide after edits, then preview the re-indexed cues.

4

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

Input
1\n00:00:05,200 --> 00:00:08,000\nWelcome back!  |  Shift: -2000 ms
Output
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

Input
00:00:01,500 --> 00:00:03,000
Output
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:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

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

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.