SRT File Format Explained

An SRT file is a plain text subtitle file: each subtitle has a number, a start and end time, one or two lines of text and a blank line. This simple SRT format is why almost every player, editor and video platform reads it.

SRT stands for SubRip Text, after the old SubRip program that wrote it. A .srt file contains no fonts, colours or video — only the words and the moments they appear and disappear. You can open one in Notepad, edit it by hand and load it in VLC, YouTube, Premiere Pro or DaVinci Resolve.

A subtitle file shown as numbered blocks of timecodes and text next to a video frame

The structure of an SRT file

Here is a complete SRT file with three subtitles:

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

2
00:00:03,800 --> 00:00:06,200
Today we talk about
subtitle files.

3
00:00:06,600 --> 00:00:08,000
<i>Let's begin.</i>

Every subtitle (a “cue”) is a block of four parts:

  1. The number — 1, 2, 3… in order.
  2. The timecode — start time, the arrow -->, end time, written as hours:minutes:seconds,milliseconds.
  3. The text — one or two lines, shown exactly as written.
  4. A blank line — it ends the subtitle. The next block starts with the next number.

SRT format rules

Common SRT errors and how to fix them

What you seeLikely causeFix
The player can't find or open the fileIt was saved as subtitles.srt.txt (Windows hides the .txt)Turn on file name extensions in Explorer and rename it, or save with All files as the type
é instead of é, or �Wrong encodingSave as UTF-8; for an old file pick its encoding when you open it here
Two subtitles shown as one, or some skippedMissing blank line or a broken timecodeAdd the blank line; check the arrow and the comma
Tags like {\an8} appear as textThe player doesn't support themRemove formatting tags
Every subtitle is early or lateSubtitles made for another version of the videoShift them with the subtitle sync tool

Quick repair: open a broken file in the converter below. It reads times with a dot or a comma, even when a blank line is missing, sorts the subtitles, shortens overlaps, numbers them from 1 and saves a clean UTF-8 .srt.

SRT vs VTT vs ASS

SRTWebVTT (.vtt)ASS / SSA
Time format00:00:01,00000:00:01.0000:00:01.00
Stylingitalic, bold, underlineCSS classes, positionsfonts, colours, outlines, positions, karaoke
Best forplayers, editors, YouTube, TVsHTML5 video and web playersstyled subtitles, anime, burning in with FFmpeg
Convert—SRT to VTT · VTT to SRTSRT to ASS · ASS to SRT

How to make an SRT file in Notepad

  1. Open Notepad (on a Mac: TextEdit, then Format → Make Plain Text).
  2. Type the subtitles in the structure above: number, timecode, text, blank line.
  3. Choose File → Save as, set Save as type to All files, name the file video-name.srt and pick UTF-8 as the encoding.

Typing timecodes by hand is slow and easy to get wrong. For more than a few lines, let the converter do it.

How to make an SRT file from text with this tool

  1. Paste your text into the box below, one subtitle per line, or click Open file to load a .txt.
  2. Choose the timing: Reading speed, a fixed number of seconds, or spread over your video length.
  3. Check the subtitles on the right and click Download SRT.
The TXT to SRT converter with pasted text on the left and the generated SRT subtitles on the right
Text on the left, a ready SRT file on the right.

Long lines are wrapped at 42 characters and two lines per subtitle. When the subtitles must match the speech exactly, use the SRT maker and tap a key as each line starts.

Create an SRT file from your text

1. Input
Lines

Timing

Clean-up
Hearing-impaired notes, speaker names, music, ads
2. Output
The file stays on your computer.

Frequently asked questions

Is an SRT file the same as a TXT file?

Both are plain text, but an SRT file has numbered, timed blocks. Renaming notes.txt to notes.srt adds no timing — convert the text with the TXT to SRT converter instead.

Which encoding should an SRT file use?

UTF-8. It handles every language. Files downloaded here are UTF-8 with a byte order mark, which Windows players detect reliably.

How long can a subtitle line be?

The format has no limit, but about 42 characters per line and two lines per subtitle is the common guideline. The converter wraps longer lines for you; both values can be changed.

Can an SRT file have colours or a position?

Only in a basic way: <font color> and {\an8} work in some players and are ignored or shown as text in others. For real styling convert to ASS.