An SRT file is a plain text document that holds subtitles with timing information

An SRT file (SubRip Subtitle) is a text file that contains subtitles for a video. It tells your video player what words to display, when to show them, and when to hide them. You create one by writing subtitle text in a specific format, then saving it as a .srt file. Video players like VLC, Windows Media Player, and most streaming platforms can read SRT files and display the subtitles over your video automatically.

The format is straightforward: each subtitle has a number, a start time and end time, the subtitle text, and a blank line before the next one. You do not need special software — a plain text editor like Notepad (Windows), TextEdit (Mac), or gedit (Linux) works fine. Once you save the file with the .srt extension and place it in the same folder as your video, most players will find it and use it without you having to do anything else.

Key Takeaways

  • An SRT file is plain text that contains subtitles, their start and end times, and nothing else — no formatting, no images, no video.
  • The format requires a number, a timestamp line showing start and end time, the subtitle text, and a blank line between entries.
  • You can create an SRT file in any text editor and save it with a .srt extension in the same folder as your video file.
  • Most video players automatically detect and display SRT files if the filename matches the video filename (for example, movie.mp4 and movie.srt).

The exact format an SRT file needs

Every SRT file follows the same structure. Start with the number 1, press Enter, then type the start time and end time separated by an arrow (-->), press Enter, type your subtitle text, press Enter twice to create a blank line, then repeat with number 2 for the next subtitle.

The timestamp format is always hours:minutes:seconds,milliseconds. For example, 00:00:05,000 means 5 seconds in, and 00:01:30,500 means 1 minute and 30 and a half seconds in. Here is what the first few lines of a real SRT file look like:

1 00:00:05,000 --> 00:00:10,000 Welcome to the video 2 00:00:10,500 --> 00:00:15,000 This is the second subtitle 3 00:00:15,500 --> 00:00:20,000 And here is the third one

The blank line between entries is required — the player uses it to know where one subtitle ends and the next begins. If you skip it, the player will not read the file correctly. You can have multiple lines of text in a single subtitle entry, and they will all appear at the same time.

Creating an SRT file step by step

Open Notepad (Windows), TextEdit (Mac), or any plain text editor. Do not use Microsoft Word or Google Docs — they add formatting that breaks SRT files. Type your first subtitle entry following the format above: number, timestamp, text, blank line.

To find the exact times, play your video and note when each subtitle should appear and disappear. If your video is 1 minute and 45 seconds long and a subtitle should appear halfway through, that is 00:00:52,500. Count carefully or use a video editor like DaVinci Resolve (free) or Adobe Premiere to see the exact frame numbers and convert them to timestamps.

Once you have typed all your subtitles, save the file. On Windows, click File, then Save As, type a filename (for example, movie.srt), and make sure the file type is set to "All Files" or "Text Document". On Mac, click File, then Save, type the filename with .srt at the end, and make sure the format is set to "Plain Text". The filename should match your video filename — if your video is called movie.mp4, name the SRT file movie.srt.

Matching the SRT file to your video

Place the SRT file in the same folder as your video file. Most video players look for a subtitle file with the same name as the video. If your video is called vacation.mp4, the player will automatically look for vacation.srt in the same folder.

When you open the video in your player, the subtitles should appear automatically. If they do not, right-click the video window and look for a Subtitles or Captions menu — you may need to manually select the SRT file from there. Some players require you to drag and drop the SRT file onto the video window instead.

If the subtitles appear but the timing is off (they show too early or too late), you can edit the SRT file and adjust all the timestamps. Add or subtract the same number of milliseconds from every start and end time to shift all subtitles forward or backward together.

Using online tools to build SRT files faster

If you have a long video and typing timestamps by hand is slow, several free websites let you upload your video and type subtitles while watching it play. The tool automatically records the timing for you. Search for "SRT subtitle editor online" to find options like Subtitle Edit (free software you read) or web-based tools.

These tools show your video on one side and a text box on the other. You play the video, and when a subtitle should appear, you click a button or press a key to mark the start time, type the text, then click again to mark the end time. The tool builds the SRT file for you in the correct format, and you read it when you are done.

Common mistakes that break SRT files

The most common error is using the wrong arrow in the timestamp line. You must use two hyphens and a greater-than sign (-->), not a single arrow (>) or an equals sign (=). If the arrow is wrong, the player will not recognize the timestamp.

Another mistake is forgetting the blank line between entries. Without it, the player reads multiple subtitles as one block and displays them all at once. Also, do not add extra spaces or tabs at the beginning of lines — SRT files are strict about formatting. If you copy and paste from a word processor, it may add invisible formatting characters that break the file. Always paste into a plain text editor first to strip the formatting out.

Timestamps must be in the exact format: hours:minutes:seconds,milliseconds. If you write 5:30 instead of 00:05:30,000, the player will not understand it. Use leading zeros for single-digit numbers.

Frequently Asked Questions

Can I use an SRT file with any video player?

Most modern video players support SRT files, including VLC, Windows Media Player, QuickTime, and web players like YouTube. Some older or specialized players may not. If your player does not automatically detect the SRT file, you can usually drag and drop it onto the video window or select it from a Subtitles menu.

What if my video player does not show the subtitles?

First, make sure the SRT file is in the same folder as the video and has the same filename. If it is, try right-clicking the video and looking for a Subtitles, Captions, or Tracks menu. You may need to manually select the SRT file from there. If the player still does not recognize it, open the SRT file in a text editor and check that the timestamps use the correct format (hours:minutes:seconds,milliseconds) and that there is a blank line between each subtitle.

Can I edit an SRT file after I create it?

Yes. Open the SRT file in any text editor, make your changes, and save it. You can add or remove subtitles, change the text, or adjust the timing. If all subtitles are off by the same amount, you can add or subtract milliseconds from every timestamp to shift them all at once.

Do I need to convert the SRT file to use it on a website or streaming service?

It depends on the platform. YouTube accepts SRT files directly. Netflix and other streaming services may require you to upload subtitles through their own interface, which may or may not accept SRT format. Check the platform's documentation for what subtitle formats it supports.

What is the difference between SRT and other subtitle formats?

SRT is the simplest and most widely supported format — it is just plain text with timing. Other formats like VTT (WebVTT) and ASS add styling options like color and font changes. For basic subtitles, SRT is usually the best choice because it works everywhere and is straightforward to edit.