SubRip (file extension .srt) is one of the most widely used subtitle formats, known for its simplicity and broad compatibility.
SubRip was created by French programmer Brain in 2000 for the SubRip program (written in Borland Delphi). Despite being over two decades old, it remains the most popular subtitle format today and is the default format in Subtitle Edit.
Key Features:
Pros:
Cons:
A SubRip file consists of sequential subtitle blocks, each containing:
hours:minutes:seconds,milliseconds --> hours:minutes:seconds,milliseconds
Important notes:
,) is used as decimal separator (not period)Examples:
00:00:01,000 --> 00:00:03,500
00:01:15,250 --> 00:01:18,750
01:30:45,100 --> 01:30:50,900
1
00:00:01,000 --> 00:00:03,000
Hello, World!
2
00:00:03,080 --> 00:00:05,080
This is a simple subtitle.
3
00:00:05,160 --> 00:00:07,160
It supports multiple
lines of text.
SubRip originally supported only plain text, but modern players support HTML-like formatting tags.
<i>This text is italic</i>
<b>This text is bold</b>
<u>This text is underlined</u>
<font color="#ff0000">Red text</font>
<font color="#00ff00">Green text</font>
<font color="#0000ff">Blue text</font>
Note: Colors are specified in hexadecimal RGB format (not BGR like ASS).
Some players support:
<font face="Arial">Arial font</font>
<font size="24">Large text</font>
<font face="Courier" size="18" color="#ff0000">Combined attributes</font>
Note: Font face and size support varies widely between players. Test with your target player.
<b><i>Bold and italic</i></b>
<font color="#ff0000"><b>Bold red text</b></font>
Many modern players support ASSA-style override tags in SubRip files, enclosed in curly braces {}:
1
00:00:01,000 --> 00:00:03,000
{\an8}Top-aligned text
2
00:00:03,000 --> 00:00:05,000
{\an2}Bottom-centered (default)
3
00:00:05,000 --> 00:00:07,000
{\an7}Top-left corner
Alignment values (numpad-style):
7 (Top-left) 8 (Top-center) 9 (Top-right)
4 (Middle-left) 5 (Middle-center) 6 (Middle-right)
1 (Bottom-left) 2 (Bottom-center) 3 (Bottom-right)
{\pos(640,360)}Positioned at center of 1280×720 video
Some players support additional ASSA tags like \fs (font size), \c (color), \bord (border), etc. See ASSA Override Tags for details.
Compatibility note: ASS-style tags in SRT files have inconsistent support. Always test with your target player.
1
00:00:01,000 --> 00:00:03,000
Normal text.
2
00:00:03,080 --> 00:00:05,080
Two
lines.
3
00:00:05,160 --> 00:00:07,160
<i>Italic</i>
4
00:00:07,240 --> 00:00:09,240
<b>Bold</b>
5
00:00:09,320 --> 00:00:11,320
<u>Underline</u>
6
00:00:11,400 --> 00:00:13,400
<font color="#ff0000">Red</font>
7
00:00:13,480 --> 00:00:15,480
{\an8}Top aligned
8
00:00:15,560 --> 00:00:17,560
<b><i>Bold and italic</i></b>
9
00:00:17,640 --> 00:00:19,640
<font color="#00ff00"><b>Bold green text</b></font>
10
00:00:19,720 --> 00:00:21,720
Line one
Line two
Line three
SubRip files should be saved as:
Best practice: Always use UTF-8 without BOM for international character support.
Example:
1
00:00:01,000 --> 00:00:03,000
First line
Second line
2
00:00:03,000 --> 00:00:05,000
Next subtitle
Problem: Using period (.) instead of comma (,) in timecodes
Wrong: 00:00:01.000 --> 00:00:03.000
Right: 00:00:01,000 --> 00:00:03,000
Problem: Missing blank line between subtitle blocks
Wrong:
1
00:00:01,000 --> 00:00:03,000
Text one
2
00:00:03,000 --> 00:00:05,000
Text two
Right:
1
00:00:01,000 --> 00:00:03,000
Text one
2
00:00:03,000 --> 00:00:05,000
Text two
Problem: Player doesn’t support HTML formatting Solution: Use a different player or convert to a format with better styling support (e.g., ASS)
Problem: Wrong character encoding Solution: Save file as UTF-8 without BOM
Problem: Incorrect timecodes or frame rate mismatch Solution: Use Subtitle Edit’s sync features or adjust FPS
Recommended display duration based on character count:
| Characters | Minimum Duration | Comfortable Duration |
|---|---|---|
| 1-20 | 1.0 seconds | 1.5 seconds |
| 21-42 | 1.5 seconds | 2.5 seconds |
| 43-64 | 2.5 seconds | 3.5 seconds |
| 65-84 | 3.5 seconds | 4.5 seconds |
Note: These are guidelines. Adjust based on language, complexity, and target audience.
Subtitle Edit can convert many formats to SubRip:
| Property | Value |
|---|---|
| File Extension | .srt |
| MIME Type | application/x-subrip, text/srt |
| Character Encoding | UTF-8 (recommended), UTF-8 with BOM, ANSI |
| Line Endings | Windows (CRLF), Unix (LF), or Mac (CR) |
| Timecode Format | HH:MM:SS,mmm --> HH:MM:SS,mmm |
| Timecode Precision | Milliseconds (3 digits) |
| Maximum File Size | No limit (typically a few KB to MB) |
SubRip format has evolved over time:
Note: There is no official specification for SubRip. The format is defined by common practice and player implementations.