How to Convert a Video Transcript into an SRT Subtitle File
You have a transcript - plain text of what was said in your video. Now you need it as an SRT file with timestamps so it can be uploaded to YouTube, embedded in a video player, or burned into the video itself. Converting from transcript to SRT requires adding timing, breaking text into readable segments, and formatting to the SRT specification.
By CapsAI · Updated 19 August 2026
Key takeaways
- SRT files require sequential numbering, timestamps in HH:MM:SS,mmm format, and text per cue.
- Each subtitle cue should contain 1-2 lines, not full sentences or paragraphs.
- Break lines at natural phrase boundaries - not mid-word or mid-thought.
- CapsAI generates timed SRT directly from video, skipping the manual conversion step.
Understanding SRT format
An SRT file is a plain text file with a specific structure. Each subtitle cue has three parts: a sequential number (1, 2, 3...), a timestamp line showing start and end times separated by ' --> ', and one or two lines of text. Cues are separated by blank lines. The timestamp format is HH:MM:SS,mmm (hours, minutes, seconds, milliseconds - note the comma, not a period).
A valid SRT cue looks like: 1 (newline) 00:00:01,000 --> 00:00:03,500 (newline) This is the first subtitle. The simplicity of the format is its strength - any text editor can create or modify SRT files.
Breaking a transcript into subtitle segments
A transcript is continuous text. Subtitles are short segments displayed briefly. You need to split the transcript into chunks of 1-2 lines, each short enough to read in 2-4 seconds. Aim for 42 characters per line maximum (the standard for most video players) and no more than 2 lines per cue.
Break at natural pause points: sentence ends, clause boundaries, or commas. Never split a word across two cues. Never split a proper noun from its title or context. 'Prime Minister' should not have 'Prime' on one cue and 'Minister' on the next.
- Maximum 42 characters per line
- Maximum 2 lines per subtitle cue
- Break at sentence or clause boundaries
- Never split compound words or names across cues
- Each cue should be readable in 1.5-4 seconds
Start with 3 free minutes
Put Accurate Captions Into Practice
Create editable subtitles with CapsAI, then review Indian names, brands and places using the workflow in this guide.
Adding timestamps manually vs automatically
Manual timestamping means watching the video and noting when each phrase starts and ends. For a 5-minute video, this takes 15-25 minutes. You play, pause, note the time, assign it to the next cue, and repeat. It is accurate but tedious.
Automatic timestamping uses AI to detect speech boundaries and assign times. CapsAI does this during transcription - you get an SRT file directly without the manual timing step. If you already have a plain transcript without timing, uploading the original video and transcribing again produces a timed SRT faster than manual timestamping.
Common SRT formatting mistakes
Wrong timestamp separator: SRT uses a comma (00:00:01,000), not a period. Using a period creates a file that some players reject. Missing blank lines between cues: every cue must be followed by an empty line. Without it, players merge cues or display incorrectly. Wrong encoding: SRT files should be UTF-8, especially for Hindi, Tamil, or Telugu content. ANSI encoding corrupts non-Latin characters.
Non-sequential numbering: if you delete a cue, renumber all subsequent cues. Some players tolerate gaps but others break. Overlapping timestamps: cue 2 must not start before cue 1 ends. Overlaps cause display glitches on most players.
The faster approach: generate SRT directly from video
If you have the original video, skip the transcript-to-SRT conversion entirely. Upload the video to CapsAI, select your language, and get a properly formatted SRT file with accurate timestamps. The AI handles segmentation, timing, and formatting automatically.
This is faster and more accurate than manually timestamping a plain transcript. The AI aligns text to speech at the millisecond level - something that takes humans many passes to achieve.
Frequently asked questions
Can I convert a transcript to SRT without the original video?
You can create the SRT structure (numbering, text segments) but you cannot add accurate timestamps without the video or audio. Timestamps require knowing exactly when each phrase is spoken.
What encoding should I use for Hindi SRT files?
Always UTF-8. Devanagari characters require Unicode support. Save as 'UTF-8 without BOM' in most text editors. ANSI or Latin encoding will corrupt Hindi text.
How many subtitle cues should a 5-minute video have?
Roughly 50-80 cues for conversational speech. That averages to one cue every 3-5 seconds. Fast speech produces more cues; slow speech with pauses produces fewer.
Start with 3 free minutes
Create Your Next Subtitle with CapsAI
Upload a video and generate editable AI subtitles with 3 free minutes to get started.
Continue the workflow