What an SRT file is and why you need one

An SRT file is a plain text document that holds subtitles or captions for a video. SRT stands for SubRip, and it's the most widely supported subtitle format across video players, streaming platforms, and editing software. When you create an SRT file, you're writing out the words that appear on screen, the exact timing for when each line shows up, and how long it stays visible.

You need an SRT file if you're uploading video to YouTube, sharing content with international audiences, making your videos accessible to deaf and hard-of-hearing viewers, or submitting work to a platform that requires separate subtitle files. Many video editors and players can read SRT files directly, so once you create one, you can reuse it across multiple platforms.

The good news is that creating an SRT file requires only a text editor — the same program you'd use to write an email or a note. You don't need special software or technical skills, just patience and attention to timing.

Key Takeaways

  • An SRT file is a text document containing subtitle text, sequence numbers, and precise timing information that tells a video player when to display each line.
  • You can create an SRT file in any text editor like Notepad, Word, or Google Docs, as long as you save it with the .srt file extension.
  • Each subtitle entry needs four parts: a sequence number, a timecode showing start and end times, the subtitle text, and a blank line before the next entry.
  • Timing is critical — you must format it as HH:MM:SS,mmm (hours, minutes, seconds, milliseconds) so the subtitles appear and disappear at exactly the right moment.
  • You can test your SRT file by opening it in a free video player like VLC or uploading it to YouTube to see if the timing and text are correct.

The exact structure of an SRT file

Every SRT file follows the same four-part pattern for each subtitle. Understanding this structure is the foundation for creating one that actually works.

The first part is a sequence number — just a counting number starting at 1, then 2, 3, and so on. This tells the video player the order of your subtitles. The second part is the timecode, which looks like this: 00:00:05,000 --> 00:00:10,500. This means the subtitle starts at 5 seconds and ends at 10.5 seconds. The format is always hours:minutes:seconds,milliseconds. The third part is the actual subtitle text — what you want people to read. The fourth part is a blank line, which separates each subtitle entry from the next one.

Here's what a real SRT file looks like with three subtitles:

100:00:05,000 --> 00:00:10,500Welcome to the tutorial.200:00:10,500 --> 00:00:15,000Today we're learning how to make subtitles.300:00:15,000 --> 00:00:20,000It's easier than you think.

Notice that the timecode uses a comma for milliseconds, not a period. Notice also that there's a blank line between each entry. Both of these details matter — if you use a period instead of a comma, or forget the blank line, the video player may not read the file correctly.

Step-by-step: Creating your SRT file

Open a plain text editor. On Windows, use Notepad. On Mac, use TextEdit (but switch it to plain text mode first by going to Format menu and selecting "Make Plain Text"). On any computer, you can also use Google Docs or a free online text editor.

Start typing your first subtitle entry. Type the number 1, press Enter, then type your timecode. For the timecode, you need to know exactly when the first subtitle should appear and when it should disappear. If your video starts with someone saying "Hello" at the 2-second mark and they finish at the 5-second mark, your timecode would be 00:00:02,000 --> 00:00:05,000. Press Enter and type the subtitle text. Press Enter twice to create a blank line, then start your second entry with the number 2.

The hardest part is getting the timing right. You'll need to watch your video and note down the exact second when each line of dialogue starts and ends. If you're working from a script, go through it line by line and mark the timing as you watch. Many people do this by playing the video in a media player like VLC, pausing at key moments, and writing down the timestamp shown in the player.

Once you've typed all your subtitles, save the file. Click File, then Save As. Name your file something clear like "myvideo.srt" — the .srt extension is what tells the video player this is a subtitle file. Make sure you're saving it as a plain text file, not as a Word document or PDF.

Finding the exact timing for your subtitles

The most common mistake people make is guessing at timing instead of measuring it. Guessed timing looks sloppy — subtitles appear too early or too late, or they stay on screen after the person stops talking.

Use VLC Media Player, which is free and available on Windows, Mac, and Linux. Open your video in VLC, then use the arrow keys to move forward one frame at a time. At the bottom of the window, VLC shows you the exact timestamp. When you see the moment a line of dialogue starts, write down that time. When it ends, write down that time too. This is slower than guessing, but it takes only a few minutes per video and the result looks professional.

If you're working with a script that was already timed out — for example, if you're transcribing a podcast that has timestamps — you can use those numbers directly. If you're creating subtitles for a video you made yourself, you probably remember roughly when each section happens, so start with your best guess and then refine it by watching the video back with your SRT file loaded.

Testing your SRT file before you upload it

Before you submit your SRT file anywhere, test it to make sure it works. The easiest way is to open it in VLC Media Player alongside your video. In VLC, go to Subtitle menu, then Open Subtitle File, and select your .srt file. VLC will display your subtitles over the video. Watch through and check that the timing is correct — do the subtitles appear when the person starts talking, and disappear when they stop?

Look for text errors too. Read through each subtitle and make sure there are no typos, and that the text makes sense. Check that you haven't accidentally split a sentence across two subtitles in a confusing way. If you find timing problems, open your SRT file in your text editor, adjust the timecodes, save it, and test again in VLC.

Another way to test is to upload your video and SRT file to YouTube as an unlisted video (visible only to you). YouTube will display your subtitles, and you can see how they look on the actual platform where people will watch them. This also catches formatting problems that VLC might not catch.

Common mistakes and how to fix them

The most frequent error is using the wrong separator in the timecode. The arrow between start and end time must be two hyphens and a greater-than sign: -->. If you type a single dash or an arrow symbol from your keyboard, it won't work. Similarly, the milliseconds must be separated from seconds by a comma, not a period.

Another common problem is forgetting the blank line between entries. Every subtitle entry must end with a completely empty line before the next number starts. If you don't include this blank line, the video player may skip that subtitle or read multiple entries as one.

Timing that's off by a second or two is noticeable and distracting. If your subtitles are consistently early or late, you can fix this by adjusting all your timecodes by the same amount. If every subtitle is 2 seconds too early, add 2 seconds to every start and end time. If you only have a few subtitles with bad timing, edit just those entries.

If your text contains special characters — quotation marks, apostrophes, accented letters — make sure you save your file as UTF-8 encoding. This is the standard for SRT files and ensures that special characters display correctly. Most text editors default to UTF-8, but if your subtitles look garbled when you test them, check your save settings.

Where to use your finished SRT file

Once your SRT file is complete and tested, you can upload it to most video platforms. YouTube accepts SRT files directly — when you upload a video, there's an option to add subtitles, and you can select your .srt file. Vimeo, Dailymotion, and many other video sites work the same way.

You can also use your SRT file with video editing software. If you're editing in Adobe Premiere, DaVinci Resolve, or CapCut, you can import your SRT file and the software will automatically place the subtitles into your timeline at the correct times. This is useful if you want to style the subtitles — change the font, color, or size — before you export the final video.

Some people embed subtitles directly into the video file itself, which means they become permanent and can't be turned off. Others keep the SRT file separate, which lets viewers choose whether to display subtitles. Keeping them separate is usually better because it gives people options and makes it easier to fix timing mistakes later without re-exporting the entire video.

Frequently Asked Questions

Can I use Microsoft Word to create an SRT file?

Yes, but you must save it as plain text, not as a Word document. Open Word, type your subtitles in the correct format, then go to File > Save As and choose "Plain Text (.txt)" from the file type dropdown. Then rename the file to end in .srt instead of .txt. If you save it as a .docx file, video players won't recognize it.

What if my subtitle text is longer than one line?

You can put multiple lines of text in a single subtitle entry. Just press Enter within the text section to create a new line. The entire block of text will appear on screen together and disappear at the same time based on your timecode. Most video players display up to three lines of subtitle text, so keep each entry relatively short.

How do I adjust timing if all my subtitles are too early or too late?

If every subtitle is off by the same amount, you can add or subtract that time from every timecode. If they're all 3 seconds too late, subtract 3 seconds from every start and end time. Some SRT editing tools can do this automatically, but you can also do it manually by opening the file in your text editor and adjusting each timecode.

Can I use an SRT file with a video I'm sharing on social media?

It depends on the platform. YouTube, TikTok, and Instagram all support subtitle uploads, though the process is different for each one. Facebook and Twitter have more limited subtitle support. Check the platform's documentation to see if they accept SRT files or if they use a different format.

What's the difference between an SRT file and other subtitle formats?

SRT is the most common and widely supported format, which is why it's the best choice for most situations. Other formats like VTT (WebVTT) and ASS have additional features, but SRT works everywhere and is the simplest to create and edit by hand.