What is an SRT file, and how do you make one?
An SRT file (SubRip Subtitle) is a plain text file with a video’s subtitles and their times. Each subtitle is a number, a line saying when it appears and disappears, such as 00:00:01,000 --> 00:00:04,200, the words, and a blank line. You can write one in any text editor and save it as UTF-8 with the .srt ending, and YouTube, VLC and most video editors will read it. Typing every time by hand is slow, though; the quick way is to have the speech written out for you and fix it.
What’s inside an SRT file
1
00:00:01,000 --> 00:00:04,200
Welcome to the lake.
2
00:00:04,600 --> 00:00:07,900
This is where we swim
every morning in summer.- The number counts from 1 and goes up by one for each subtitle.
- The time line is hours:minutes:seconds,milliseconds for the start, an arrow
-->with a space on each side, and the end. Note the comma before the milliseconds; WebVTT files use a dot. - The text is one or two short lines. A new line in the file is a new line on screen.
- A blank line ends each subtitle.
- Many players understand
<i>,<b>,<u>and<font color>, but they aren’t part of an official standard, so some show the tags as text. There’s no official encoding either: save as UTF-8, which is what YouTube asks for.
Make an SRT file by hand
- On a Mac: open TextEdit, start a new document and press Shift-Command-T (Format › Make Plain Text). On Windows: open Notepad.
- Type the subtitles in the pattern above: number, time line, text, blank line. Play the video next to it and write down when each sentence starts and ends.
- Save the file with a name that ends in .srt, such as
holiday.srt, and choose UTF-8 as the encoding. TextEdit asks whether to keep .srt or use .txt: choose .srt. In Notepad, set the file type to all files so it doesn’t add .txt.
That works for a short clip. For anything longer, finding every time by hand is the slow part.
Make an SRT file from a video on your iPhone
- Open Undertekst, tap Choose Video, pick the video and choose the language that’s spoken.
- The speech is written out on your iPhone, with times. Fix any wrong words, and drag the edges of a line on the timeline to adjust when it shows.
- Tap Save and Share and, under Share the Subtitles, choose Subtitle File (.srt). Send it with AirDrop, save it in Files or mail it. Web Subtitles (.vtt) is right below it.
The video never leaves your iPhone, there’s no account, and its App Store label shows no data used to track you. The same lines can also be burned into the video. The app costs $1.99, once.
Where to use the SRT file
- YouTube: in YouTube Studio, choose Subtitles, the video, Add language, then Add under Subtitles › Upload file › With timing, as YouTube explains.
- VLC and many other players: give the .srt the same name as the video and put it in the same folder (
holiday.mp4andholiday.srt), and the subtitles load by themselves. - Video editors on a computer: most can import an .srt as a subtitle track you can still edit.
- Instagram and TikTok: their apps have no way to attach an .srt file to a post, and neither can iMovie. There the subtitles have to be burned into the picture: here’s how on TikTok and on Instagram Reels.
SRT, VTT or burned in?
- SRT: a separate file. The viewer can turn the subtitles on and off, and you can correct or translate them later without exporting the video again.
- WebVTT (.vtt): the same idea for web pages and HTML5 players. The file starts with
WEBVTT, uses a dot before the milliseconds and can also place and style the text (W3C spec). - Burned in: the subtitles are part of the picture. They show everywhere, also on Instagram and TikTok, but can’t be turned off or changed afterwards.
Undertekst makes all three from the same lines, so you don’t have to choose.
Sources, checked 24 October 2026: Wikipedia: SubRip · YouTube Help: add subtitles · W3C: WebVTT