Subtitle editing

How do you edit an SRT or VTT subtitle file?

Updated Checked November 19, 2026SRT and VTTFree browser tools, nothing uploaded

A caption strip on a video screen comparing a simple text editor sheet to a heavy desktop program with a waveform.

Short answer

You usually do not need a subtitle edit program. Fixing wording takes a plain text editor. Moving every caption earlier or later, joining two parts, converting SRT to VTT and checking reading speed all work in a free browser tool, and we checked each result against an independent script. A dedicated program such as Subtitle Edit or Aegisub earns its install when you must retime cue by cue against the audio or style the text.

Subtitle timing shifter

Key takeaways

  • A text editor is enough for typos and wording, as long as you keep each cue's number, timing line and blank line intact.
  • Shift, merge, convert and check ran in the Koldflux tools on a 60-cue file, and every output matched an independent script.
  • Hand edits can break a file without any error: of nine we tried, four changed the cue count in at least one reader.
  • Retiming cue by cue against the audio is the case for a dedicated program.
  • We did not install or run Subtitle Edit or Aegisub. Their lines here are quoted from their own pages.

Which edit do you need, and what covers it?

Most people who search for a subtitle edit program have one small job in front of them. A typo in cue 14. Captions that run two seconds late. Two files from a split recording that must become one.

An SRT file is plain text, so every one of those jobs can be done without a subtitle program. The question is which jobs are safe by hand and which ones you should hand to a tool.

Common subtitle edits and the cheapest way to do each
The jobText editorKoldflux browser toolDedicated program (its own pages)
Fix a typo or a wordYes, mind the structureNo (it never rewrites your text)Yes, it edits subtitles
Move every caption by the same amountPainful by handYes, shiftNot checked
Join two parts into one filePainful by handYes, mergeNot checked
SRT to VTT or backFiddlyYes, convertNot checked
Find captions that flash past too fastNoYes, checkerNot checked
Retime one cue against the audioGuessworkNoYes, times subtitles to audio
Style the text (colour, position)NoNoYes, styling tools

Free tool:Shift subtitle timing (free, in your browser)

Can the free tools be trusted with your file?

A fair worry. A tool that rewrites cues quietly is worse than a text editor. So we built a 60-cue SRT of our own, with one italic tag, one accented word and several two-line cues, and ran the code behind the Koldflux subtitle tools on it. For each edit we wrote a separate Python script that does the same job from scratch and compared the two files.

They were identical every time. Shifting by +2.5 seconds, shifting by -3 seconds, merging the file onto a copy of itself, and a plain read-and-write all matched byte for byte. The read-and-write case matters most: it means the tool does not touch your text, your italic tag or your accents.

The numbers came out the same too. The checker counted 2,903 characters, an average of 18.09 characters per second and 25 cues above 20 characters per second. Our script got the same three figures. For conversion we used ffmpeg as the independent reader: the WebVTT file from the tool had the same 60 cue times, to the millisecond, as the one ffmpeg wrote.

Tool output against an independent script, 60-cue test file
EditTool resultIndependent resultMatch
Shift +2.5 s60 cuessame file, byte for byteYes
Shift -3 s60 cues, 1 start clamped to 0same file, byte for byteYes
Merge with a copy, +190 s120 cues, 0 overlapssame file, byte for byteYes
Read and write, no edit60 cuessame as the original textYes
Checker: characters, average speed, fast cues2,903 / 18.09 / 252,903 / 18.09 / 25Yes
SRT to VTT60 cue timesffmpeg: same 60 cue timesYes

Free tool:Check reading speed and overlaps

Grid of seven subtitle edits against three ways to do them, a text editor, the Koldflux browser tools and a dedicated program, with the tested cells marked
Which way covers which edit. Marked cells are the ones we ran.

We ran the live shifter, too

The library test skips the page, so we also opened the live shifter in a browser, loaded the same file, typed 2.5 into the offset box and downloaded the result. It matched the library output byte for byte, and so matched the independent script.

The box counts in seconds, not milliseconds, and the label says negative values move captions earlier. That is the one thing people trip over: type 2.5, not 2500.

Free tool:Subtitle timing shifter

The Koldflux subtitle timing shifter with test.srt loaded and an offset of 2.5 seconds typed in
The shifter with our test file and a 2.5 second offset.

What goes wrong when you edit by hand?

Here is where the text editor earns its bad reputation. We took the same 60-cue file, broke it ten ways that real editing produces, and counted the cues two programs could read: ffmpeg, and the parser behind the Koldflux tools. A clean file gives 60 in both.

Changing a word changed nothing. Windows line endings and a byte order mark changed nothing either. The dangerous ones are quiet. Delete one blank line and ffmpeg still reports 60 cues, while the Koldflux parser reads 59 and warns that a block is missing its separator. Type "->" instead of "-->" in one timing line and both readers lose a cue. Save the file in an old Windows code page and ffmpeg drops a cue and complains about invalid UTF-8.

Deleting the cue numbers was the harshest edit. ffmpeg refused the whole file, while the Koldflux parser read all 60 cues, because it treats the number as optional. Neither result is a verdict on the other tool. They show that two readers can disagree about the same file, so a player may disagree with your editor.

Cues read from one file after ten hand edits
EditffmpegKoldflux parser
None (control)6060
One word changed6060
One blank line between cues deleted6059, with a warning
Dot instead of comma in every timestamp6060, flagged as a format problem
"->" instead of "-->" in one line5959, with a warning
Windows line endings6060
Byte order mark added6060
Saved in the Windows-1252 code page59, invalid UTF-8 error60
Cue numbers removed0, file rejected60
Blank line inside a cue6060, with a warning

60 expected.

Bar chart of cues read by ffmpeg and by the Koldflux parser for ten hand edits of a 60-cue file, with the control at 60 for both
Cues read after each hand edit. The control reads 60 in both.

When is a dedicated program worth installing?

When the fix is cue by cue. If captions are right at the start and wrong by the end, one shift will not fix it, and retiming against sound needs a waveform and a video preview. That is what the dedicated programs are for.

Subtitle Edit calls itself "The subtitle editor :)" and, according to its repository page on GitHub, uses the MIT licence. Its README lists Windows 10 version 22H2 or newer and macOS 12 or newer, and says the macOS download bundles libmpv and ffmpeg. Aegisub describes itself as "a free, cross-platform open source tool for creating and modifying subtitles" that makes it "quick and easy to time subtitles to audio" and has "a built-in real-time video preview."

Those lines are theirs. We did not install either program, so we cannot tell you how they feel to use or how they read the ten broken files above.

Shifting did not fix it. Now what?

A constant shift fixes a constant error. If cue 1 is two seconds late and the last cue is nine seconds late, the frame rate or the cut differs, and no single offset will help. Read the drift guide for how to find the pattern.

If the file will not show in a player at all, the cause is usually one of the format problems in the table above, so the subtitles-not-appearing guide is the next stop.

What are the limits of these tests?

The result is narrower than the headline. Read it with these limits.

  • One synthetic 60-cue SRT, one date, two readers (ffmpeg 6.1.1 and the Koldflux parser). Real players such as a phone app or a TV may read the broken files differently.
  • We tested the shifter in a live browser. Merge, convert and the checker ran on the same code, not through each page.
  • Matching an independent script shows the tool does what it says. It does not show your subtitles are well timed.
  • We did not run Subtitle Edit or Aegisub, so this page cannot say which is better.
  • The log shows two lines about VTT cue times: false, then True. The first check compared text lines pulled out of two outputs and returned false, and which line differed was not traced. The second (vttcmp.py) parsed each cue into milliseconds and found all 60 start and end times equal. That one compares numbers, so it is the one to trust; both lines stay in the log.

Do it in your browser

Free Koldflux tools, no account needed.

Subtitle timing shifterMerge subtitle filesSubtitle checkerSRT to VTT converter

Questions people ask

What is the best free subtitle edit program?

For a full editor, the two open-source names people reach for are Subtitle Edit and Aegisub. For one quick fix, a text editor and a free browser tool are enough. We did not install either program, so we do not rank them.

Can I edit an SRT file in Notepad?

Yes. It is plain text. Keep the number, the timing line and a blank line between cues, and save as UTF-8. Our hand-edit test shows how easily a missing blank line or a changed arrow breaks a file.

How do I shift all subtitles by two seconds?

Open a subtitle shifter, load the file and enter 2 for seconds later or -2 for earlier. On the Koldflux tool the box counts in seconds.

How do I merge two SRT files?

Join the second file onto the first and offset its times by the length of the first part, so the cues stay in order. The Koldflux merge tool does this and reports overlaps.

Why does my subtitle file work in one player and not another?

Players parse leniently or strictly. In our test, deleting the cue numbers made ffmpeg reject the file while the Koldflux parser read all 60 cues.

Do subtitle tools upload my file?

The Koldflux subtitle tools run in your browser and say nothing is uploaded.

Related

More guides on this topic

Sources and how we checked

  1. Subtitle Edit README, GitHub (MIT licence per the repository page) (checked 2026-11-19)
  2. Aegisub, Advanced Subtitle Editor (project site) (checked 2026-11-19)
  3. Our test log, November 19, 2026 (Koldflux, plain text) (checked 2026-11-19)
  4. How to rerun the controls (Koldflux, Python) (checked 2026-11-19)
  5. The 60-cue test file (Koldflux, SRT) (checked 2026-11-19)

We generated a 60-cue SRT (gen.py, seeded, our own sentences) and ran the functions behind the Koldflux subtitle tools (src/lib/subtitles.ts) for shift, merge, convert, transcript and check. control.py redoes each edit independently in Python and compares the files, and ffmpeg 6.1.1 reads the converted VTT. The live shifter was driven in headless Chromium and its download compared with the library output. mut.py makes ten hand-edited copies; each was read by ffmpeg and by the Koldflux parser and the cues counted. Subtitle Edit and Aegisub are described from their own pages, read 2026-11-19, and were not run.