SubRip SRT Format Explained: Sequence Numbers, Timecodes, Text, and Blank Lines

SubRip SRT Format Explained: Sequence Numbers, Timecodes, Text, and Blank Lines

By:

Date:

SubRip SRT is one of the most widely used subtitle formats because it is simple, readable, and supported by countless video players, editing applications, and online platforms. An SRT file is a plain-text document that tells software when to display each subtitle and what text to show. Although the format looks straightforward, small mistakes in numbering, timing, text layout, or blank lines can cause subtitles to appear incorrectly or fail to load.

TLDR: An SRT file is made of repeated subtitle blocks, and each block usually contains a sequence number, a timecode range, subtitle text, and a blank line. Timecodes must follow the pattern hours:minutes:seconds,milliseconds, using a comma before milliseconds. Blank lines are not decorative; they separate one subtitle entry from the next. If an SRT file is not working, the most common causes are malformed timecodes, missing blank lines, or incorrect text encoding.

What an SRT File Looks Like

An SRT file is organized as a sequence of individual subtitle entries. Each entry is often called a subtitle block or cue. A typical block looks like this:

1
00:00:02,000 --> 00:00:05,500
Welcome to the presentation.

2
00:00:06,000 --> 00:00:09,000
Today we will explain how subtitles work.

At first glance, this may appear to be only a numbered list with timestamps. In reality, each line has a specific purpose. The player reads the block from top to bottom: first the sequence number, then the start and end time, then the subtitle text, and finally a blank line that signals the end of that block.

1. Sequence Numbers

The first line of a standard SRT block is the sequence number. It identifies the order of the subtitle entries:

12
00:01:14,200 --> 00:01:16,800
This is the twelfth subtitle.

Traditionally, sequence numbers start at 1 and increase by one for each new subtitle. Many modern players are forgiving and may still display subtitles if the numbers are missing, duplicated, or out of order. However, relying on that tolerance is not good practice. Clean numbering makes the file easier to review, edit, validate, and troubleshoot.

Sequence numbers are especially useful when subtitles are being translated or checked by multiple people. A reviewer can refer to “subtitle 42,” and everyone can locate the same line quickly. For professional workflows, keeping sequence numbers consistent is a sign of careful file preparation.

  • Recommended: Use consecutive numbers starting from 1.
  • Avoid: Duplicate numbers, skipped numbers, or non-numeric labels.
  • Practical note: If you insert or delete subtitles, renumber the file before final delivery.

2. Timecodes

The second line of an SRT block contains the timecode range. This tells the player when the subtitle should appear and disappear:

00:00:10,000 --> 00:00:13,250

The standard format is:

HH:MM:SS,mmm --> HH:MM:SS,mmm

Here, HH means hours, MM means minutes, SS means seconds, and mmm means milliseconds. A crucial detail is that SRT uses a comma before milliseconds, not a period. For example, 00:00:04,500 is correct, while 00:00:04.500 may fail in stricter systems.

The arrow between the start and end time should be written as:

-->

In plain text, this is two hyphens followed by a greater-than symbol. In HTML display, it may appear escaped as >, but inside the actual SRT file it should be the normal greater-than character.

Timing accuracy is essential. If a subtitle starts too early, it can spoil dialogue before it is spoken. If it stays too long, it may overlap with the next line or distract from the video. Subtitles should normally remain on screen long enough to be read comfortably, but not so long that they feel disconnected from the audio.

3. Subtitle Text

After the timecode line comes the text that will be displayed on screen. This can be one line or multiple lines:

00:00:18,000 --> 00:00:21,000
Please review the document
before tomorrow morning.

SRT text is plain text, but many players support limited formatting such as <i> for italics, <b> for bold, and sometimes <u> for underline. For example:

00:00:25,000 --> 00:00:28,000
<i>This line is spoken off screen.</i>

Even when formatting is supported, it should be used carefully. Subtitles are meant to be read quickly. Excessive styling can reduce clarity, especially on small screens. Italics are commonly used for off-screen speech, voice-over, song lyrics, or emphasized terms, but style conventions vary by platform and client.

Line length also matters. If a sentence is too long, it may wrap awkwardly or cover important visual content. A common professional approach is to keep subtitles to one or two lines and avoid overloading the viewer. Where possible, line breaks should follow natural grammar, such as between clauses or phrases.

  • Good: Break lines at natural phrase boundaries.
  • Avoid: Splitting articles from nouns, or verbs from their objects.
  • Check: Whether the target platform has character-per-line limits.

4. Blank Lines

The blank line after each subtitle block is one of the simplest parts of SRT structure, but it is also one of the most important. It tells the software that the current block has ended and the next block is about to begin.

3
00:00:30,000 --> 00:00:33,000
This is one subtitle.

4
00:00:34,000 --> 00:00:36,000
This is the next subtitle.

Without the blank line, some players may merge entries, ignore a subtitle, or fail to parse the file correctly. A blank line should contain no visible characters. Spaces or tabs on an otherwise empty line may not always cause problems, but they can create inconsistencies in stricter validation tools.

The blank line is also what makes SRT files easy for humans to read. Each block is visually separated, allowing editors to scan the document quickly. In professional subtitling, clarity in the file structure reduces the risk of accidental editing errors.

Common SRT Mistakes

Most SRT errors are small but significant. A missing comma, a broken arrow, or an extra line in the wrong place can make subtitles behave unpredictably. The following problems are especially common:

  • Using periods instead of commas in milliseconds, such as 00:00:02.000.
  • Incorrect arrow formatting, such as -> instead of –>.
  • Missing blank lines between subtitle blocks.
  • Overlapping timecodes, where one subtitle starts before the previous one ends.
  • Encoding problems, especially when special characters or non-Latin alphabets are used.

For broad compatibility, SRT files are commonly saved as UTF-8. This helps preserve accents, symbols, and characters from many languages. If a subtitle displays strange symbols instead of readable text, encoding is one of the first issues to investigate.

Best Practices for Reliable SRT Files

A well-prepared SRT file is not merely valid; it is readable, consistent, and appropriate for the viewing context. Editors should check timing against the actual video, confirm that line breaks are sensible, and ensure every subtitle block follows the same structure.

Before delivering an SRT file, it is wise to perform a final review in the video player or platform where it will be used. A file may look correct in a text editor but still reveal timing, wrapping, or character issues during playback. Testing is particularly important for public-facing content, accessibility materials, training videos, and translated subtitles.

Conclusion

The SubRip SRT format remains popular because it is practical and transparent. Its structure depends on four basic elements: sequence numbers, timecodes, subtitle text, and blank lines. Each part has a distinct role, and each must be handled with care. When these elements are correctly formatted, an SRT file can deliver clear, synchronized subtitles across a wide range of platforms and devices.

Categories:

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *