Merge two subtitle files into one
Make a dual-language subtitle file from two subtitle files, for example Spanish and English, so your player shows both at once. Works with SRT, VTT, ASS and SSA, lines up files whose cues are split differently, and fixes an offset between them.
SRT, VTT, ASS or SSA, any encoding. Your files stay on your device: everything runs in this browser tab, nothing is uploaded.
What the merge does to your files
- Reads both files in whatever encoding they use (UTF-8, UTF-16, Windows code pages, GBK, Big5, Shift-JIS and more) and drops formatting tags, ASS drawings and on-screen signs.
- Lines them up by time. With the default timing, the new file switches whenever either language changes, so a long English line can stay on screen while two short Spanish lines pass under it. Boundaries less than 0.3 seconds apart are snapped together so nothing flickers.
- Writes one file with both languages in every cue. SRT and VTT get two lines per cue; ASS gets two styles, so each language has its own size and color.
Getting the right subtitle files
Use two files made for the same release of the video when you can (same frame rate and cut). Files from a different release may be off by a constant amount, which the offset fixes, or drift apart over time, which needs a subtitle editor. If you only have one language, translate it into a bilingual file.
Using the file
Save it next to the video with the same name (Movie (2010).en.srt for a video called Movie (2010).mkv) and most players pick it up automatically. See the guides for VLC, mpv and Plex and Jellyfin.