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. It contains three pieces of information for each subtitle: a sequence number, the time it appears and disappears, and the text itself. Video players like VLC, Windows Media Player, and most streaming software read SRT files automatically if the file name matches the video file name.
You need an SRT file when you want to add subtitles to a video you own — either because the original video has no captions, or because you want captions in a different language. Once you create the SRT file and save it in the same folder as your video with the same base name (for example, movie.mp4 and movie.srt), most players will display the subtitles without any extra steps.
Key Takeaways
- An SRT file is a text document with three parts per subtitle: a number, a time range, and the text, separated by blank lines.
- You can create an SRT file in any text editor like Notepad, but timing each subtitle by hand is slow and error-prone.
- Subtitle editing software like Subtitle Edit or Aegisub lets you play the video, click to set start and end times, and type text in sync.
- The SRT file must be saved as plain text (not .docx or .rtf) and placed in the same folder as your video with a matching name.
- Online tools can convert existing subtitle files from other formats into SRT, or generate subtitles from audio if you upload a video clip.
The structure of an SRT file
Every SRT file follows the same pattern. Each subtitle block contains exactly four lines: a sequence number starting at 1, the start time and end time separated by -->, the subtitle text (which can be one or two lines), and a blank line before the next subtitle.
Here is a real example of the first three subtitles in an SRT file:
1 00:00:05,000 --> 00:00:08,500 Welcome to the tutorial. 2 00:00:09,000 --> 00:00:12,000 Today we will learn the basics. 3 00:00:13,500 --> 00:00:17,000 Let's get your free guide.
The time format is always hours:minutes:seconds,milliseconds. The milliseconds are separated by a comma, not a period. Each subtitle should appear for at least one second and no more than five or six seconds, though this depends on how much text there is. If you have a long block of dialogue, split it into two subtitles rather than making one subtitle stay on screen for ten seconds.
Creating an SRT file in a text editor
You can write an SRT file in Notepad (Windows), TextEdit (Mac), or any plain-text editor. Open a new blank document, type the subtitle blocks in the format shown above, and save the file with the .srt extension. On Windows, Notepad will save it as plain text by default. On Mac, open TextEdit, go to Format menu, choose "Make Plain Text", then save.
The main drawback of this method is that you have to time each subtitle by hand. You will need to watch the video separately, note the exact second each line of dialogue starts and ends, then type those times into the text file. For a video longer than a few minutes, this becomes tedious and mistakes are common — a subtitle that starts one second too late will be out of sync for the rest of the video.
This method works best for short videos with only a few subtitles, or if you already have a transcript and just need to add timing. If you are creating subtitles from scratch, subtitle editing software is much faster.
Using subtitle editing software
Dedicated subtitle editors let you play the video, set start and end times by clicking or pressing a key, and type the text in a synchronized way. Subtitle Edit (free, Windows and Linux) and Aegisub (free, Windows, Mac, and Linux) are the most widely used. Both import your video file, show the waveform of the audio, and let you click to mark when each subtitle should appear.
In Subtitle Edit, you open your video file, then use the play controls to find the moment a subtitle should start. You press a key (usually the spacebar or a custom hotkey) to mark the start time, then press it again at the end time. The software fills in the time range automatically. You then type the subtitle text in the text box below. Repeat for each subtitle, and the software builds the SRT file as you work.
Aegisub works similarly but includes a visual timeline at the bottom where you can see all your subtitles at once and drag them to adjust timing. Both programs let you export the finished subtitles as an SRT file. This method is much faster than hand-timing and produces more accurate results, especially for longer videos.
Converting subtitles from other formats
If you already have subtitles in a different format — such as VTT (WebVTT), ASS, SSA, or SUB — you can convert them to SRT using subtitle editing software or an online converter. Subtitle Edit and Aegisub both open non-SRT subtitle files and can export them as SRT. Simply open the file, check that the timing and text look correct, and save it as SRT.
Online converters like CloudConvert, Online-Convert, or Subtitle Tools let you upload a subtitle file in one format and download it as SRT without installing software. These tools work for most common formats, though they do not edit the content — they only change the file format. If your subtitles are in a format the converter does not recognize, try opening the file in Subtitle Edit or Aegisub instead.
Generating subtitles from audio
If you have a video but no subtitle file at all, some online tools can generate subtitles automatically by analyzing the audio. Services like Kapwing, Rev, or Descript upload your video, use speech recognition to transcribe the dialogue, and create an SRT file with timing. These tools are not perfect — they make mistakes on accents, background noise, and technical terms — but they give you a starting point that you can edit in Subtitle Edit or a text editor.
Most of these services charge per minute of video, though some offer a free tier for short clips. If you use the free tier, download the SRT file and edit it yourself to fix any errors before using it with your video. The quality of the transcription depends on how clear the audio is and how much background noise there is.
Saving and naming your SRT file
Once you have created or edited your SRT file, save it as plain text with the .srt extension. The file name must match the video file name exactly, except for the extension. If your video is called vacation_2024.mp4, name the SRT file vacation_2024.srt. Both files must be in the same folder.
When you open the video in a player like VLC or Windows Media Player, the player will automatically detect the SRT file and display the subtitles. If the subtitles do not appear, check that the file names match and that both files are in the same directory. Some players require you to manually select the subtitle file, but most modern players find it automatically.
If you need subtitles in multiple languages, create a separate SRT file for each language and name them with a language code. For example, vacation_2024.en.srt for English and vacation_2024.es.srt for Spanish. Some players will recognize these and let you switch between languages.
Frequently Asked Questions
Can I edit an SRT file in Microsoft Word or Google Docs?
You can open an SRT file in Word or Docs, but you must save it back as plain text, not as a .docx or .odt file. If you save it in Word format, video players will not recognize it. Use Notepad, TextEdit, or a code editor instead, or use dedicated subtitle software that handles the format automatically.
What if my subtitles are out of sync with the video?
Open the SRT file in Subtitle Edit or Aegisub and adjust the timing. Both programs let you shift all subtitles forward or backward by a fixed amount of time, or stretch them to match a longer or shorter video. You can also edit individual subtitle times if only some are out of sync.
How do I add subtitles to a video file permanently?
Creating an SRT file does not embed the subtitles into the video itself — it creates a separate file that players read. To permanently embed subtitles into the video file, you need video editing software like FFmpeg, HandBrake, or Adobe Premiere. This creates a new video file with the subtitles baked in, which is larger but works on any player.
What is the difference between subtitles and captions?
Subtitles translate dialogue from one language to another. Captions include dialogue plus descriptions of sounds (like [door slams] or [music playing]) for deaf and hard-of-hearing viewers. Both use the same SRT format — the difference is in the content, not the file type.
Can I use an SRT file with streaming services like Netflix or YouTube?
YouTube lets you upload an SRT file when you upload a video to your channel. Netflix and other streaming services have their own subtitle formats and do not accept SRT files directly. Check the platform's documentation for the format it requires.