An SRT file (short for SubRip Subtitle) is a plain text file that contains the captions for a video along with the exact times each line of text should appear and disappear on screen. It is the most widely supported subtitle format in the world, readable by YouTube, Instagram, Facebook, TikTok, Vimeo, Premiere Pro, DaVinci Resolve, VLC, and almost every other platform or editor. Because an SRT is just structured text, you can create one for free in any text editor, generate one automatically from a video, or export one from YouTube in a few clicks.
If you have ever turned on subtitles for a video, downloaded captions from YouTube, or uploaded a transcript to make your content accessible, you have almost certainly touched an SRT file without realizing it. The format has been around since the early 2000s, it has barely changed, and that stability is exactly why it has become the universal standard. In this guide we will break down what an SRT file actually contains, show you its precise structure with a real example, and walk through every practical way to create, open, edit, and upload one in 2026.
What an SRT File Actually Contains
An SRT file is nothing more than a sequence of subtitle entries stacked one after another, saved with a .srt extension. There is no special software baked into the file, no encryption, and no proprietary container. Open it in Notepad, TextEdit, or VS Code and you will see the whole thing in plain text. Each subtitle entry, often called a cue or a caption block, is made up of three parts that always appear in the same order, followed by a blank line that separates it from the next entry.
The first part is the sequence number. This is simply a counter starting at 1 and increasing by one for every caption block, so the first caption is 1, the second is 2, and so on. The second part is the timecode line, which tells the player when to show the text and when to hide it. The third part is the actual subtitle text, which can be one line or two, and that is the line viewers read on screen. After the text comes an empty line, which acts as the divider before the next sequence number begins.
The Exact SRT Structure (With an Example)
The timecode line is the part people get wrong most often, so it is worth understanding precisely. It uses the format hours, minutes, seconds, and milliseconds, written as HH:MM:SS,mmm. Notice that the milliseconds are separated by a comma, not a period. That comma is a defining quirk of the SRT format and one of the main things that distinguishes it from the VTT format we will discuss later. The start time and end time are joined by a space, two hyphens, and a greater-than sign, written as an arrow that looks like dashes pointing right.
Here is what a complete, valid SRT file looks like in practice. The first block would read as the number 1 on its own line, then the timecode line 00:00:00,000 followed by the arrow and then 00:00:02,500, then on the next line the text Welcome back to the channel. After a blank line, the second block reads 2, then 00:00:02,500 followed by the arrow and 00:00:05,200, then the text Today we are talking about subtitle files. A third block would be 3, then 00:00:05,200 to 00:00:08,000, then the text And specifically, the humble SRT. Every block follows that identical pattern: a number, a timecode, the words, and a blank line to close it out.
A few rules keep an SRT valid. Times must always use two digits for hours, minutes, and seconds and three digits for milliseconds, so two and a half seconds is written 00:00:02,500, never 0:0:2,5. The end time of a cue must be later than its start time, and ideally cues should not overlap unless you intend two captions to share the screen. The sequence numbers should be continuous with no gaps. If any of these get out of order, some players will silently skip the broken cue or refuse to load the file entirely, which is why automatic tools are so handy. They handle all of this formatting for you.
How to Create an SRT File for Free
There are four reliable ways to create an SRT file without paying for anything, and the best choice depends on whether you are starting from a script, a finished video, or an existing YouTube upload. We will cover all four, starting with the most hands-on and ending with the fastest.
The manual method works when you only have a few lines of text or you want total control. Open any plain text editor, such as Notepad on Windows or TextEdit on Mac (switch TextEdit to plain text mode under the Format menu so it does not add rich formatting). Type your first sequence number, press enter, type the start and end timecodes with the arrow between them, press enter again, type the caption text, then leave a blank line and repeat for the next cue. When you are done, save the file and change the extension from .txt to .srt. Make sure you save it with UTF-8 encoding so accented characters and emoji survive. This approach is tedious for anything longer than a minute of video because you are timing every line by hand, but it is genuinely free and works offline.
The far easier method is to auto-generate the SRT directly from your video using speech recognition. Modern transcription engines listen to the audio, write out every word, and stamp each phrase with accurate start and end times, producing a finished SRT in seconds rather than the hour it would take by hand. This is where a tool like our free SRT subtitle generator saves an enormous amount of time. You upload a video or audio file, the engine transcribes it, and you download a clean, properly formatted .srt that is ready to upload anywhere. If your goal is on-screen captions baked into a clip rather than a sidecar file, our auto caption generator handles that side too. For a deeper walkthrough of how automatic captioning works across platforms, our complete guide to AI subtitles covers the full workflow.
The third method is to export an SRT from YouTube, which is useful if your video is already uploaded there and YouTube has generated automatic captions for it. In YouTube Studio, open the video, go to the Subtitles section, select the language track, and look for the download option in the caption editor menu, where you can choose to download the captions as an .srt file. YouTube's auto-captions are decent but rarely perfect, so review them before reusing them elsewhere. The fourth and final method is to use a video editor that exports subtitles. Premiere Pro, DaVinci Resolve, and CapCut can all generate captions from audio and export them as an SRT, though the speech-to-text quality and the number of free exports vary by tool and version.
How to Open and Edit an SRT File
Opening an SRT file is trivial because it is just text. Right-click the file, choose Open With, and pick any text editor. On Windows, Notepad works fine; on Mac, TextEdit in plain text mode does the job; and across both, free editors like VS Code or Sublime Text make longer files easier to read. If you only want to watch the subtitles in action, drop the .srt next to a video file with the same base name in the same folder, and a player like VLC will automatically load the captions when you play the video.
Editing is where you fix the small things automatic tools occasionally miss, such as a misheard brand name, a number that should be spelled out, or a caption that lingers half a second too long. To retime a cue, change its end timecode to be earlier or later; to merge two cues, delete the second block's number and timecode and combine the text, then renumber everything below it. Because renumbering by hand is error-prone, dedicated subtitle editors like Subtitle Edit (free on Windows) or the editing view inside an online generator will resequence cues automatically and warn you about overlaps. For minor typo fixes, a plain text editor is perfectly adequate. Just remember to re-save as UTF-8 and keep the .srt extension.
Where to Upload an SRT File
Once you have a valid SRT, uploading it is the easy part, and the same file works almost everywhere. On YouTube, open the video in YouTube Studio, go to Subtitles, choose your language, select the upload option, pick your .srt file, and publish. Viewers can then toggle captions on with the CC button, and YouTube treats that text as searchable metadata, which can help discoverability. On Facebook and LinkedIn, the upload happens during or after posting in the captions or subtitles settings for the video. On Vimeo, you add the SRT under the video's Advanced settings in the Distribution and CC section.
Inside editing software, the workflow is slightly different because you are importing the SRT as a caption track rather than attaching a sidecar. In Premiere Pro, use File then Import, bring in the .srt, and drag it onto your timeline as a caption track that you can then style and burn in. DaVinci Resolve and Final Cut Pro import SRTs in a similar way. The key distinction is that platforms like YouTube keep the SRT as a separate, toggleable layer, while editors typically use the SRT as a starting point for captions you render permanently into the video. Both are valid, and which you choose depends on the destination.
SRT vs VTT vs Burned-In Captions
SRT is not the only way to caption a video, and understanding the alternatives helps you pick the right one. The closest relative is the VTT format, formally WebVTT, which was designed for HTML5 web video. VTT looks almost identical to SRT, with the biggest differences being that VTT uses a period instead of a comma before the milliseconds, it begins the file with a WEBVTT header line, and it supports richer styling such as positioning, colors, and inline formatting. If you are embedding video directly on a website with the HTML video element, VTT is often the native choice. For uploading to social platforms and most editors, SRT remains the safer, more universally accepted format.
Burned-in captions, sometimes called hardcoded or open captions, are a different concept entirely. Instead of living in a separate file, the words are rendered permanently into the video pixels themselves, so they can never be turned off. This is the dominant style for Instagram Reels, TikTok, and YouTube Shorts, where most people watch with the sound off and bold, animated, on-screen captions dramatically increase watch time. The tradeoff is that burned-in captions are not searchable, cannot be translated by the viewer, and cannot be toggled off. The pragmatic answer for most creators in 2026 is to use both: burned-in animated captions for short-form vertical clips, and an SRT sidecar for long-form YouTube uploads where accessibility, search, and translation matter.
Best Practices for Clean, Readable SRT Captions
A few habits separate amateur subtitles from professional ones. Keep each caption to roughly one or two lines and aim for no more than about 42 characters per line, because text that wraps to three or four lines covers too much of the frame and is hard to read at a glance. Match the timing to natural speech so a caption appears as the words are spoken and clears once they are finished, rather than racing ahead or lagging behind. As a rough guide, try to keep each caption on screen for at least one second and no longer than about seven, and break lines at natural pauses in the sentence rather than mid-phrase.
Always proofread the text, especially names, numbers, and technical terms, since these are exactly what automatic transcription tends to mishear. Save the file as UTF-8 so non-English characters, accents, and emoji do not turn into garbled symbols. Give the file a sensible name that matches your video when you plan to drop it into a player that auto-loads sidecars. And if you are publishing the same video to multiple platforms, keep one clean master SRT and reuse it everywhere rather than re-transcribing each time. These small disciplines pay off in accessibility, search ranking, and the simple fact that viewers stay longer when captions are accurate and easy to follow.
Frequently Asked Questions
What does SRT stand for? SRT stands for SubRip Subtitle. The name comes from SubRip, an early Windows program that extracted (or ripped) hardcoded subtitles from video into editable text, and the .srt file it produced became the de facto standard. The format outlived the original software by decades because of how simple and universally readable it is.
Can I create an SRT file for free? Yes. You can write one by hand in any free text editor, export one from YouTube's caption editor, generate one from a video using a free SRT subtitle generator, or export one from free editors like DaVinci Resolve and CapCut. None of these require paid software, though automatic generators differ in transcription quality and in how many free exports they allow.
What is the difference between SRT and VTT? Both are plain-text subtitle formats with nearly identical structures. The main differences are that VTT uses a period before milliseconds while SRT uses a comma, VTT starts with a WEBVTT header line, and VTT supports more advanced styling and positioning. SRT is the more universally accepted format for social platforms and video editors, while VTT is the native choice for HTML5 web players.
Why won't my SRT file load? The most common causes are formatting errors. Check that every timecode uses the comma-before-milliseconds format and the correct two-hyphen arrow, that sequence numbers are continuous, that no end time comes before its start time, and that the file is saved with a .srt extension and UTF-8 encoding. A single malformed cue can cause some players to skip it or reject the whole file, which is why automatic generators that format everything correctly are so reliable.
Do I need an SRT file for Instagram Reels or TikTok? Not usually. Short-form vertical platforms strongly favor burned-in captions that are rendered permanently into the video, since most viewers watch on mute and animated on-screen text boosts retention. An SRT sidecar is more valuable for long-form video on YouTube, Vimeo, and the web, where viewers want toggleable, translatable, searchable captions. Vidpal can produce burned-in captioned vertical clips for short-form and clean transcripts you can export as SRT for long-form, so you are covered either way.
How long can captions stay on screen in an SRT? There is no hard technical limit, but readability sets a practical one. Most professional guidelines keep each caption between roughly one and seven seconds and limit each line to about 42 characters across one or two lines. Captions that appear too briefly are impossible to read, while those that linger too long or wrap onto too many lines crowd the frame and distract from the video.
The Bottom Line
An SRT file is one of the simplest and most powerful tools in a video creator's kit: a plain text file of numbered captions with start and end times that any platform can read. You can build one by hand for full control, export one from YouTube in a few clicks, or generate one automatically from your video in seconds. Once you understand the three-part structure (number, timecode, text) and the small formatting rules around it, SRT files stop being mysterious and become a routine part of publishing accessible, discoverable video.
If you would rather skip the manual timing entirely, let automation do the heavy lifting. Generate a clean, ready-to-upload subtitle file with our free SRT subtitle generator, add burned-in captions for your vertical clips with the auto caption generator, and use Vidpal to turn long videos, scripts, and ideas into captioned, ready-to-post Shorts and Reels. Whether you need a toggleable SRT for YouTube or eye-catching animated captions for short-form, the workflow that used to take an hour now takes a couple of minutes.