How to make an SRT file.

Updated ยท 4 min read

The short answer

To make an SRT file, write numbered subtitles in a plain text file. Each one gets a number, a start and end time such as 00:00:01,000 --> 00:00:03,500, one or two lines of text, and a blank line. Save it as UTF-8 text with the .srt extension, named like the video.

For anything longer than a short clip, take the timings from the audio. YouTube Studio downloads the caption track of your own video. Fraze writes an SRT or WebVTT file from a video or audio file on your Mac or Windows PC, without uploading it.

On this page
  1. What is an SRT file?
  2. An SRT file you can copy
  3. How to make an SRT file by hand
  4. How to make an SRT file from the audio
  5. Mistakes that break an SRT file
  6. SRT or WebVTT?
  7. Good to know
  8. Questions

What is an SRT file?

1The number, counting up from 1
00:00:01,000 --> 00:00:03,500Start and end, with a comma before the milliseconds
Welcome back to the channel.The text, one or two lines
(blank)A blank line ends the subtitle
One subtitle in an SRT file, part by part.

SRT stands for SubRip Subtitle, after SubRip, an old program that pulled subtitles off DVDs into text files. It is a plain text file that sits next to the video and holds only the words and their timings. The player shows each line at the right moment, so one video can have an English, a Spanish and a German SRT file beside it.

An SRT file you can copy

The example file on a timeline: each subtitle shows from its start to its end time.

Two subtitles, exactly as they appear in the file.

1
00:00:01,000 --> 00:00:03,500
Welcome back to the channel.

2
00:00:03,800 --> 00:00:06,200
Today we are making a subtitle file
by hand.

How to make an SRT file by hand

  1. Open a plain text editor

    On Windows, use Notepad. On a Mac, open TextEdit and choose Format, then Make Plain Text.

  2. Note the times

    Pause the video where each line starts and ends, and write the times in the 00:00:00,000 form.

  3. Type the subtitles

    Follow the example: number, times, text, blank line. Keep them in time order.

  4. Save it as .srt in UTF-8

    In Notepad, set Save as type to All files and Encoding to UTF-8. In TextEdit, end the name with .srt and decline when it offers to add .txt. Name it like the video, as in interview.srt for interview.mp4.

  5. Test it

    Put the file next to the video and open the video in VLC, which loads it from there. On YouTube, upload it in YouTube Studio under Subtitles.

How to make an SRT file from the audio

  1. Open the file in Fraze

    Drop the video or audio file on the Fraze window. You do not have to play it.

  2. Pick the languages

    Set the spoken language. For subtitles in another language, set Translate to it.

  3. Save as SRT or WebVTT

    Open the transcript in History, click Save and choose SRT or WebVTT. Each subtitle can carry the original, the translation, or both.

    Fraze's Save menu with PDF, Word, Text, Markdown, SRT and WebVTT
  4. Check it

    Read it against the video and fix names in a text editor. After Label speakers, each subtitle starts with the speaker's name.

For a video on your own YouTube channel, open Subtitles in YouTube Studio, pick the video, click Edit next to the language, then Options and Download subtitles. YouTube says automatic captions vary in quality and asks creators to review them.

Upload websites also turn a video into an SRT file, but they copy it to their servers. Fraze does it on your computer, from an audio or video file of up to 2 GB.

Mistakes that break an SRT file

  • A period before the milliseconds. SRT uses a comma. The period belongs to WebVTT.
  • A broken arrow. It must be -->, with a space on each side. Word processors can turn the hyphens into a dash.
  • No blank line between subtitles, which merges them.
  • A hidden .txt ending, as in interview.srt.txt. Turn on file extensions to check.
  • The wrong encoding. Accents and non-Latin scripts come out garbled unless the file is UTF-8.
  • Styling tags. YouTube ignores markup in SRT files.

SRT or WebVTT?

First lineTime formatCommon use
SRTThe number 100:00:03,500Video players, editors, YouTube
WebVTTThe word WEBVTT00:00:03.500Video on web pages, YouTube
FrazeWrites eitherThe right one for eachAny session in History

The W3C says WebVTT is based on SRT. Pick SRT for a player, an editor or an upload form that does not say. Pick WebVTT for a video on your own web page.

Good to know

  • To translate an SRT file you already have, the free subtitle translator at getfraze.app/tools/subtitle-translator runs in your browser and keeps the timings.
  • Fraze hears 31 spoken languages and translates into about 50.
  • File time counts toward Fraze's free 30 minutes. After that it is $29.99 once or $2.99 a month, both unlimited.

Questions

What does SRT stand for?

SubRip Subtitle. The name comes from SubRip, a program that copied subtitles from DVDs into text files with the .srt extension.

How do I open an SRT file?

Any plain text editor opens it, such as Notepad or TextEdit. To watch it with the video, keep it in the same folder with the same name and open the video in VLC.

How do I make an SRT file from an MP4?

In Fraze, drop the MP4 on the window, then open the transcript in History, click Save and choose SRT. The file stays on your computer. For your own YouTube videos, YouTube Studio downloads the automatic captions.

Can an SRT file have two languages?

Yes. A subtitle can have two lines, one in each language. Fraze can save each subtitle with the original and its translation under it.

What is the difference between SRT and VTT?

A WebVTT file, often called VTT, starts with the word WEBVTT and uses a period before the milliseconds. SRT uses a comma and numbers every subtitle.

Try it on your next call.

Download Fraze

macOS 14 or later on Apple silicon, and Windows 11. No account needed.