Skip to content
SubtitleDesk

How to make an SRT subtitle file from scratch

Last updated · 2 min read

You do not need special software to create subtitles. A step-by-step guide to writing an SRT file, timing it against your video, and checking it before you publish.

An SRT file is plain text with a simple structure, so you can create one in any text editor. A dedicated editor makes timing faster and catches mistakes, but understanding the manual way helps either way.

The structure you are writing

Each subtitle — a "cue" — is four lines:

  • a number, counting up from 1
  • a timing line: 00:00:04,200 --> 00:00:07,000
  • one or two lines of text
  • an empty line

Times are hours, minutes, seconds and milliseconds, with a comma before the milliseconds. The SRT format explained covers every detail.

Step 1: write the text first

Before thinking about timing, write out what is said, one subtitle per thought or sentence fragment. Keep each subtitle short: one or two lines of up to about 42 characters. Condense rather than transcribe — viewers read more slowly than people speak. The timing guidelines explain the conventions.

Step 2: add the timing

Play the video and note when each line starts and ends. A few practical habits:

  • Start each subtitle when the speech starts, or a few frames before.
  • End it shortly after the speech ends, or when the next subtitle starts.
  • Give every subtitle at least about 0.8 seconds on screen, and no more than about 7.
  • Leave a tiny gap between subtitles so the viewer notices the change.

Step 3: do it in an editor instead

Typing timestamps by hand is slow and error-prone. In the subtitle editor:

  1. Choose start with an empty file.
  2. Type the first line's text. Set its start and end time — you can type 4.2 or 0:04.2 rather than the full format.
  3. Press Enter to move to a new cue, which starts right after the previous one. Repeat.
  4. Watch the CPS badge: if it turns red, the line is too fast to read. Shorten the text or lengthen the cue.
  5. Overlapping cues are highlighted, so timing mistakes show up immediately.

Your work is saved in your browser as you go, so you can close the tab and continue later.

Step 4: check and export

When the text and timing are done:

  1. Export as SRT from the editor (or WebVTT if the video is for a web player).
  2. Run the file through Fix Subtitles for a final check of overlaps, empty cues and ordering.
  3. Load it in your player next to the video and watch a few minutes from the start, middle and end.

Saving correctly

If you wrote the file in a text editor, save it as UTF-8 with the .srt extension, and give it the same name as the video so players load it automatically. Saving in an older encoding is the most common reason accented letters later appear garbled — see fixing encoding problems.