How to Create an SRT File: Complete Subtitle Formatting Guide With Examples

Written by

in

Subtitles are tiny text heroes. They help viewers follow along, even when the sound is off, the room is noisy, or the speaker talks like a caffeinated auctioneer. An SRT file is one of the easiest subtitle formats to create. You can make one with a plain text editor and a little timing magic.

TLDR: An SRT file is a simple subtitle file made of numbered subtitle blocks. Each block has a number, a start and end time, and the subtitle text. Save it as a .srt file using plain text. Keep the timing accurate, the lines short, and the formatting clean.

What Is an SRT File?

An SRT file stands for SubRip Subtitle file. It is a plain text file. It tells a video player what words to show and when to show them.

Good news. You do not need fancy software. You can create an SRT file in apps like Notepad, TextEdit, or any basic text editor. You can also use subtitle editing tools if you want a smoother ride.

An SRT file looks simple. Each subtitle block has four parts:

  • A number for the subtitle order.
  • A timestamp showing when the subtitle starts and ends.
  • The subtitle text viewers will read.
  • A blank line before the next subtitle.

The Basic SRT Format

Here is the classic SRT structure:

1
00:00:01,000 --> 00:00:04,000
Hello there!

2
00:00:04,500 --> 00:00:07,000
Welcome to our video.

That is it. No secret handshake. No dragon guarding the file.

Let’s break it down.

  • 1 is the subtitle number.
  • 00:00:01,000 is the start time.
  • 00:00:04,000 is the end time.
  • Hello there! is the subtitle text.

Understanding SRT Timestamps

SRT timestamps use this format:

hours:minutes:seconds,milliseconds

Here is an example:

00:01:15,250

This means the subtitle appears at 1 minute, 15 seconds, and 250 milliseconds.

The arrow between times must look like this:

-->

Use two hyphens, then a greater-than sign. Add spaces around it. Most video players expect that.

So a full timing line looks like this:

00:01:15,250 --> 00:01:18,700

The subtitle starts at 00:01:15,250. It disappears at 00:01:18,700.

How to Create an SRT File Step by Step

  1. Open a plain text editor. Use Notepad on Windows. Use TextEdit on Mac, but set it to plain text mode.
  2. Watch your video. Pause when someone starts speaking.
  3. Write the subtitle number. Start with 1.
  4. Add the start and end time. Use the exact SRT timestamp format.
  5. Type the subtitle text. Keep it short and clear.
  6. Add a blank line. Then start the next subtitle block.
  7. Save the file as .srt. Use the same name as your video if possible.

For example, if your video is named cooking-demo.mp4, name your subtitle file cooking-demo.srt. This helps many video players find it automatically.

A Complete SRT Example

Here is a small but complete sample:

1
00:00:00,500 --> 00:00:03,000
Today we are making pancakes.

2
00:00:03,300 --> 00:00:06,200
Fluffy pancakes.
The breakfast of champions.

3
00:00:06,800 --> 00:00:09,500
First, grab your flour and eggs.

4
00:00:10,000 --> 00:00:12,000
Do not panic.
This is easy.

Notice the blank line between each subtitle block. That blank line matters. It tells the player, “Okay, this subtitle is done. Next one, please.”

Subtitle Text Rules That Make Life Better

Subtitles should be easy to read. Your viewer should not need superpowers.

Use these simple rules:

  • Keep each subtitle to one or two lines.
  • Aim for 32 to 42 characters per line.
  • Show each subtitle long enough to read.
  • Do not cover important visuals.
  • Match the spoken words when possible.
  • Use punctuation. It helps the brain breathe.

Bad subtitle:

We are now going to take all of these ingredients and mix them together very quickly before the pan gets too hot and everything becomes weird.

Better subtitle:

We will mix the ingredients now.
Do it before the pan gets too hot.

Shorter is kinder. Viewers love kind subtitles.

Can You Format Text in SRT Files?

Yes, but keep it simple. Some players support basic HTML-style tags. Others may ignore them. The safest tags are italic, bold, and sometimes underline.

Examples:

1
00:00:01,000 --> 00:00:03,000
<i>This is whispered.</i>

2
00:00:04,000 --> 00:00:06,000
<b>This is important!</b>

3
00:00:07,000 --> 00:00:09,000
<u>Look at this word.</u>

Use formatting only when it helps. Do not turn every subtitle into a tiny disco poster.

How to Show Sounds and Speaker Names

Subtitles are not only for spoken words. They can also show important sounds.

Use square brackets for sound effects:

[door creaks]
[applause]
[phone ringing]

If multiple people are speaking, add names when needed:

Maria: Are you ready?
Ben: Absolutely not.

You can also use labels for off-screen voices:

Coach: Keep running!
[whistle blows]

This helps viewers understand the scene. It is especially useful for accessibility.

Common SRT Mistakes to Avoid

SRT files are simple, but they are picky. One tiny mistake can cause chaos. Subtitle chaos is not cute.

  • Wrong file extension: Save the file as .srt, not .txt.
  • Missing blank lines: Always leave a blank line between subtitle blocks.
  • Bad timestamp format: Use commas before milliseconds, not periods.
  • Overlapping times: One subtitle should end before the next begins.
  • Too much text: Do not make viewers read a novel in two seconds.
  • Incorrect numbering: Number blocks in order, starting with 1.

Wrong timestamp:

00:00:01.000 --> 00:00:04.000

Correct timestamp:

00:00:01,000 --> 00:00:04,000

How to Save an SRT File Correctly

When saving your file, choose UTF-8 encoding if your editor asks. This helps special characters display correctly. It matters for accents, symbols, and non-English text.

On Windows, choose Save As. Type the full file name in quotes, like this:

"my-video.srt"

This helps prevent Notepad from secretly saving it as my-video.srt.txt. Sneaky Notepad. We see you.

On Mac, use plain text mode in TextEdit. Then save with the .srt extension.

How to Test Your SRT File

Testing is the fun part. Play your video with the SRT file loaded. Watch closely.

Ask yourself:

  • Do the subtitles appear at the right time?
  • Do they disappear too soon?
  • Are the lines easy to read?
  • Are any words misspelled?
  • Does the file load at all?

If something feels off, fix the timing. Then test again. Subtitle work is a little like tuning a guitar. Small changes make a big difference.

Final Tips for Great SRT Subtitles

Great subtitles feel invisible. Viewers read them without thinking. That is the goal.

  • Be accurate. Match the meaning of the speech.
  • Be concise. Cut filler when needed.
  • Be consistent. Use the same style throughout.
  • Be readable. Give people enough time.
  • Be calm. It gets easier fast.

Creating an SRT file is not hard. It is just numbers, timing, and words. Once you understand the pattern, you can subtitle almost anything. Your video becomes easier to watch, easier to share, and more welcoming to everyone. That is a tiny file doing a big job.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *