SRT Basics 6 min read

What Is an SRT File? SRT Format, Structure, and Example

Learn what an SRT file is, what the .srt extension means, how SRT subtitle files are structured, and see a simple SRT file example.

An SRT file is a text file that stores subtitles and the times when each subtitle should appear and disappear. The .srt extension refers to the SubRip subtitle format.

An SRT file does not contain the video or audio itself. It works alongside a video or audio file and tells a compatible player what text to show at each time.

Because the file contains readable text, you can open an SRT file in a normal text editor and see the subtitle text and timing information.

What Does SRT Stand For?

SRT refers to SubRip, the software associated with the format.

You may see people use several names for the same type of file:

  • SRT file
  • .srt file
  • SubRip file
  • SRT subtitle file
  • SubRip subtitle file

They normally refer to the same text-based subtitle format.

What Does an SRT File Look Like?

A basic SRT file is made of subtitle blocks. Each block contains a sequence number, a start and end time, the subtitle text, and then a blank line.

Here is a simple SRT file example:

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

2
00:00:06,500 --> 00:00:09,000
This is an example subtitle.

3
00:00:10,000 --> 00:00:13,500
Each subtitle has its own timing.

You can use this block as a simple SRT template. Just change the number, timecode, and text for each new subtitle.

The first subtitle appears at 2 seconds and disappears at 5 seconds. The next subtitle starts at 6.5 seconds.

This simple structure makes SRT files easy to read and edit.

SRT File Structure

A standard subtitle block has four main parts.

PartExampleWhat it does
Sequence number1Shows the order of the subtitle
Timecode00:00:02,000 --> 00:00:05,000Sets when the subtitle appears and disappears
Subtitle textWelcome to the video.Contains the words shown on screen
Blank lineEmpty lineSeparates one subtitle block from the next

The same structure repeats until the end of the file.

Understanding the SRT Time Format

SRT timing normally follows this pattern:

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

This means:

  • HH = hours
  • MM = minutes
  • SS = seconds
  • mmm = milliseconds

For example:

00:01:15,250 --> 00:01:18,750

The subtitle starts at 1 minute, 15 seconds, and 250 milliseconds. It disappears at 1 minute, 18 seconds, and 750 milliseconds.

SRT uses a comma before the milliseconds. The start and end times are separated by -->.

What Is the .SRT File Extension?

The .srt part at the end of a filename identifies it as an SRT subtitle file.

For example:

movie.srt

The file is still text-based. It is not a video file.

You may also see a video and subtitle file placed together like this:

movie.mp4
movie.srt

Using matching base filenames can help compatible media players associate the subtitle file with the video.

What Are SRT Files Used For?

SRT files are used to provide timed text for video or audio.

A typical SRT file can contain:

  • Dialogue subtitles
  • Translated subtitles
  • Captions
  • Timing information for each line

The subtitle file stays separate from the video unless it is later added to a container or processed into the video in another way.

Is an SRT File a Text File?

Yes. An SRT file is a human-readable text file with a specific subtitle structure.

You can open one in a text editor such as Notepad and read the contents. You can also change the subtitle text or timing manually.

The important part is keeping the SRT structure valid. Incorrect timecodes, missing separators, or badly arranged blocks can cause playback problems in some software.

SRT Files Compared With Image-Based Subtitles

SRT subtitles store the subtitle words as text. This is different from PGS and other image-based subtitle formats.

PGS subtitles store the visible subtitle as images rather than normal editable text. When PGS subtitle data is stored or extracted as a SUP file, converting it to SRT usually requires optical character recognition, or OCR, to read the text from those images.

If you have a SUP or PGS subtitle, use the site’s SUP to SRT converter to turn the image-based subtitles into editable SRT text.

SRT Format Limitations

SRT is designed mainly for subtitle text and timing. Its basic structure does not provide the advanced styling and positioning controls found in some other subtitle formats.

Some players and tools recognize additional formatting tags in SRT files, but support can vary. Do not assume that every style will look the same in every player.

Is There an Official SRT Syntax or Specification?

No. SRT does not have one formal official specification. Its structure is based largely on established use and software support.

Can You Edit an SRT File?

Yes. Since SRT is text-based, you can edit the subtitle text and timestamps with a text editor or subtitle editor.

For a small correction, a normal text editor may be enough. For larger timing changes or many subtitles, subtitle editing software can make the work easier.

SRT File FAQ

What is an SRT file?

An SRT file is a text-based subtitle file. It contains subtitle text and timestamps that tell a media player when each subtitle should appear and disappear.

What does SRT stand for?

SRT refers to the SubRip subtitle format.

What is an SRT file for video?

It is a subtitle file used alongside video. The SRT file contains timed text, while the video remains in its own media file.

What does an SRT file look like?

It looks like a normal text file divided into numbered subtitle blocks. Each block has a number, start and end time, subtitle text, and a blank line.

What is the SRT file format?

SRT is a plain-text subtitle format. A typical block uses a sequence number, a timecode such as 00:00:02,000 —> 00:00:05,000, subtitle text, and a blank line.

What is the SRT file extension?

The filename extension is .srt.

What is an SRT file type?

It is a text-based subtitle file type used to store timed subtitle or caption text.

What are SRT files used for?

They are used to show timed subtitles or captions with video and audio.

Can I open an SRT file in Notepad?

Yes. SRT files are readable text files, so a normal text editor can open them.

Does an SRT file contain video?

No. An SRT file contains subtitle text and timing information. It does not contain the video or audio itself.

What is the full form of SRT?

SRT refers to the SubRip subtitle format.

Is there an official SRT file specification?

No. SRT does not have one formal official specification. Its structure is based largely on established use and software support.

Share this article: