SRT — SubRip Subtitle — is the most widely supported subtitle file format in the world. It works on YouTube, Netflix, VLC, Windows Media Player, social platforms, streaming services, and virtually every video player and editing application that accepts external subtitle files. If you’ve ever seen a .srt file alongside a downloaded video, or been asked to upload subtitles in a specific format, SRT is almost certainly what was needed. This guide explains exactly what SRT files are, how the format works, and how to create and use one.
What Is an SRT File?
An SRT file is a plain text file that contains a numbered sequence of subtitle entries, each consisting of three parts: a sequence number, a timecode specifying when the subtitle should appear and disappear, and the subtitle text itself. That’s the entire format — no binary data, no special encoding beyond UTF-8, no proprietary structure. You can open and edit an SRT file in any plain text editor including Notepad on Windows or TextEdit on Mac.
SRT Format: What a File Looks Like
Here is a short example of a valid SRT file with three subtitle entries:
Each entry follows the same four-part structure: the sequence number on its own line, the timecode on the next line (start time and end time separated by -->), the subtitle text on one or two lines, then a blank line separating it from the next entry. The timecode format is HH:MM:SS,mmm where mmm is milliseconds.
00:00:05,800 not 00:00:05.800. This is one of the most common causes of SRT files failing to load correctly. If you’re editing an SRT file manually and your subtitles don’t appear, check that all timecodes use commas, not periods.
SRT vs. Other Subtitle Formats
| Format | Extension | Best For | Compared to SRT |
|---|---|---|---|
| SRT | .srt | Universal compatibility | — The baseline standard |
| VTT | .vtt | Web video (HTML5 player) | Similar to SRT; uses periods not commas in timecodes |
| ASS / SSA | .ass / .ssa | Styled subtitles, anime fansubs | Supports fonts, colours, positioning — complex |
| SBV | .sbv | YouTube auto-captions export | YouTube-specific; easily converted to SRT |
| TTML / DFXP | .ttml / .dfxp | Broadcast and streaming | XML-based; used by Netflix, Amazon for delivery |
For most video creators, SRT is the right choice: it’s accepted everywhere, easy to create and edit, and converts cleanly to other formats when needed. YouTube, Vimeo, Facebook, and LinkedIn all accept SRT uploads directly.
How to Create an SRT File
There are two practical approaches: generating one from your transcript using a tool, or writing it manually for short videos.
Option A: Generate from a Transcript (Recommended)
The free Text to SRT tool on VideoToolShack converts a plain text transcript into a properly formatted SRT file. Paste your script, set the approximate timings, and the tool produces a valid SRT ready to upload or burn into your video. This is the fastest approach for most creators. See the complete guide to creating an SRT subtitle file for timing best practices.
Option B: Edit Manually in a Text Editor
For short videos or corrections to an existing SRT file, open the file in any plain text editor and edit directly. Follow the four-part structure for each entry: number, timecode, text, blank line. Save the file with the .srt extension and UTF-8 encoding. On Windows, save via File → Save As and set encoding to UTF-8 (not UTF-8 with BOM, which can cause loading issues).
Option C: Export from YouTube Auto-Captions
If your video is already on YouTube, you can export the auto-generated captions as an SRT file: go to YouTube Studio → Subtitles → select the video → click the three dots next to the auto captions → Download → .srt. Review and correct the exported file before reusing it, as auto-captions regularly misidentify words, especially proper nouns and technical terms.
How to Use an SRT File
In YouTube Studio, go to Subtitles, select your video, click Add language, then Upload file and select your SRT. YouTube indexes the subtitle text for search, giving your video a keyword signal boost for every word you speak.
Use the free Add Subtitles tool to embed the SRT directly into the video frames. Burned-in captions display on every platform and player automatically — no upload or configuration required by the viewer. This is the right choice for social media repurposing where soft subtitle support is unreliable.
Place the SRT file in the same folder as the video file and give it the same filename (e.g. myvideo.mp4 and myvideo.srt). VLC and most desktop players will detect and load the SRT automatically when the video opens.
All three platforms accept SRT uploads directly in their video management interfaces. Facebook and LinkedIn autoplay videos silently in the feed, making uploaded captions especially valuable for reach and engagement.
- File extension:
.srt— plain text, save as UTF-8 - Timecode format:
HH:MM:SS,mmm— comma before milliseconds, not period - Structure per entry: sequence number / timecode / text / blank line
- Max 2 lines per entry, ~42 characters per line
- Create from transcript: Text to SRT tool
- Burn into video: Add Subtitles tool
- Accepted by: YouTube, Vimeo, Facebook, LinkedIn, VLC, and virtually all video software