Polysh for agents is in early access. Your coding agent records the demo, and Polysh finishes it. Join the waitlist →

TXT to SRT

Turn a written script into numbered, timed SRT captions in one step.

Loading your browser tool…

What TXT to SRT does

If you wrote the voiceover script first, the caption text already exists. What's missing is the cue structure: breaks in sensible places, lines short enough to read, and start and end times.

Paste the script and each sentence becomes a caption, packed together with the next sentence while both fit in two lines of 42 characters. In Reading speed mode each caption stays up as long as its length needs at 15 characters per second; Fixed gives every caption the same duration. The times are estimates, so line them up with the audio afterwards in the Subtitle Timing Editor.

Example

Input

Record your screen once. We turn the rough take into a narrated video your customers can follow.

Result

1
00:00:00,000 --> 00:00:01,600
Record your screen once.

2
00:00:01,700 --> 00:00:06,367
We turn the rough take into a narrated
video your customers can follow.

At 15 characters per second, the 24-character first sentence gets 1.6 seconds. The second needs about 4.7 seconds and is wrapped into two balanced lines, with 0.1 s between captions.

How to use TXT to SRT

  1. Paste your script into Script text, or choose Open file to load a .txt file.
  2. Choose Timing: Reading speed or Fixed, and set the slider. More options sets the gap, the first start time, characters per line and lines per caption.
  3. Choose Download .srt to save captions.srt.

Good to know

  • In Reading speed mode a caption never lasts less than 1 second or more than 7, whatever its length.
  • Timing comes from the text alone, not from the audio. Expect to shift or resync the captions once you watch them against the recording.
  • A sentence too long for two lines is broken between words with no regard for phrasing. Shorter sentences in the script give cleaner breaks.
  • Hard line breaks copied from a PDF or email cut sentences in half, because a new line always starts a new caption. Remove them first with the Line Break Cleaner.

Questions about TXT to SRT

How do I create an SRT file from text?

Paste the text, choose how the captions should be timed, and download the .srt. The tool numbers the cues, writes the timestamps in SRT form and wraps each caption to the line length you set, so the file opens in any player or editor.

How long should each subtitle stay on screen?

Long enough to read comfortably. Many guides suggest at least one second and no more than about seven, at a pace near 15 to 17 characters per second. Reading speed mode applies that rule from each caption's length.

What is the 42-character rule for subtitles?

Many streaming style guides, including Netflix's guide for English, cap a subtitle line at 42 characters, with at most two lines per caption. It keeps lines readable at a glance. Change the limit with Characters per line in More options.

How do I sync generated captions to my audio?

Play them with your video in the Subtitle Previewer and note where the first and last captions should start. Enter those times under Resync two cues in the Subtitle Timing Editor, and everything in between is stretched to match.