TextToSRT
Back to blog

How to Convert Plain Text into an SRT Subtitle File

A practical workflow for turning a transcript, script, or rough notes into a clean SRT file with readable subtitle timing.

Jun 10, 2026Text to SRT TeamText to SRT Team

Plain text is easy to write, but video players need subtitle files with sequence numbers, timestamps, and compact caption blocks. An SRT file gives every subtitle a start time, an end time, and the text that should appear on screen.

If you already have a transcript, the fastest path is to split it into readable captions first, then add timing. That keeps the file pleasant to watch instead of simply technically valid.

What an SRT file looks like

Each subtitle block has three parts:

1
00:00:01,000 --> 00:00:04,000
Welcome to the tutorial.

The number identifies the caption order. The timestamp line controls when it appears. The text line is what viewers read.

Start with clean text

Before converting, remove speaker notes that should not appear on screen, fix obvious typos, and break long paragraphs into short sentences. A good caption is usually one or two lines, with enough time for viewers to read it comfortably.

For most videos, aim for:

  • One complete thought per caption.
  • Short lines that do not cover the frame.
  • Natural breaks at punctuation.
  • Consistent capitalization and punctuation.

Add timing in passes

Timing is easier when you do it in passes:

  1. Split the transcript into caption-sized chunks.
  2. Add rough start and end times.
  3. Play the video once and adjust early or late captions.
  4. Scan the final SRT for overlaps, gaps, and very long captions.

If the source text has no timestamps, use the audio or video timeline as the source of truth. If it already has timecoded lines, convert those timecodes into proper SRT blocks and check that the sequence numbers stay continuous.

Common mistakes to avoid

The most common SRT problems are small formatting errors: using periods instead of commas in timestamps, leaving blank sequence numbers, overlapping two captions, or letting a caption stay on screen after the speaker has moved on.

Also watch out for captions that are technically valid but hard to read. A subtitle can pass validation and still feel rushed if it contains too much text for the available time.

A simple final checklist

Before exporting, check that every block has a number, a timestamp range, and text. Make sure timestamps use the HH:MM:SS,mmm format, captions are ordered from earliest to latest, and no two blocks overlap.

Once the file is clean, save it with the .srt extension and attach it to your video platform, editor, or player.