Subtitle guides

Find an SRT timestamp error without losing a cue

Read a SubRip block, separate formatting from timing problems, and make the smallest safe correction.

Read one block before changing anything

An SRT file contains numbered subtitle blocks. A typical block has a cue number, a start and end time, subtitle text, and a blank line before the next block. SRT is widely used but not completely standardized, so players can be more or less permissive. Subtitle Workbench uses a stated compatibility format; it does not claim to predict every player. Save a copy before editing. The tool blocks export while a format error remains, which prevents an export of only readable blocks from looking clean after dialogue was lost.

1
00:01:02,500 --> 00:01:05,000
The next train leaves at noon.

Separate an SRT timestamp from a WebVTT timestamp

In the example, the cue starts 62.5 seconds into the video and ends at 65 seconds, so it lasts 2.5 seconds. The comma separates whole seconds from three digits of milliseconds. The arrow is two hyphens followed by a greater-than sign, with whitespace on either side.

A period instead of a comma may work in some software, but this tool reports it for review as incompatible syntax. Check that the file is actually SRT before changing it. WebVTT normally uses periods and has a different file header; renaming a .vtt file to .srt does not convert it.

PartValue in the exampleMeaning
Start00:01:02,50062.5 seconds
End00:01:05,00065 seconds
Duration65 − 62.52.5 seconds

Try a two-cue repair without dropping dialogue

This invented practice file contains one valid cue and one malformed timestamp. Paste both blocks into the checker. The second block uses a period in its start time. The checker can read the first cue, but that does not mean the whole file is safe to export. Keep the second line of dialogue in the source while you repair its timestamp.

1
00:00:01,000 --> 00:00:03,000
The door is open.

2
00:00:04.000 --> 00:00:06,000
Please come inside.
CheckBefore repairAfter repair
Second cue start00:00:04.00000:00:04,000
Readable cues12
Second cue durationCannot be checked2.000 seconds
Gap after first cueCannot be checked1.000 second
Dialogue to preserveBoth sentences in the sourceBoth sentences in the export

Do not copy frame numbers into milliseconds

An editor may show hours:minutes:seconds:frames. The final field in 00:00:01:12 can mean 12 frames, not 12 milliseconds. Confirm the display format, frame rate and timeline origin before converting it to SRT. Changing the last colon to a comma and padding the number can produce valid syntax at the wrong time.

For this invented example, assume a constant 25 fps timeline starts at 00:00:00:00 and its zero matches the video used by the SRT. Twelve frames take 12 ÷ 25 = 0.480 seconds. The interval 00:00:01:12 to 00:00:03:12 therefore becomes 00:00:01,480 to 00:00:03,480. Writing ,012 instead makes both endpoints 468 milliseconds early while leaving the two-second duration unchanged.

1
00:00:01,480 --> 00:00:03,480
The door is open.
InterpretationSRT start → endWhat the checker sees
12 copied as milliseconds00:00:01,012 → 00:00:03,012Valid syntax; wrong for this 25 fps example
12 frames converted at 25 fps00:00:01,480 → 00:00:03,480Valid syntax; matches the stated calculation

Use the audio to choose the correction

A value such as 00:00:65,000 has an out-of-range seconds field. If 65 seconds was intended, write 00:01:05,000. If the source meant 6.5 seconds, write 00:00:06,500. The audio or source project is needed to choose between them.

Check the boundary before you export

Blank lines separate blocks. A blank line inside a subtitle can leave its remaining text looking like a new malformed block. Reconnect the intended text, then leave a blank line only at the block boundary.

After format errors are resolved, inspect the export preview. Subtitle Workbench numbers cues from one in their current order, writes consistent line endings, and preserves subtitle text. It does not sort cues or infer missing timestamps. Watch the export in the intended player before replacing a delivered version.

Sources

How the tool and guides are made

Try the SRT checker · All guides · Read as Markdown