SRT Merger screenshot

SRT Merger

Work out two SRT files as one, ordered by start time from first srt file, second srt file. Concatenate, sort by start time, renumber from 1, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

SRT Merger

Work out two SRT files as one, ordered by start time from first srt file, second srt file. Concatenate, sort by start time, renumber from 1, and the page prints the substitution so the result can be checked by hand.

How this page computes

Concatenate, sort by start time, renumber from 1

Two cues that overlap are both kept and the overlap is listed. Joining their text would change what each cue says, which is an editorial decision rather than arithmetic.

Cues that start at the same millisecond keep the first file first, so the merge is deterministic.

The calculation runs entirely in this browser tab; nothing is uploaded.

SRT Merger computes two SRT files as one, ordered by start time. Concatenate, sort by start time, renumber from 1. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

Two cues that overlap are both kept and the overlap is listed. Joining their text would change what each cue says, which is an editorial decision rather than arithmetic. Pressed with first srt file 1; 00:00:05,000 --> 00:00:06,000; First file cue, second srt file 1; 00:00:01,000 --> 00:00:02,000; Second file cue, it answers: 00:00:01,000 --> 00:00:02,000

How to use SRT Merger

Enter first srt file 1; 00:00:05,000 --> 00:00:06,000; First file cue, second srt file 1; 00:00:01,000 --> 00:00:02,000; Second file cue, then press Run: the page evaluates two SRT files as one, ordered by start time and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With first srt file 1; 00:00:05,000 --> 00:00:06,000; First file cue, second srt file 1; 00:00:01,000 --> 00:00:02,000; Second file cue, the answer is 00:00:01,000 --> 00:00:02,000.

Overlaps are reported, not merged

Two cues that overlap are both kept and the overlap is listed. Joining their text would change what each cue says, which is an editorial decision rather than arithmetic.

Cues that start at the same millisecond keep the first file first, so the merge is deterministic.

What to Expect

Best for

  • Working out two SRT files as one, ordered by start time without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • Either file with no readable cue is refused; a block without a time line is refused with its number.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • Concatenate, sort by start time, renumber from 1
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • Either file with no readable cue is refused; a block without a time line is refused with its number.
  • An empty field is refused with the field's name

Example use cases

  • Work out two SRT files as one, ordered by start time for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

SRT Merger: first srt file 1; 00:00:05,000 --> 00:00:06,000; First file cue, second srt file 1; 00:00:01,000 --> 00:00:02,000; Second file cue

Sample output

00:00:01,000 --> 00:00:02,000 — 1

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

Concatenate, sort by start time, renumber from 1. The page prints the substitution as well, so the answer can be checked against the rule.

What does SRT Merger refuse?

Either file with no readable cue is refused; a block without a time line is refused with its number.

What does the default example give?

First srt file 1; 00:00:05,000 --> 00:00:06,000; First file cue, second srt file 1; 00:00:01,000 --> 00:00:02,000; Second file cue gives 00:00:01,000 --> 00:00:02,000. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.