DevTools Logo

Subtitle Shift & Cleaner

SRT & VTT Subtitle Cleaner and Shifter

Synchronize SRT/VTT subtitles and clean filler words or HTML tags

Settings

Use negative values to shift backwards.

Strips <b>, <i>, <font> etc.

Removes 'uh, um, yani, şey'

Examples

Re-syncing an off-by-half-second track

Input
An .srt file with captions 500 ms late relative to the audio · shift = -500
Output
Every timestamp reduced by 500 ms; no text changes.

When the audio leads the captions by a fixed amount, a negative shift brings them back into alignment.

Cleaning an AI-generated transcript

Input
A WebVTT file with <font color="#ccc"> tags and "uh", "um" filler words
Output
Stripped HTML, filler words removed, double spaces collapsed, block and word counts updated.

Turning on both cleaning switches sanitises a raw speech-to-text export into a publication-ready file.

About this tool

Subtitles drift out of sync for mundane reasons — a different frame rate, a title card added to the video, a broadcast delay. This tool shifts every timestamp in an SRT or VTT file by the number of milliseconds you enter, positive to move cues later or negative to pull them earlier, and it preserves each format's own separator: a comma for SRT, a dot for VTT.

The cleaner side strips markup such as <b>, <i> and <font> tags from cue text and removes spoken filler words — 'uh', 'um', plus the Turkish 'yani' and 'şey' — when you enable the option, collapsing runs of extra spaces along the way. After processing you get quick counts of subtitle blocks and words plus the total duration from the first cue to the last.

Load a file by uploading .srt, .vtt or .txt, or paste the contents directly. Everything is processed locally in your browser, and the corrected result can be copied or downloaded under the original file name.

How to use this tool

  1. Load your subtitles

    Upload an .srt or .vtt file, or paste its contents into the editor.

  2. Measure the offset

    Compare one cue's timestamp with the moment the line is actually spoken to get the delay in milliseconds.

  3. Enter the shift

    Type the offset — positive values delay the subtitles, negative values bring them forward.

  4. Clean and process

    Toggle HTML-tag and filler-word removal as needed, click Process Subtitles, then copy or download the corrected file.

Use cases

Re-syncing after a video edit

If you splice an intro or trim the head, the captions drift. A single millisecond shift re-aligns them.

Sanitising AI transcripts

Speech-to-text outputs are full of "uh", "um" and styling tags — the cleaner removes both in one pass.

Localising without losing timing

Translate the text in place and only run the cleaner, so the timing is preserved for re-import.

Quick QA before publishing

Use the stats row to confirm block count and duration match the video before you upload.

Common mistakes

Mistake:Confusing leading and lagging captions.

Fix:If captions appear too early, the shift is positive (delay them). If too late, the shift is negative (pull them back).

Mistake:Removing filler words when the speaker uses them intentionally.

Fix:Keep the cleaner off for stylised dialogue, interviews, or accessibility cues where hesitation is meaningful.

Mistake:Stripping HTML you actually want.

Fix:Turn the switch off if your player relies on <i>, <b> or <font> for speaker labels.

Mistake:Trusting the estimated duration as a video length check.

Fix:The duration is first-cue to last-cue, which equals the longest subtitle. Add lead and tail time to compare to the actual video length.

Frequently asked questions

How do I fix subtitles that are out of sync?

Find one line you can hear clearly, note how many milliseconds too early or late its cue appears, enter that value as the time shift, and process the file. A constant offset disappears in a single pass.

What is the difference between SRT and VTT?

VTT (WebVTT) starts with a WEBVTT header, uses a dot before the milliseconds, and supports styling and cue settings; SRT is plainer and puts a comma there. The tool accepts both and keeps each file's own syntax intact.

Which tags does the cleaner remove?

With Remove HTML Tags enabled, any markup such as <b>, <i> or <font> is stripped from cue text. The filler-word option separately removes tokens like 'uh' and 'um' — and the Turkish 'yani' or 'şey' — from dialogue.

Can I export the subtitles as plain text?

Yes. After processing, download the result — it saves as a plain-text file under your original name — or copy the whole thing to the clipboard.

References & standards