What Is an SRT Subtitle File? Format Explained

Learn what an SRT subtitle file contains, including numbered cues, timecodes and text, and how to check one before you translate it.

If you have downloaded a video or lecture and found a file ending in .srt sitting beside it, you have met an SRT subtitle file. Before you translate that file, or hand it to someone else, you need to know what is inside. The structure decides which parts a translation can change and which parts must stay exactly as they are.

This guide is for anyone searching for an srt file for subtitles or trying to understand what the word "subtitle" means in practice. You will learn the three parts every cue contains, how timecodes work, and what to check before you upload the file for translation.

By the end, you will be able to open an SRT file in a plain text editor, spot a file with broken structure, and explain why timing matters as much as the words.

What is an SRT file for subtitles? The short answer

An SRT file is a plain text file that lists subtitles as numbered cues, and each cue gives a start time, an end time and the text shown on screen.

Your situationWhat to doWhy
You have a .srt file and want to translate itCheck numbering, timecodes and blank lines before you uploadA translation keeps the timing only if the structure is intact
You do not know what the file containsOpen it in a plain text editor and read the first few cuesSRT is plain text, so you can inspect it without special software
Subtitles drift out of sync after editingLeave every timecode line untouched and change only the textEach timecode belongs to one cue, so timing and words are separate
You plan to translate into another languageTranslate the text lines and keep the numbers and arrows as they areThe viewer's timing depends on the original timecodes
The file won't load in a video playerLook for missing blank lines, swapped times or stray charactersA single broken cue can stop some players from reading the rest

How an SRT file is built

Every cue in an SRT file has the same three parts, followed by a blank line that marks the end of the cue.

  • Sequence number. A counter starting at 1 that identifies the cue. The numbers should increase by one with no gaps or repeats.
  • Timecode line. The start time, a separator arrow, and the end time, written on a single line.
  • Subtitle text. One or more lines of text that appear on screen during that time window.

A short example of two cues looks like this in a plain text editor:

1 00:00:01,000 --> 00:00:03,500 Where did you put the keys?

2 00:00:03,800 --> 00:00:05,200 On the table by the door.

Notice the blank line after each cue. Many players use it to separate one cue from the next, so a missing blank line can merge two subtitles or hide the second one.

How timecodes work

Timecodes use the pattern hours:minutes:seconds,milliseconds. The comma before the milliseconds is part of the standard, and a period in that position is a common mistake when files are edited by hand.

The arrow between the two times has spaces on both sides. The end time must come after the start time. If a cue ends before it starts, the player may skip it or show it at the wrong moment.

Timecodes are not frame numbers. SRT counts time in milliseconds, so the same file can work at different frame rates. This is one reason SRT files are easy to move between video projects, but it also means that a small edit to a timecode shifts the subtitle directly.

Easily confused points

The file extension does not prove the content. A file named .srt can contain any text. Renaming a plain text file to .srt does not create a valid subtitle file, and a valid file can be renamed without changing its content. Check the structure, not just the name.

Subtitles and captions are not the same thing. In everyday use, subtitles usually show spoken dialogue, often as a translation, for viewers who can hear the audio but do not understand the language. Captions are designed for viewers who cannot hear the audio, so they often also describe sound effects and speaker names. A plain SRT file can hold either kind of text, so the file itself does not tell you which one it is.

"Subtitle" in English means the text, not the video. The word refers to the written text displayed over the picture, usually at the bottom of the frame. A subtitle file holds that text plus the timing that tells the player when to show it.

📊 At a glance

FeatureSRTASS
Basic structureNumbered cues with timecodes and textSections for styles, then timed event lines
StylingMinimal, with little control over font or colorDetailed control over fonts, colors and placement
ReadabilitySimple to read and edit in a plain text editorReadable, but with more lines and settings to check
Typical usePlain dialogue subtitles and transcriptsStyled subtitles with custom looks or positions

OmniDoc's translation feature accepts both SRT and ASS subtitle files. For a simple dialogue file, SRT is usually easier to check by eye.

Putting it to use

  1. Open the .srt file in a plain text editor, not a word processor, so the formatting stays unchanged.
  2. Confirm that each cue has a sequence number, a timecode line, at least one text line and a blank line after it.
  3. Check that every timecode uses commas before the milliseconds, an arrow with spaces, and an end time later than the start time.
  4. Upload the file on omnidoc.top and choose translation-only or bilingual output, depending on what your viewers need.
  5. Download the result and compare several timecodes against the original, especially near the start, middle and end of the file.
  6. Read the translated lines yourself before you publish them, because machine translation can misread context, idioms and names.

🎯 Which approach fits you?

If your video has plain spoken dialogue and you want to read or edit the subtitles yourself, an SRT file is a good fit. If you need custom fonts, colors or on-screen positions, you may be working with a styled format such as ASS instead, and you should check that format's structure before you translate.

❓ FAQ

1. What does SRT stand for?

SRT is commonly described as SubRip, the name of an early tool that used this format. The file contains plain text, so the abbreviation tells you little about the content.

2. What is the meaning of subtitle in English?

A subtitle is written text shown on screen during a video, usually representing spoken dialogue. Translated subtitles let viewers follow speech in a language they do not understand.

3. Can I open an SRT file in a word processor?

You can, but word processors may add formatting or change line breaks. A plain text editor keeps the file as it is, which makes it easier to check the numbering and timecodes.

4. Does translating an SRT file change its timing?

It should not, because translation applies to the text lines. Still, compare a few timecodes in the output with the original file, since timing problems are easy to miss when you only read the words.

5. Do I need OCR for an SRT file?

No. An SRT file is already text, so there is nothing to recognize. OCR applies to scanned images or PDFs, not to plain subtitle files.

📝 Summary

An SRT file for subtitles is a plain text list of numbered cues, each with a timecode and the text shown on screen. Learning that structure lets you spot errors before you translate and keep the timing intact afterward. Open the file, check the cues, and review the output before you publish it.

Open OmniDoc and upload a document to translate

Updated 2026-11-04