What an SRT file is and why you need one

An SRT file is a plain text document that holds subtitles for a video. It contains the words that appear on screen, the exact timing for when each subtitle shows and hides, and nothing else — no formatting, no fonts, no images. Video players like VLC, Windows Media Player, and most online platforms read SRT files and display the subtitles over your video automatically.

You create an SRT file when you want subtitles for a video you own or have made yourself. You might need one for a home video, a presentation, a training recording, or any video file stored on your computer. The file itself is just text, so you can write it in Notepad or any text editor.

The reason SRT files matter is that they are separate from the video file itself. You can add subtitles to a video without changing the original, swap subtitles in and out, or share the same video with subtitles in different languages — all by using different SRT files.

Key Takeaways

  • An SRT file is a text document with three parts per subtitle: a number, a timestamp showing when the text appears and disappears, and the actual words.
  • You create an SRT file in any text editor like Notepad by typing the subtitles in the correct format, then saving it with the .srt file extension.
  • The timestamp format must be exact: hours:minutes:seconds,milliseconds (for example, 00:00:05,000 --> 00:00:10,500).
  • Your SRT file must have the same name as your video file (except for the extension) and sit in the same folder for most video players to find it automatically.
  • If your video player does not find the SRT file on its own, you can manually load it through the player's subtitle menu.

The exact format an SRT file needs

An SRT file follows a strict pattern. Each subtitle block has four parts, in this order: a number, a timestamp, the subtitle text, and a blank line. Here is what it looks like:

1 00:00:05,000 --> 00:00:10,500 This is the first subtitle 2 00:00:11,000 --> 00:00:16,200 This is the second subtitle 3 00:00:17,500 --> 00:00:22,000 This is the third subtitle

The number starts at 1 and goes up by one for each subtitle. It does not have to be consecutive if you delete a subtitle later, but it is easier to keep them in order.

The timestamp tells the video player when to show and hide each subtitle. It always follows this format: hours:minutes:seconds,milliseconds --> hours:minutes:seconds,milliseconds. The arrow is two hyphens and a greater-than sign with spaces around it. If your video is less than an hour long, start with 00. Milliseconds are the three digits after the comma — 500 means half a second, 000 means exactly on the second.

The subtitle text can be one line or two lines. If you use two lines, the player will show both lines at the same time. Do not use three or more lines — most players will cut off the text or display it incorrectly.

The blank line between subtitle blocks is required. Without it, the player will not read the next subtitle correctly.

Creating your SRT file in Notepad

Open Notepad (search for "Notepad" in Windows or find it in Applications on Mac). Type your subtitles in the format shown above. Start with subtitle 1, add the timestamp, type the words, then press Enter twice to create a blank line. Move to subtitle 2 and repeat.

When you are finished typing, go to File and click Save As. Choose a location on your computer — ideally the same folder where your video file is stored. In the filename field, type the name of your video file followed by .srt. For example, if your video is called "birthday_party.mp4", name your SRT file "birthday_party.srt". The name before the dot must match exactly.

In the "Save as type" dropdown, select "All Files" so Notepad does not add .txt to your filename. Then click Save. Your SRT file is now ready to use.

Timing your subtitles correctly

The hardest part of making an SRT file is getting the timing right. You need to know when each line of dialogue starts and stops in your video. The easiest way is to watch the video in a player that shows you the timestamp as it plays.

Open your video in VLC (a free player available on Windows, Mac, and Linux). Play the video and pause it at the moment the first subtitle should appear. Look at the bottom of the window — you will see the current time. Write that time down in the format hours:minutes:seconds,milliseconds. Then play the video again and pause when that subtitle should disappear. Write down that time too. This becomes your timestamp line.

Repeat this for every subtitle in your video. It takes time, but it is the most accurate method. If you have a very long video with many subtitles, you might consider using subtitle editing software like Subtitle Edit (free, Windows only) or Aegisub (free, all platforms), which let you type subtitles while watching and adjust timing more easily. However, for a short video with just a few subtitles, Notepad and VLC work fine.

Connecting your SRT file to your video

Once your SRT file is saved in the same folder as your video with the matching name, most video players will load it automatically. Open your video in VLC, Windows Media Player, or your preferred player, and the subtitles should appear without any extra steps.

If the subtitles do not appear, the player may not have found the file. Check that the SRT filename matches your video filename exactly (except for the extension) and that both files are in the same folder. If they are, you can load the SRT file manually. In VLC, go to Subtitle menu, then Open Subtitle File, and select your SRT file. In Windows Media Player, right-click the video, look for a Subtitles or Captions option, and select your file.

Some online video platforms like YouTube do not use SRT files the same way — they have their own subtitle upload systems. But for any video file on your computer, an SRT file in the same folder will work with nearly every desktop video player.

Common mistakes to avoid

The most common error is saving the file as .txt instead of .srt. This happens when you use Save instead of Save As, or when you forget to change the file type dropdown to "All Files" in Notepad. Always use Save As and double-check the filename ends with .srt.

Another mistake is getting the timestamp format wrong. Remember: the format is always hours:minutes:seconds,milliseconds, with a comma before the milliseconds and spaces around the arrow. If you write 00:05:10.500 (with a period instead of a comma) or 00:05:10,500-->00:05:15,200 (no spaces around the arrow), the player will not read it.

Mismatched filenames cause subtitles not to load. If your video is "my_video.mp4" but your SRT file is "my_video_final.srt", the player will not find it. The names must match exactly before the file extension.

Finally, do not add extra blank lines in the middle of a subtitle block or forget the blank line between blocks. The format is strict — one number, one timestamp line, one or two text lines, then one blank line. Anything else breaks the structure.

Editing and updating your SRT file

If you need to change a subtitle after you have created the file, open it in Notepad again, make your edits, and save. You do not need to do anything to the video — just save the updated SRT file with the same name in the same folder. The next time you play the video, the player will use the new version.

If you want to adjust the timing of all subtitles (for example, if they are all 2 seconds too early), you can edit each timestamp manually in Notepad. Add 2 seconds to every start and end time. This is tedious for a long file, but it works. Subtitle editing software like Aegisub can shift all timings at once, which is faster if you have many subtitles.

Frequently Asked Questions

Can I use Word or Google Docs instead of Notepad?

You can, but you must save the file as plain text, not as a Word document or Google Doc. In Word, use File > Save As and choose "Plain Text" from the file type dropdown. In Google Docs, read the file as "Plain text". Then rename it to end with .srt. Notepad is simpler because it only saves as plain text.

What if my subtitles are out of sync with the video?

Open your SRT file in Notepad and adjust the timestamps. If subtitles appear too early, add a few hundred milliseconds to every start and end time (for example, change 00:00:05,000 to 00:00:05,500). If they appear too late, subtract. Test by playing the video again and checking a few subtitles. Adjust in small increments until they match the dialogue.

Can I have multiple subtitles on screen at the same time?

Yes. In your SRT file, create two subtitle blocks with overlapping timestamps. For example, one subtitle from 00:00:05,000 to 00:00:10,000 and another from 00:00:08,000 to 00:00:12,000 will both appear from 00:00:08,000 to 00:00:10,000. Most players will stack them vertically.

Do I need to convert my SRT file to a different format?

Not usually. SRT is the most widely supported subtitle format. If you need a different format like VTT or ASS, you can open your SRT file in subtitle editing software and export it as a different type. But for most uses, SRT works with any video player.

What if my video player still will not show the subtitles?

Check that subtitles are enabled in the player itself — many players have subtitles turned off by default. Look for a CC button or a Subtitle menu. If subtitles are enabled and still do not appear, verify the SRT file is in the same folder as the video and has the exact same name. If it does and subtitles still do not load, try opening the SRT file manually through the player's subtitle menu instead of relying on auto-detection.