To create an SRT file, write each caption as a numbered block: a sequence number on the first line, the start and end time on the second line in the format 00:00:01,000 --> 00:00:04,000, the caption text on the next one or two lines, and a blank line before the next block. Save it as plain text with UTF-8 encoding and a .srt extension. You can type one by hand in Notepad, but for anything longer than a minute or two it is far faster to generate the file from your audio automatically and then correct it.
This guide shows the exact format, how to make an SRT in Notepad, how to generate one automatically, and how to fix the small errors that stop a file from loading.
What an SRT file is
SRT (SubRip Subtitle) is the most widely supported subtitle format. It is just a text file of captions with timings. Because it is separate from the video, viewers can turn the captions on and off, and you can correct a typo without re-exporting the video. YouTube, Vimeo, Facebook, LinkedIn, most course platforms and most media players accept SRT files.
The SRT format, line by line
Every caption in an SRT file is made of four parts:
| Line | Example | What it means |
|---|---|---|
| 1. Sequence number | 1 | Captions are numbered in order, starting at 1 |
| 2. Timing | 00:00:01,200 --> 00:00:04,500 | Start and end time: hours, minutes, seconds, then milliseconds after a comma |
| 3. Text | Open Settings and click Billing. | One or two lines of caption text |
| 4. Blank line | (empty) | Separates this caption from the next one |
So the first two captions of a file look like this when written out in order: 1, then 00:00:01,200 --> 00:00:04,500, then Open Settings and click Billing., then a blank line, then 2, then 00:00:04,700 --> 00:00:07,900, then Choose the invoice template you want., then another blank line, and so on to the end.
The comma before the milliseconds is the detail that trips people up most. SRT uses 00:00:01,200, not 00:00:01.200. A period instead of a comma is the single most common reason an SRT file is rejected.
How to create an SRT file in Notepad
- Open Notepad from the Start menu.
- Play your video in another window and note the start and end time of each sentence.
- Type each caption block in the format above, with a blank line between blocks.
- Click File > Save as.
- Set Save as type to All files, so Notepad does not add
.txt. - Name the file, for example
my-tutorial.srt. - Set Encoding to UTF-8 and click Save.
Writing an SRT by hand is fine for a 30-second clip. For a ten-minute tutorial it can take an hour or more, because you need to find the timing of every line. That is where automatic captions come in.
How to generate an SRT file automatically
Speech recognition can produce the text and timings for you in minutes. You then proofread and fix any misheard words.
In Motion Casts, captions are generated from your voice on your own PC, without uploading the recording:
- Finish your edit first, including trims and pause removal, so the timings match the final video.
- Generate captions for the recording.
- Read through the text and correct any wrong words by editing the caption text directly.
- Export the captions as an SRT file. You can also burn them into the video for social platforms at the same time.
Because the captions are made from your own edit, the timings already match the final video, and Motion Casts lets you fix any word before the SRT is written. Our guide to adding captions to a video automatically goes into proofreading and caption style in more depth.
Caption writing guidelines
A valid SRT file is not automatically a readable one. These widely used guidelines keep captions easy to follow:
- One or two lines per caption. Three lines cover too much of the picture.
- Around 32 to 42 characters per line is a common limit, so lines fit on small screens.
- Show each caption for at least a second, and usually no more than six or seven.
- Break lines at natural points, such as after a comma or between phrases, not in the middle of a name.
- Avoid overlaps. Each caption's start time should come after the previous caption's end time.
- Write technical terms exactly as they appear on screen, including capitalization.
How to upload an SRT file to YouTube
- Open YouTube Studio and select your video.
- Click Subtitles in the left menu.
- Choose or add the video's language, then click Add under subtitles.
- Choose Upload file, select With timing, and pick your SRT file.
- Check a few captions in the preview, then click Publish.
For local playback, many media players load an SRT automatically if it has exactly the same name as the video and sits in the same folder, for example lesson-3.mp4 and lesson-3.srt.
Editing an existing SRT file
Because SRT is plain text, you can fix a typo in Notepad: open the file, correct the word, and save it again with UTF-8 encoding. Do not renumber or retime by hand unless you have to, as a single mistake can break the whole file. Then re-upload it to replace the old version.
Why is my SRT file not working?
| Problem | Likely cause | Fix |
|---|---|---|
| File rejected on upload | Saved as .srt.txt | Turn on file name extensions in File Explorer (in Windows 11, View > Show > File name extensions) and rename it |
| Captions do not appear | Period instead of comma in timestamps | Replace . with , before the milliseconds |
| Only the first caption shows | Missing blank lines between blocks | Add an empty line after each caption's text |
| Strange characters instead of accents | Wrong encoding | Re-save as UTF-8 |
| Captions drift out of sync | Video edited after captions were made | Regenerate captions on the final edit |
SRT file or burned-in captions?
An SRT file is the right choice for YouTube and course platforms, where viewers expect to turn captions on and off. For Shorts, Reels and TikTok, burned-in captions are better, because they show on every device and you control the style. Many creators make both from the same set of captions. See our guide to burning subtitles into a video for the second half of that workflow, and if your recordings are confidential, read why offline auto caption software keeps them on your PC.
Frequently asked questions
What is an SRT file?
An SRT file is a plain text subtitle file. Each caption has a number, a start and end time, and the text to show, with a blank line between captions.
Can I make an SRT file in Notepad?
Yes. Type the captions in the SRT format, then save with the .srt extension and UTF-8 encoding. It is fine for short videos but slow for long ones.
Why is my SRT file not working?
The usual causes are a timestamp with a period instead of a comma before the milliseconds, a missing blank line between entries, or the file being saved as .srt.txt.
