CueSift取幕
SRT editing guide

How to Edit an SRT File Without Breaking Timestamps

An SRT file is editable plain text, but each cue must keep a predictable structure. This guide shows the smallest valid block, a broken example, its repair, and the checks that prevent drift, overlap, missing cues, and unreadable characters.

Published: August 9, 2026Last verified: August 9, 2026

Short answer

Open the SRT in a plain text editor and preserve four parts for every cue: a sequential number, one start-to-end timestamp line, one or more text lines, and a blank line before the next cue. Use the pattern hours:minutes:seconds,milliseconds and save the file as UTF-8.

After editing, check that each end time is later than its start time, cues are in chronological order, unintended overlaps are removed, and the first and last cues play correctly in the final player.

Try CueSift with a public link

The smallest usable SRT block

The arrow separates start and end times. SRT uses a comma before milliseconds. Blank lines separate cues, so deleting them can change how a parser groups the text.

12
00:01:24,500 --> 00:01:27,200
Review the names and numbers.
检查名称和数字。

Broken sample and repaired sample

This original test fixture deliberately contains a missing cue number, an end time before its start, and an unintended overlap. The repaired version changes only structure and timing.

broken-example.srt

1
00:00:01,000 --> 00:00:03,800
Start with the source track.

00:00:05,200 --> 00:00:04,400
Then review the timing.

4
00:00:05,000 --> 00:00:07,500
Export only after checking.

fixed-example.srt

1
00:00:01,000 --> 00:00:03,800
Start with the source track.

2
00:00:04,000 --> 00:00:05,200
Then review the timing.

3
00:00:05,400 --> 00:00:07,500
Export only after checking.

1. Added the missing second cue number.

2. Made the second end time later than its start.

3. Removed the unintended overlap and renumbered cue four.

Five-step editing workflow

01

Make a copy and inspect the structure

Keep the original file unchanged. Confirm numbering, timestamp style, language, and encoding before making bulk edits.

02

Diagnose the timing pattern

Decide whether the error is a constant offset, increasing drift, or a local cue problem. These require different repairs.

03

Edit text without breaking cue boundaries

Correct names, numbers, punctuation, and line breaks. Keep the timing line and the blank line that ends each cue.

04

Save a UTF-8 copy

Use a new filename, reopen the saved file, and confirm multilingual characters did not change.

05

Validate in the destination

Play the first, middle, and final sections. Seek across edits and confirm the platform did not ignore or reinterpret formatting.

Editing in CueSift

When CueSift has created a task from an eligible public video link, its result opens as timed segments. You can correct segment text and timing, save a new version, and export TXT, SRT, or VTT.

CueSift does not currently offer arbitrary local SRT import. This guide therefore does not claim that you can upload any existing SRT into the editor. Use a plain text or dedicated subtitle editor for unrelated local files.

Frequently asked questions

Can I edit an SRT file in a text editor?

Yes. Use a plain text editor, preserve the cue structure and blank lines, and save as UTF-8. A word processor may insert formatting or change characters, so plain text is safer.

Why are my SRT subtitles out of sync?

A constant offset usually means the whole track starts too early or late. Increasing drift can indicate a frame-rate or source-version mismatch. A local error usually affects only one cue or a nearby group. Diagnose the pattern before shifting every timestamp.

How do I keep Chinese and other characters readable?

Save the file as UTF-8, reopen it before uploading, and test the actual target player. YouTube's basic SRT guidance explicitly requires plain UTF-8.

What happens if a cue number or timestamp is missing?

Some parsers may skip the malformed block, merge text unexpectedly, or reject the file. Renumber cues sequentially and ensure every cue has one valid start-to-end timing line.