Creator adjusting captions on a talking-head video in a subtitle timeline

Free tool · No upload · No sign-up

TXT to SRT Converter Convert text to SRT subtitles free online

Paste a transcript, lyrics or a narration script and this TXT to SRT converter splits it into caption-sized lines and gives each one a start and end time.

How to convert TXT to SRT

Paste the text, choose how captions are split and timed, then save the SRT file.

Convert a TXT file to SRT in three steps

  1. Paste your text into the left box, press Open .txt file, or drop a .txt file onto the box. Try a sample fills in an example.
  2. Choose By sentence or By line break, the characters per line, the lines per caption and the speaking speed. The SRT on the right updates as you change anything.
  3. Pick SRT or VTT under Save as, then press Download .srt or Copy.

The counter above the result shows how many captions the text became and when the last one ends, which is a quick check against the length of your video.

garden.txt
Welcome back to the channel. Today we are
planting garlic in raised beds before the
first frost.
        │  42 characters · 2 lines · 160 wpm
        ▼
garden.srt
1
00:00:00,000 --> 00:00:01,875
Welcome back to the channel.

2
00:00:01,975 --> 00:00:06,475
Today we are planting garlic in raised
beds before the first frost.
Each sentence starts a new caption. Duration comes from the word count at the chosen speed, with a 100 ms gap before the next caption.

Line length, lines per caption and reading speed

42 characters per line is the common maximum for widescreen video and suits YouTube, Vimeo and course platforms. 37 gives shorter, easier lines, and 32 fits vertical video on TikTok, Reels and Shorts, where the frame is narrow and captions sit over the picture.

Two lines per caption keeps the caption count down for long talks. One line gives the quick, punchy rhythm of short-form video. Speaking speed sets the timing: 160 words per minute matches relaxed conversation, 130 to 140 suits a slow narration, and 180 or more fits a fast talker. Each caption lasts at least 1.2 seconds and at most 7 seconds.

Speaking speed8-word caption14-word caption
130 wpm (slow narration)3.69 s6.46 s
160 wpm (default)3.00 s5.25 s
180 wpm (lively)2.67 s4.67 s
220 wpm (fast)2.18 s3.82 s
Duration = words ÷ words per minute × 60, kept between 1.2 and 7 seconds.

Create an SRT file from a transcript, lyrics or a voice-over script

A transcript exported from a meeting app, a translated version of your captions, a song's lyrics or the script you will read over b-roll all make good input. Use By line break for lyrics and poems, so every line you typed becomes its own caption, and By sentence for prose.

If the video starts with an intro or a title card, type its length into First caption starts at (for example 00:00:05) and every caption moves along with it.

Video editor trimming clips on a timeline at night

What is the difference between a TXT file and an SRT file?

A TXT file is plain text with no timing. An SRT file is also plain text, but it is split into numbered captions, each with a start and end time such as 00:00:01,975 --> 00:00:06,475. Video players and editors read those times to show each line at the right moment, which is what makes SRT a subtitle file.

SRT stands for SubRip Text, after the program that popularized it. Because the format is so simple, almost every platform accepts it: YouTube Studio, Vimeo, Facebook, LinkedIn, Premiere Pro, DaVinci Resolve, Final Cut Pro and CapCut on desktop all import SRT captions. WebVTT (.vtt) is its web cousin, used by HTML5 video players; this tool saves either one, and the SRT to VTT converter switches an existing file between the two.

How the converter times each caption

A text file carries words but no timing, so the tool estimates it. First it breaks the text into captions: at the end of each sentence (or at each line break), then into lines no longer than the character limit you chose, wrapping between words. Then it counts the words in each caption and divides by the speaking speed. At 160 words per minute a 10-word caption lasts 3.75 seconds. Short captions are stretched to at least 1.2 seconds so viewers can read them, long ones are capped at 7 seconds, and a 100 ms gap separates each caption from the next. Change any setting and the whole file is rebuilt at once, so comparing 32 and 42 characters, or 140 and 180 words per minute, takes a couple of clicks.

The result follows the natural rhythm of speech, which is often close enough for a voice-over you recorded at a steady pace. For captions that land on the exact frame, open the file in the SRT editor: load your video beside the captions, play from any line and nudge its start and end times, or shift the whole file at once.

Create an SRT file on Windows, Mac, iPhone and Android

This converter works the same in Chrome, Edge, Safari and Firefox on a computer, and in Safari or Chrome on a phone. On iPhone the downloaded SRT lands in the Downloads folder of the Files app; on Android it goes to Downloads.

You can also write an SRT by hand in any plain text editor: Notepad on Windows, or TextEdit on a Mac after Format > Make Plain Text. Type the number, the timing line and the caption text, leave a blank line between captions, and save the file with the .srt extension in UTF-8. That works for a handful of captions; for a full transcript, the converter does the splitting and timing for you.

Ways to use an SRT generator

A little tidying before you convert pays off. Remove speaker labels and notes meant only for you, break up very long sentences, and write numbers the way viewers should read them. Punctuation shapes the captions: a full stop, question mark or exclamation mark ends a caption, while commas keep words together, so a well-punctuated transcript gives the most natural breaks.

  • Captions for a talk or tutorial. Paste the transcript of a recorded lesson and upload the SRT to YouTube or your course platform, so viewers can follow with the sound off.
  • Lyric videos. Paste the lyrics with one line per row, choose By line break and fine-tune each line against the song.
  • Translated subtitles. Paste a translation of your script and give viewers in another language their own caption track.
  • Voice-over narration. When the narration was read from a script, that script becomes the subtitle text with no transcription step at all.

Working the other way round, the SRT to TXT converter strips the numbers and timecodes from a subtitle file and leaves a clean transcript.

Teleprompter Scrolling Scripts on iPhone, iPad and Mac, with the script scrolling over the camera

Next step

Recording the voice-over? Read it from a teleprompter

A steady reading pace makes estimated subtitle timing land closer to the real audio. The free online teleprompter scrolls your narration at the speed you set while your webcam records. On iPhone, iPad and Mac, Teleprompter Scrolling Scripts does the same next to the camera lens, and its Voice mode records audio-only takes for narration.

Frequently Asked Questions

How to convert a TXT file to an srt file?

Open this page, paste the text or press Open .txt file, and choose how to split it: by sentence or by line break. Set the characters per line and the speaking speed, keep SRT selected under Save as, and press Download. The text is converted in your browser and is not uploaded.

Is an SRT file a subtitle file?

Yes. SRT (SubRip Text) is the most common subtitle file format. It is plain text made of numbered captions, each with a start and end time in hours:minutes:seconds,milliseconds. YouTube, Vimeo, VLC, Premiere Pro, DaVinci Resolve and CapCut all read SRT files.

How do I create an SRT file for free?

Paste your text into this free SRT maker, pick the line length and reading speed, and download the result. To write one by hand, type numbered captions with timing lines like 00:00:01,000 --> 00:00:03,500 in Notepad or TextEdit and save the file with a .srt extension in UTF-8.

How accurate is the timing when I convert text to SRT?

The timing is an estimate from reading speed, since a text file holds words but no times. It follows a steady speaking pace well. For frame-exact sync, open the SRT in the free SRT editor, load your video and adjust each caption's start and end time while you watch.

How many characters per line should subtitles have?

Up to 42 characters per line is the usual limit for widescreen video, with no more than two lines per caption. Shorter lines of 32 to 37 characters read better on phones and in vertical video, where captions sit over a narrow frame.

Can I turn song lyrics into an SRT file?

Yes. Paste the lyrics with each sung line on its own row and choose By line break, so every line becomes one caption. Blank lines between verses are skipped, so the lyrics can keep their verse spacing. Then use the SRT editor to match each caption to the song while it plays.

Does the TXT to SRT converter support accented letters and other languages?

Yes. Files are read as UTF-8, with a fallback for older Windows text files, and the SRT is saved in UTF-8, so accented letters, Cyrillic, Greek and other scripts come through intact. Sentence splitting also recognizes Chinese and Japanese full stops.

What is the difference between SRT and VTT output?

Both hold the same captions and times. SRT numbers each caption and uses a comma before the milliseconds; VTT starts with the line WEBVTT and uses a dot. Choose VTT for HTML5 video players and web pages, and SRT for editors, YouTube and most other uploads.