🔒 Free tier data may be used to improve AI models. Upgrade Pro for 100% Privacy

SRT Format Explained (With Real Example File)

SRT Format Explained (With Real Example File)

2026-03-04 11:21 | 7 min read | 1411 views | Author: Thai Nguyen (Software Engineer)

SRT Format Explained (With Real Example File)

If you’ve ever searched for “correct SRT format” or “SRT file example”, you probably just want one thing:

👉 A clear explanation of how an SRT file is structured — and a real working example.

In this guide, we’ll break down the exact SRT format structure, show you a real example file, explain common mistakes, and help you avoid formatting errors.


What Is an SRT File?

An SRT file (SubRip Subtitle file) is a plain text subtitle format used to display captions in video players like:

  1. YouTube
  2. VLC
  3. Media players
  4. Online video platforms

It contains:

  1. Subtitle index number
  2. Timestamp (start and end time)
  3. Subtitle text
  4. A blank line

That’s it — but the formatting must be exact.


SRT Format Structure Explained

Each subtitle block in an SRT file follows this exact pattern:


[Index Number]
[Start Time] --> [End Time]
[Subtitle Text]

Let’s break it down.


1️⃣ Subtitle Index Number

The index number:

  1. Starts from 1
  2. Increases sequentially
  3. Must not skip numbers

Example:


1
2
3

If numbering is incorrect, some players may fail to load subtitles properly.


2️⃣ Timestamp Format (Very Important)

The correct timestamp format is:


HH:MM:SS,mmm --> HH:MM:SS,mmm

Example:


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

Rules:

  1. Use commas (,) for milliseconds — NOT dots
  2. Use 24-hour format
  3. Always include milliseconds (three digits)
  4. There must be spaces around the arrow -->

❌ Incorrect:


00:00:01.000 --> 00:00:04.500

✔ Correct:


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


3️⃣ Subtitle Text

After the timestamp line:

  1. Write the subtitle text
  2. Can be one or two lines
  3. Avoid too many characters per line
  4. Do not include HTML unless supported

Then leave one blank line before the next subtitle block.


Real SRT File Example

Here is a complete working SRT example:


1
00:00:01,000 --> 00:00:03,000
Hello everyone.

2
00:00:04,000 --> 00:00:06,500
Welcome to this tutorial.

3
00:00:07,000 --> 00:00:10,000
Today we will explain
the SRT format structure.

This file follows all correct SRT format rules:

  1. Proper numbering
  2. Valid timestamps
  3. Correct arrow formatting
  4. Blank line between entries


Common SRT Format Mistakes

Many users search for “SRT not working” because of small formatting errors.

Here are the most common issues:


❌ Using dots instead of commas

Milliseconds must use commas.


❌ Missing blank line between subtitles

Each subtitle block must be separated by one empty line.


❌ Overlapping timestamps

End time of subtitle 1 should not exceed start time of subtitle 2.


❌ Wrong encoding

SRT files should be saved as UTF-8 encoding, especially for non-English languages.


❌ Incorrect arrow format

Must be:


-->

With spaces on both sides.


How to Create a Proper SRT File

There are two ways:

Manual Method

  1. Open Notepad
  2. Follow correct SRT structure
  3. Save file as .srt
  4. Choose UTF-8 encoding

This works — but manual timestamp formatting can be time-consuming.


Generate SRT Automatically (Recommended)

Instead of manually formatting timestamps, you can generate a properly structured SRT file automatically using a tool like:

👉 https://ttsforfree.com/en/video-to-srt/

With TTSForFree, you can:

  1. Upload MP4 or MP3
  2. Automatically generate correct SRT structure
  3. Configure subtitle line length
  4. Export ready-to-use SRT
  5. Restore previous subtitle jobs

This ensures your SRT format is technically correct without manual errors.


Edit, Translate, or Convert Your SRT

Once you have a properly formatted SRT file, you can:

  1. Edit subtitle text
  2. Automatically translate subtitles
  3. Manually refine translations
  4. Convert SRT to AI voice

You can use:

👉 https://ttsforfree.com/en/srt-to-speech/

This allows you to turn subtitles into voiceovers for:

  1. Dubbing
  2. Podcast production
  3. Accessibility


Final Thoughts

The SRT format is simple — but strict.

Every subtitle block must follow the correct structure:

  1. Index number
  2. Timestamp (with commas)
  3. Subtitle text
  4. Blank line

Even small formatting mistakes can break the file.

If you want to avoid manual errors, generating your SRT automatically using a dedicated tool ensures correct formatting every time.

Frequently Asked Questions

Q: What is the correct SRT format structure?

A: A correct SRT file includes an index number, a timestamp line in HH:MM:SS,mmm format, subtitle text, and a blank line between each subtitle block.

Q: What is the proper timestamp format in SRT?

A: The correct timestamp format is HH:MM:SS,mmm --> HH:MM:SS,mmm. Milliseconds must use commas, not dots.

Q: Why is my SRT file not working?

A: Common causes include incorrect timestamp formatting, missing blank lines between subtitles, overlapping timestamps, or saving the file with the wrong encoding.

Q: What encoding should an SRT file use?

A: SRT files should be saved using UTF-8 encoding, especially when subtitles contain special characters or multiple languages.

Q: Can SRT files contain HTML formatting?

A: Standard SRT files are plain text. Some players support limited formatting tags, but HTML is generally not recommended.

Q: How can I create an SRT file automatically?

A: You can use an online video-to-SRT tool to upload an MP4 or MP3 file and generate a properly structured SRT file automatically.

Q: Can I edit or translate an SRT file after creating it?

A: Yes. You can edit subtitle text, translate it into other languages, or even convert it into AI voice using subtitle tools.

Q: What is the difference between SRT and VTT format?

A: SRT is a simple plain text subtitle format, while VTT (WebVTT) is designed for web video and includes additional styling and metadata features.

Was this article helpful?

Related Articles

Latest from Our Blog

Không có bài viết nào