Start using

Bilingual Subtitle Merger

Read more

Merge two single-language subtitle files (SRT or WebVTT) into one bilingual track — primary language on top, secondary below — aligning cues by time overlap or cue index.

Inputs

Result

Ready for a run

Run the tool to preview files, text, structured data, or streamed output here.

Examples

2 examples

Choose an example to fill in the form.

  • A 3-cue Chinese track and a 3-cue English track whose timings differ by 100–200 ms per cue: time-overlap alignment pairs all three cues, primary timings are kept, and the merged SRT stacks 你好,世界 over Hello, world in each cue.

    3 merged bilingual cues: Chinese line(s) on top, English below, all pairs matched by overlap, SRT output

  • The English track carries an extra narration cue between 20 s and 22 s that the Chinese track omits: overlap alignment matches the three shared cues, the extra cue survives as English-only, and choosing secondary timings shows the merged cue using the English clock.

    4 merged cues — three bilingual pairs using English timings, one English-only narration cue, warnings note the unmatched cue

Last updated

Details

What this tool helps you do

Language learners and translators constantly pair two subtitle tracks: Chinese on top of English, Spanish over Japanese, any combination. This merger takes two single-language subtitle texts (SRT or WebVTT, auto-detected) and produces one bilingual track where each cue stacks the primary language above the secondary. The two tracks rarely time identically, so alignment runs first: by default each primary cue is paired with the secondary cue that maximises time overlap (intersection-over-union), with a nearest-start fallback inside a tolerance window — the same strategy dual-language mergers in the wild use. Tracks that share a source (a file and its translation) can instead pair 1:1 by cue index. You choose which track's timings the merged cues carry; cues that exist in only one track are kept as single-language cues so no dialogue is lost. Input and output stay plain text — nothing is uploaded.

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Media
Input types
Multiline text, Select, Number
Output type
Text
Sample coverage
4
API ready
Yes

Overview

Bilingual Subtitle Merger combines two separate single-language SRT or WebVTT subtitle files into one dual-language track with the primary language stacked on top and the secondary language below. It automatically handles time differences by aligning matching cues via time overlap or sequential index, retaining unmatched lines so no dialogue is lost.

When to use

  • Merging foreign-language and native subtitles into a single dual-language track for language learning.
  • Pairing translated subtitle tracks with original transcript tracks for video localization quality checks.
  • Combining two out-of-sync or slightly drifted subtitle files into one synchronized bilingual SRT or WebVTT file.

How it works

  1. 1Paste your primary and secondary subtitle contents in either SRT or WebVTT format into the respective text areas.
  2. 2Choose your alignment strategy: match cues dynamically using time overlap (IoU) with a configurable millisecond tolerance, or link them 1:1 by sequential cue index.
  3. 3Select whether the merged output should adopt the timestamp clock of the primary or secondary track, then choose your preferred output format (SRT or WebVTT) to generate the dual track.

Use cases

  • Language students creating dual Chinese and English subtitles for study playback in media players.
  • Video editors assembling bilingual caption tracks from separate translated transcripts.
  • Translators proofreading subtitle lines side-by-side against source audio timecodes.

Examples

1. Creating Chinese-English Dual Subtitles with Time Drift

Language Student

Background

Studying Chinese through video media and wants Chinese characters on top with English translations directly beneath.

Problem

The downloaded English and Chinese SRT files have minor timing differences of 100 to 200 milliseconds per line.

How to use

Paste the Chinese SRT into primaryText and the English SRT into secondaryText, keep overlap alignment with a 500 ms tolerance, and set primary track timing.

alignmentMode: overlap, timingSource: primary, maxGapMs: 500, outputFormat: srt

Outcome

Generates a synchronized SRT track stacking Chinese lines over English lines without duplicate timestamps.

2. Merging WebVTT Files with Asymmetrical Commentary Cues

Content Localizer

Background

Localizing a web video with a primary translated track and an extended secondary narration track.

Problem

The secondary track contains extra commentary cues not present in the translated file that must not be discarded.

How to use

Input both WebVTT transcripts, select overlap alignment with secondary timing source, and choose WebVTT as the output format.

alignmentMode: overlap, timingSource: secondary, maxGapMs: 500, outputFormat: vtt

Outcome

Produces a WebVTT file with bilingual cues for shared dialogue and single-language entries for the commentary sections.

FAQ

What subtitle formats are supported by this merger?

The tool supports both SubRip (.srt) and WebVTT (.vtt) plain text formats with automatic detection.

What happens if a cue exists in only one of the tracks?

Unmatched cues are preserved as single-language entries at their original timestamps so no dialogue is omitted.

How does overlap alignment handle slight timing differences?

It matches cues maximizing intersection-over-union and falls back to the nearest start time within your specified gap tolerance.

Can I pair translated tracks line-by-line regardless of timestamps?

Yes, set the alignment mode to 'Match by cue index' to pair entries strictly in sequential 1:1 order.

Is my subtitle content uploaded to an external server?

No, the entire merging and alignment process runs locally in your browser using plain text.

Related

Continue with connected tools and hubs

Cookie settings

Essential cookies keep the site running. Analytics and personalized ads are optional.

Cookie policy