CompareOnline4U.

Home › Guides

How to compare two subtitle (SRT) files and find what changed

Updated

Text Compare — open the free tool →

You translated a video's subtitles, a teammate fixed some lines, and now you have two .srt files with almost the same content. Or you downloaded a subtitle for a film, found a better version, and want to know what the second one actually changed. Opening both files and reading them line by line is slow, and with 1,500 cues it is easy to miss a renamed character or a removed line.

An SRT file is plain text: a number, a timing line like 00:01:12,400 --> 00:01:15,000, one or two lines of dialogue, then a blank line. That makes it a good fit for a text diff.

Compare two SRT files online

  1. Open Text Compare.
  2. Use the file picker above the left box to open the original .srt file, and the right box for the edited one. You can also drag each file onto its box or paste the text.
  3. Tick Ignore blank lines if one file has extra empty lines between cues, and Ignore whitespace if an editor added trailing spaces.
  4. Click Compare now.
  5. Changed lines are highlighted on both sides, with the exact changed words marked. Use Next change to jump from one edit to the next, or tick Only changes to hide everything that stayed the same.

The files are read in your browser and are not uploaded to a CompareOnline4U server, which is useful for unreleased videos or client work. When you are done, Download result saves a readable report you can send to the translator or editor.

How to read the result

When the whole file was re-timed

If one version was shifted to match a different video release (say every cue is 0.5 seconds later), every timing line is different. The diff still lines up the dialogue, so the text lines that did not change appear as unchanged rows between the highlighted timing lines. To find wording changes, scroll for highlighted text lines rather than timing lines, or use Next change and skip the timing rows.

If you only care about the dialogue, a simple trick is to remove the numbers and timings first. In a code editor with regular-expression search (VS Code, Notepad++), replace ^\d+\s*$ and ^\d\d:\d\d:\d\d,\d+ --> .*$ with nothing in a copy of each file, then compare the copies. Now only the spoken text is compared.

Common reasons to compare subtitles

Tips for a clean comparison

For other plain-text files, see how to find differences between two texts.

Text Compare — open the free tool →

Frequently asked questions

Can I open .srt files directly?

Yes. Text Compare accepts .srt files from the file picker above each box, or you can drag a file onto a box. The file is read in your browser and is not uploaded.

Why is every timing line marked as changed?

The whole subtitle was shifted, for example by half a second to match another video release. The dialogue lines in between still show as unchanged, so look for highlighted text lines between the timing lines to find real wording changes.

Does it work with Hindi or other non-English subtitles?

Yes. SRT files saved as UTF-8 compare like any other text, and changed words are highlighted inside each changed line. If Hindi text shows as strange symbols, re-save the file as UTF-8 in your subtitle editor first.

Can I compare .vtt or .ass subtitle files?

Yes, as long as both files are the same format. Open them in a text editor, copy the content into the two boxes and compare. Comparing an .srt with a .vtt shows many format-only differences, so convert one first.

More guides

How to find differences between two textsSpot every change between two versions of a text — essays, emails, contract clauses or notes. Free diff checker guide with tips to avoid false changes.दो टेक्स्ट में अंतर कैसे देखेंदो पैराग्राफ, आर्टिकल या एग्रीमेंट के टेक्स्ट में क्या बदला? हिंदी और English दोनों में बदले शब्द हाइलाइट करके देखने का फ्री तरीका, बिना अपलोड।How to compare two code files without GitNeed to see what changed between two versions of a script or source file? Compare two code files online, in VS Code or Notepad++ — no Git repo needed.दो कोड फाइल में अंतर कैसे देखेंपुराने और नए कोड में कौन सी लाइन बदली? Python, Java, C, JavaScript या PHP की दो फाइलें मिलाएं, बदले शब्द हाइलाइट देखें। फ्री, कोड अपलोड नहीं होता।

← All comparison tools