Remove Duplicate Lines from Subtitles

Paste messy subtitle or transcript text — YouTube rolling captions, SRT/VTT exports, or auto-generated captions — and remove duplicate lines instantly. Free, private, and nothing is uploaded.

🔒 100% private — everything runs in your browser, nothing is uploaded

1 · Paste your subtitles

2 · Deduped result

0lines in
0lines kept
0lines removed
0words before
0words after

Frequently asked questions

Why do subtitles and transcripts contain duplicate lines?

It is usually not a bug in your file. YouTube’s rolling captions re-render a line as it advances, so the same fragment can appear several times in a row. Auto-generated captions often repeat a cue when the speaker pauses or repeats themselves, and some subtitle editors and Whisper exports emit consecutive identical cues. Copying a transcript with timestamps turned on frequently duplicates the last visible line, too.

Is removing only consecutive duplicates safe?

Yes — and that is deliberate. This tool only drops a line when it immediately repeats the previous kept line, ignoring case and punctuation. Repeats that are not adjacent — choruses, refrains, intentional emphasis — are left untouched, so real content is never eaten. The honest trade-off: duplicates that are separated by other lines are not removed, because guessing those wrong would risk deleting something you wanted to keep.

Does it work with SRT/VTT files, or only YouTube transcripts?

Both. Plain pasted transcript lines, YouTube “Show transcript” copies with 0:00 timestamps, and SRT/VTT blocks with cue numbers and timecodes all work. Duplicate detection compares the text of each line, so two cues with different timecodes but the same words still collapse into one. Tick “Also remove timestamps” if you want the final text without cue numbers or timecodes; leave it off to keep them.

Is my text private? Does it work offline?

Yes to both. The whole tool is a single HTML file that makes no network requests: your text never leaves your browser tab. Nothing is stored, logged, or sent anywhere. Once the page has loaded, it keeps working even if you lose your internet connection.

Copied!