SRT Subtitle Cleaner

Remove HTML tags, SDH annotations and ad lines from SRT subtitle files.

Ad placeholder (leaderboard)

The SRT subtitle cleaner strips the clutter out of downloaded subtitles: formatting tags, hearing-description annotations, speaker labels and the promotional or credit lines that release groups inject. The result is a tidy .srt containing just the dialogue, correctly renumbered and ready to use.

How it works

Each cue is parsed into its index, timing and text. The text is then passed through whichever rules you enable, line by line:

  • Strip tags removes HTML-style markup such as \<i\>, \<b\> and \<font\>, plus ASS-style override blocks in curly braces.
  • Remove SDH deletes bracketed descriptions in […] and parenthetical cues in (…), such as [dramatic music playing] or (whispering).
  • Remove speaker labels strips a leading uppercase name followed by a colon, like JOHN:.
  • Remove ads drops lines matching known patterns — Subtitles by …, Synced by …, release-group names, and any line containing a URL.

After cleaning, a cue whose text is now empty is discarded, and the surviving cues are renumbered from 1 with their original timings preserved.

Example and notes

An input cue like:

3
00:00:08,000 --> 00:00:11,000
JOHN: <font color="#ffff00">Over here!</font>

with all rules on becomes:

3
00:00:08,000 --> 00:00:11,000
Over here!

Notes: timing is never altered, so the cleaned file stays in sync. If you only want the words with no timing at all, the subtitle-to-text tool produces a flat transcript instead. All cleaning happens locally in your browser.

Ad placeholder (rectangle)