Key Takeaways
An SRT file (SubRip Subtitle, extension
.srt) is a plain-text file that stores subtitles: numbered blocks, each with a start time, an end time, and the text to display. It contains no video or audio — just timing and words — which is why it’s tiny, editable in any text editor, and supported by virtually every video player and platform. You can create one from scratch, generate it from plain text, or export it from a transcription tool, and validate it in seconds before uploading.
If you’ve ever turned on subtitles in a video player, there’s a good chance an SRT file was doing the work behind the scenes. It’s the oldest and most widely supported subtitle format on the web — and one of the simplest file formats in existence. This guide explains exactly how it works, shows a real example, and covers how to create, edit, and fix SRT files without specialized software.
What Does an SRT File Look Like Inside?
Open any .srt file in Notepad or TextEdit and you’ll see repeating blocks like this:
1
00:00:01,600 --> 00:00:04,200
Welcome back to the channel.
2
00:00:04,400 --> 00:00:07,900
Today we're looking at how
subtitle files actually work.Each block has exactly four parts:
- Sequence number — 1, 2, 3… in order, no gaps.
- Timecodes — start and end in
hours:minutes:seconds,millisecondsformat, separated by-->. Note the comma before milliseconds — that detail is the most common source of broken files. - Subtitle text — one or two lines that appear on screen during that interval.
- A blank line — separates one block from the next.
That’s the entire format. No headers, no styling metadata, no binary data — which is exactly why it has survived since the early 2000s while flashier formats came and went.
What SRT Files Are Used For
- YouTube and social video: upload an SRT alongside your video and viewers get proper closed captions — and platforms index the text for search.
- Video players: VLC, IINA, and most smart-TV players auto-load an SRT placed next to the video file with the same name.
- Translations: translators work on the text lines while timing stays intact, producing a second SRT per language.
- Editing workflows: Premiere Pro, DaVinci Resolve, and Final Cut all import SRT for caption tracks.
- Accessibility and compliance: captions are a legal requirement for much published video — SRT is the interchange format everyone accepts.
How to Create an SRT File
Option 1: Generate It from a Video Automatically
The fastest path: transcribe the video and export SRT. For YouTube videos, paste the link into the YouTube Transcript Generator and download the SRT — timing comes straight from the speech. For your own recordings and files, the Soz AI app transcribes audio in 99+ languages and exports subtitle-ready text.
Option 2: Convert Existing Text to SRT
Already have a script or transcript as plain text? The free TXT to SRT Generator splits your text into subtitle-sized lines and assigns evenly paced timestamps you can fine-tune afterwards. It runs entirely in your browser — the text never leaves your device.
Option 3: Write It by Hand
For a 30-second clip, hand-writing in a text editor is perfectly reasonable: follow the block structure above, save as subtitles.srt with UTF-8 encoding, and you’re done. Beyond a minute or two of video, manual timing becomes tedious — use option 1 or 2.
Common SRT Problems (and Quick Fixes)
| Problem | Cause | Fix |
|---|---|---|
| Subtitles don’t show at all | Wrong extension, wrong encoding, or malformed timecodes | Run the file through the SRT Validator — it pinpoints the broken block |
| Subtitles appear too early/late | Video has an intro the subtitles don’t account for | Shift every timestamp at once with Subtitle Time Shift |
| Special characters look garbled | File saved in a legacy encoding | Re-save as UTF-8 (the standard for SRT today) |
| Player rejects the file | Platform expects WebVTT | Convert with the VTT ↔ SRT Converter |
| Need the text without timing | — | Subtitle to Text strips numbers and timestamps in one click |
SRT vs Other Subtitle Formats
SRT’s main rival on the web is WebVTT (.vtt) — the W3C standard used by HTML5 video players. VTT adds styling and positioning options but uses a dot instead of a comma in timecodes and requires a header line. Broadcast workflows may use TTML or EBU-STL, and DVD-era tools used SSA/ASS for styled anime subtitles. For a detailed breakdown of when each format wins, see VTT vs SRT: which subtitle format should you use?
Frequently Asked Questions
How do I open an SRT file?
Any text editor opens it: Notepad (Windows), TextEdit (Mac), or any code editor. To watch it with a video, drop the SRT next to the video file with the same name and open the video in VLC.
Is SRT the same as closed captions?
SRT is a file format; closed captions are a use of it. Captions intended for deaf viewers usually also transcribe sound effects (“[door slams]”) and identify speakers — you can carry all of that in an SRT file’s text lines.
Does an SRT file contain video?
No. It’s text only — typically a few kilobytes even for a feature-length film. The video stays in its own file; the player combines the two.
Can I edit an SRT file on my phone?
Yes — since it’s plain text, any mobile text editor works. For timing changes, a browser-based tool like Subtitle Time Shift is far less error-prone than editing timecodes by hand.
