HomeVideo InsightsSubtitles & Captions

Video Insights — Subtitles & Captions

SRT files, closed captions, and making your video accessible everywhere

Back to All Posts

SRT File Format Explained: What It Is and How to Use It

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:

1
00:00:02,500 --> 00:00:05,000
Welcome to VideoToolShack.

2
00:00:05,800 --> 00:00:09,200
These free tools run entirely
in your browser.

3
00:00:10,000 --> 00:00:13,500
No uploads. No accounts. No software.

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.

Comma, not period, in SRT timecodes SRT uses a comma to separate seconds from 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.srtUniversal compatibility— The baseline standard
VTT.vttWeb video (HTML5 player)Similar to SRT; uses periods not commas in timecodes
ASS / SSA.ass / .ssaStyled subtitles, anime fansubsSupports fonts, colours, positioning — complex
SBV.sbvYouTube auto-captions exportYouTube-specific; easily converted to SRT
TTML / DFXP.ttml / .dfxpBroadcast and streamingXML-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

1
Upload to YouTube

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.

2
Burn into the video permanently

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.

3
Load alongside a video in VLC or a desktop player

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.

4
Upload to Vimeo, Facebook, or LinkedIn

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.

Keep subtitle lines short Each subtitle entry should contain no more than two lines of text, and each line ideally no more than 42 characters. Longer lines overflow on small screens and are harder to read at speed. Break at natural phrase boundaries, not in the middle of a thought. A well-timed SRT with short, well-broken lines reads significantly better than an accurate but unwieldy one.
SRT Quick Reference
  • 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