Clean SRT File
Get a tidy, correctly numbered SRT file from a messy one in one pass.
- Runs in your browser
- No uploads
- No account
Loading your browser tool…
What Clean SRT File does
SRT files that have been through several hands collect clutter: cue numbers that skip, double spaces, cues that are empty or appear twice, captions out of order after a merge, and overlaps left by manual edits. None of it is broken enough to fail, but all of it causes trouble later.
Cleaning applies a fixed set of repairs, each a switch in More options, and lists what changed under the result. Unlike the SRT Validator, it doesn't report problems line by line; it just returns a clean file. A WebVTT file put through it comes out as SRT.
Example
Input
2 00:00:05,000 --> 00:00:07,000 Second line 1 00:00:01,000 --> 00:00:05,500 First line
Result
1 00:00:01,000 --> 00:00:05,000 First line 2 00:00:05,000 --> 00:00:07,000 Second line
Cues are sorted and renumbered, the triple space is collapsed, and the first cue now ends when the next begins instead of running half a second into it.
How to use Clean SRT File
- Paste the SRT text or choose Open file.
- In More options, switch off any repair you don't want, or turn on Remove formatting tags.
- Choose Download .srt to save captions-clean.srt.
Good to know
- Remove duplicate cues only merges a cue into the one just before it when the text is identical and they touch within 0.1 s. The same line repeated later in the file is left alone.
- Fix overlapping cues shortens the earlier cue and never moves start times. If a cue starts too early, correct its start in the SRT Editor.
- Two cues that start at exactly the same time are combined into one stacked caption, which can produce three or four lines. Check those with the Subtitle Line Length Checker.
Questions about Clean SRT File
How do I renumber subtitles in an SRT file?
Paste the file here and download it. Cue numbers are always rewritten 1, 2, 3 in the order of the cleaned file, so gaps, duplicates and out-of-sequence numbers disappear.
How do I remove duplicate subtitles?
Leave Remove duplicate cues on. A cue identical to the one before it, starting within a tenth of a second of that cue's end, is merged into it. That removes the doubled captions some exports and auto-captioning tools produce.
Will cleaning change my subtitle timing?
Only where needed. Start times stay put. End times are shortened to remove overlaps, and a cue with zero or negative length gets a new end time up to two seconds after its start. Everything else keeps its exact timing.