What Is an SRT File? How to Open, Edit and Create One

Nov 17, 2026

An SRT file is a plain-text subtitle file. It lists every line of dialogue in a video together with the moment it should appear and disappear on screen. Because it is just text, you can open it in any text editor, and almost every video player and video platform can read it.

SRT stands for SubRip Subtitle, after SubRip, an early program for extracting subtitles from video. The format stuck because it is so simple: no styling, no special software, just numbers, times and text.

What's inside an SRT file

An SRT file is a list of blocks. Each block has four parts:

  1. A number, counting up from 1.
  2. A time line: the start and end time, separated by -->.
  3. The text shown on screen, on one or more lines.
  4. An empty line, which ends the block.

Here is a short example:

1
00:00:01,200 --> 00:00:04,000
Welcome back to the channel.

2
00:00:04,300 --> 00:00:07,850
Today we're looking at three ways
to record better audio at home.

The times use the format hours:minutes:seconds,milliseconds. Note the comma before the milliseconds: that is one of the small details that makes SRT different from other subtitle formats.

SRT vs VTT vs TXT

You will often see SRT next to two other options. Here is how they compare:

SRTVTT (WebVTT)TXT
TimestampsYesYesNo
Time format00:00:01,200 (comma)00:00:01.200 (dot)—
First line of the fileThe first blockWEBVTTThe text
Styling and positioningNot in the basic formatSupported—
Typical useVideo editors, media players, YouTubeWeb video players (HTML5)Reading, notes, search

If you are not sure which one you need, SRT is the safest choice for subtitles: it is the format most tools accept. Choose VTT when a web video player asks for it, and plain text when you only want to read or quote what was said.

How to open an SRT file

To read or edit it, open it with any plain-text editor, such as Notepad on Windows or TextEdit on a Mac (in plain-text mode). You will see the blocks exactly as in the example above.

To watch it with a video, use a media player that supports external subtitles. In VLC, for example, give the subtitle file the same name as the video and keep both in the same folder (interview.mp4 and interview.srt): VLC then loads the subtitles automatically.

To add it to a YouTube video, upload it in YouTube Studio as a subtitle file. YouTube lists SubRip (.srt) among its supported subtitle formats, with two conditions: the file must be plain UTF-8 text, and styling is ignored.

How to edit an SRT file without breaking it

Small mistakes can stop a player from reading the file. When you edit by hand:

  • Keep the time line exactly as it is formatted: two digits for hours, minutes and seconds, three for milliseconds, and the comma.
  • Keep the empty line between blocks. A missing empty line merges two blocks into one.
  • Keep the numbers in order. If you add or delete a block, renumber the blocks after it.
  • Save as UTF-8. Accented letters, Chinese, Arabic and other scripts turn into strange symbols if the file is saved in another encoding.
  • Keep lines short. Long lines are hard to read and may wrap badly on small screens.

If all the subtitles are early or late by the same amount, the times are shifted rather than wrong. Many players and editors have a subtitle delay setting for this, so you don't have to change every line.

How to create an SRT file from audio or video

Typing subtitles by hand takes a long time: you have to listen, type, and note the start and end of every line. Speech recognition does the first draft for you.

With TextifyALL:

  1. Upload your file on the MP4 to SRT page, or MP3 to SRT for audio. Other formats such as MOV, MKV, M4A and WAV work too; see the supported formats.
  2. Wait for the transcription. The speech is recognized automatically in 90+ languages, with a timestamp for every line. Most files are ready in a few minutes.
  3. Download the SRT. The same page also offers VTT, TXT and DOCX, so you can take the format you need.

A few things the SRT file from TextifyALL does for you:

  • Lines are kept short. Long sentences are split at punctuation so each subtitle fits on screen: about 42 characters for languages written with spaces, and about 20 for Chinese and Japanese.
  • The file is UTF-8 text, the encoding YouTube asks for.
  • You can translate it. Choose a target language before you start and you get a separate SRT for each language, with the same timestamps. Subtitles can be translated into 29 languages; the video translator page is set up for this.

AI subtitles are a draft, not a final product. Read them through once before you publish, especially names, numbers and technical terms.

Common questions

Is an SRT file the same as closed captions? An SRT file can hold either. Subtitles usually contain only the dialogue; closed captions also describe sounds, such as [music] or [door slams]. The format is the same; only the content differs.

Can an SRT file contain more than one language? The format doesn't stop you, but players expect one language per file. Use one SRT per language, and name them clearly, for example video.en.srt and video.fr.srt.

Why do my subtitles show strange characters? The file was most likely saved in an encoding other than UTF-8. Open it in a text editor and save it again as UTF-8.

Can I convert an SRT file to plain text? Yes: remove the numbers, the time lines and the empty lines, and what is left is the text. If you create the subtitles with TextifyALL, you can simply download the TXT version as well.

TextifyALL

TextifyALL