Blog/Education

What Is an SRT File?What's inside one, how to open it, and how to make your own.

An SRT file is a plain text file that holds a video's subtitles. Each subtitle has a number, the time it appears and disappears, and the words to show. It holds no video or sound. The player or site reads the file and shows each line over the video at the right moment.

Published November 5, 2026|6 min read|By the CaptionX team

The Short Answer

  • An SRT file is text only: a number, a start and end time, and the words for each subtitle.
  • SRT is short for SubRip Text. It's the subtitle format most video sites, players and editors accept.
  • To read or edit one, open it in any text editor. To watch it with the video, open both in a player like VLC.
  • To make one, let a tool transcribe your video, or type it by hand following the format below.

What's Inside an SRT File

Here's a complete SRT file with three subtitles. Open any SRT file in a text editor and it looks just like this.

1
00:00:01,000 --> 00:00:03,400
Hi, and welcome back
to the channel.

2
00:00:03,800 --> 00:00:06,500
Today I'll show you what's
inside a subtitle file.

3
00:00:07,000 --> 00:00:09,200
It's simpler than it looks.
Each subtitle is a number, a timecode and the text, with a blank line between subtitles.

The number

Counts up from 1, one number per subtitle, in order.

The timecode

When the subtitle appears and disappears, written as hours:minutes:seconds,milliseconds with --> between the two times. 00:00:01,000 means one second in.

The text

The words shown on screen, on one line or more. Most subtitles use one or two.

A blank line

Ends the subtitle. The next number starts the next one.

Download this example (.srt)

Where the Name Comes From

The format comes from SubRip, a free Windows program first released in 2000. SubRip read the subtitles off videos and DVDs with text recognition, then saved each one with its start and end time in a plain text file ending in .srt.

The program is old, but its file format spread everywhere because it's so simple. Most subtitle files shared online are SRT files (Wikipedia: SubRip).

The Details That Trip People Up

  • Use a comma before the milliseconds. SRT writes 00:00:01,000. A period there (00:00:01.000) is how VTT files write it.
  • Write every time in full. Two digits each for hours, minutes and seconds, and three for milliseconds. One minute and five seconds is 00:01:05,000, not 1:05.
  • Leave one blank line between subtitles. Without it, the next number and timecode get read as text.
  • Save it as UTF-8. SRT has no single official text encoding, so a file saved another way can turn accents and non-Latin letters into gibberish. YouTube only accepts UTF-8.
  • Check the file really ends in .srt. Text editors often add .txt, and a file named captions.srt.txt won't be recognized.
  • Don't count on styling. Some players read simple tags like <i>italic</i>, <b>bold</b> and <font color="yellow">, but they aren't part of the original format and many apps ignore them. YouTube ignores them.

How to Open an SRT File

To read or edit it, open it in any plain text editor: Notepad on Windows or TextEdit on a Mac. You'll see the numbers, timecodes and text exactly as in the example above.

To watch it with the video, use a player that loads subtitle files, like VLC. Give the SRT file the same name as the video and keep both in the same folder, for example holiday.mp4 and holiday.srt. VLC then shows the subtitles as soon as you open the video (VideoLAN wiki). You can also add the file from VLC's Subtitle menu while the video plays.

To fix the text or timing, the free CaptionX SRT editor opens the file in your browser. It shows every subtitle with its times, and flags subtitles that overlap or are too fast to read.

What You Can Do With an SRT File

Add subtitles to a YouTube video. In YouTube Studio, choose Subtitles in the left menu, pick the video, click Add language, then Add under Subtitles. Choose Upload file, then With timing, and pick your SRT (YouTube Help). YouTube accepts basic SRT files saved as plain UTF-8 (supported files).

Import it into your video editor. Premiere Pro, DaVinci Resolve and Final Cut Pro all import SRT files. Step by step: Premiere Pro, DaVinci Resolve, Final Cut Pro.

Translate it. The subtitle translator turns an SRT into another language.

Convert it. Turn it into a VTT file for a website's video player with SRT to VTT, or into plain text, ASS or JSON with the subtitle converter. VTT is the other common text format, and the differences are in SRT vs VTT.

Fix timing that's off. If every subtitle is early or late by the same amount, shift them all at once with the SRT timing adjuster.

Put the captions into the video itself. An SRT stays a separate file, so the captions only show where the file is loaded. To make them part of the picture, burn them in with a video editor. SRT to MP4 turns your SRT into a caption overlay video to place above your footage. If you don't have an SRT yet, Burn Subtitles Into Video makes the captions and burns them in for you.

Making One Yourself

From your video, automatically. Upload it to Audio to SRT, which takes video files too. It writes down what's said, times every subtitle and gives you the SRT file. To check the words against the picture first, use Caption Studio on a computer. It puts the captions on your video, lets you fix any word, and downloads them as an SRT. If you edit in Premiere Pro, the CaptionX plugin makes the captions inside Premiere.

From text you already have. If you have the words but no timings, TXT to SRT splits your text into subtitles and times them at a reading speed you choose. Then check them against the video.

By hand. Type the subtitles in a text editor following the format above, then save the file:

  • Windows (Notepad): choose File, then Save as. Set "Save as type" to All files, name the file with .srt at the end, and pick UTF-8 as the encoding.
  • Mac (TextEdit): choose Format, then Make Plain Text, before you save. Name the file with .srt at the end, and if TextEdit asks, choose Use .srt.

Typing timecodes by hand is slow, so it's best for a few lines. Every way, step by step: how to make an SRT file.

Caption Your Own Video

Upload a video to Caption Studio on your computer. It writes the captions with their timings, lets you fix any word on the video, and downloads them as an SRT file.

Open Caption Studio

Frequently Asked Questions

What does SRT stand for?

SRT is short for SubRip Text, often called SubRip Subtitle. The name comes from SubRip, a free Windows program from 2000 that read the subtitles off videos and DVDs and saved them, with their timings, as .srt files.

Is an SRT file a video?

No. An SRT file holds only text: each subtitle and the times it appears and disappears. The video player or site shows that text over the video.

How do I open an SRT file?

Any plain text editor opens it, such as Notepad on Windows or TextEdit on a Mac. To watch the subtitles with the video, open both in a player like VLC.

Can VLC open SRT files?

Yes. Give the SRT file the same name as the video and keep both in the same folder, and VLC shows the subtitles as soon as you open the video. You can also add the file from VLC's Subtitle menu while the video plays.

Does YouTube accept SRT files?

Yes. YouTube accepts basic SRT files saved as plain UTF-8 text. It ignores any styling tags in the file.

Why do some letters in my SRT file look garbled?

The file was saved in a different text encoding than the app expects. SRT files have no single official encoding, so older files often use another one. Save the file as UTF-8 and the letters show correctly.

Stuck on an SRT File?

Ask in our Discord. Our AI helper usually replies within a minute. Paste the first few subtitles of your file or a screenshot of the error, and say where you're using it.

Ask in Discord

Related articles