TXT to SRT Converter

TXT to SRT Converter turns a plain text script into a numbered SubRip subtitle file right in the browser.

Drop a .txt here, or paste the lines below
Your text
Cue length: sec
Gap between cues: secStart at: secCharacters per line:
Building…
              

Get the transcript from YouTube itself

YouTube Video to Text Converter is a free Chrome extension: open any video and it pulls the transcript right on the page - as clean text or as subtitles.

  • Transcript of any YouTube video in one click
  • Clean text without timecodes - or .srt with them
  • Copy to clipboard or save as a file
  • Works with subtitles in other languages
YouTube Video to Text Converter
Free Chrome extension
Install from Google Chrome Web Store
Get YouTube Video to Text Converter

Free Chrome extension - no account, no upload.

100% private: the file is parsed and converted entirely in your browser. Your subtitles are never uploaded to a server - unlike cloudconvert or freeconvert.

SoftOrbits TXT to SRT converter takes a script or a raw transcript and builds a subtitle file from it. This subtitle generator splits the text into cues, numbers them from 1 and writes timecodes in the SubRip format that players and editors expect. Lines wrap at 42 characters until you change that number. The whole job happens in your browser, and the .srt is ready the moment you press the button.

How to convert a TXT file to SRT

  1. Load the text
    Drop a .txt file on the tool above or paste the lines into the text box. Plain text is the only input this page reads. Bold and italic from a word processor are not carried over, while UTF-8 keeps accented letters and non-Latin scripts intact.
  2. Set the line length in characters
    Decide how long one subtitle line may be. The field starts at 42, the count most captioning guidelines settle on, and you can push it to 60 for a wide screen or drop it to 32 for a vertical one. The converter also breaks a cue where a sentence ends, so phrases are not cut in half.
  3. Set duration, gap and offset
    Duration is in seconds and says how long a cue stays on screen. The gap is the pause between two cues, so a gap of 0.2 leaves a blink of empty screen instead of one caption jumping straight into the next. The start offset shifts the whole track past 00:00:00, which is what you need when the video opens with a 12-second intro before anybody speaks.
  4. Download the .srt file
    Save the result and give it the same name as the video file. Most players then pick up the subtitles by themselves, and editors like Subtitle Edit or Premiere Pro open the file directly.

Why use this TXT to SRT converter?

Typing timecodes by hand is the slow part of subtitling. A 40-minute interview comes back from the translator as one phrase per line, and retyping all of it into a subtitle editor, with the index numbers and the arrows and the millisecond commas, is an evening of work that nobody remembers fondly. This page does the mechanical half in a second. If the text does not exist yet at all, a Windows transcription program can produce it first, in batch, on your own machine.

Convert TXT to SRT in one pass.

Convert TXT to SRT in one pass

Text to SRT is a single pass here: a 300-line script comes back as 300 numbered cues in about a second.

  • No sign-up and no daily limit on conversions.
  • Long scripts are fine, the whole file is processed at once.
  • Cue length runs on auto, sized from how long each line is, or on a fixed number of seconds.
  • Runs in the browser you already have, desktop or phone.

Split by length and by sentence

The converter cuts the text in two ways at once. One limit is the character count you set, the other is the end of a sentence, where a period or a question mark stands. The result is cues that read as whole phrases instead of arbitrary chunks. Empty lines and stray double spaces are ignored.

Even timing, not synced to the voice

Timecodes are handed out evenly from your settings. The tool never listens to the audio and cannot know when a phrase is actually spoken, so what comes out is a draft track that fits the timeline and then gets nudged in an editor. For a script read aloud at a steady pace the drift stays small; for a lively dialogue expect to move several cues by hand.

Valid SubRip output

Cues are numbered from 1, timecodes are written as 00:00:01,000 --> 00:00:04,000 with a comma before the milliseconds, and a blank line separates the blocks. That is exactly what the SubRip format asks for, which is why the file loads in VLC or YouTube Studio without a complaint.

Compute automation Automation image/svg+xml Amido Limited Richard Slater

A subtitle generator with nothing to install

The conversion is done by the page itself, in the browser. Your text is not sent to our server, and there is no server round-trip while you convert, so a long script is handled as fast as a two-line one.

Who needs a TXT to SRT converter

Video creators

You wrote the script before recording, so the text is already on disk. If you are working the other way round and start from a video that is published, our YouTube transcript extension for Chrome saves the transcript as text that you can feed in here.

Teachers and course authors

Lecture notes become captions for a recorded lesson. Students who watch with the sound off, or in their second language, read the text under the video instead of guessing.

Translators and localizers

A translated script usually arrives with a line break after every spoken phrase. That layout converts almost one to one, and you then line the cues up against the original subtitle file in your editor.

🙋 Frequently Asked Questions

Yes. Load the .txt file, press the button, and the page returns a valid .srt with the cues numbered from 1. Nothing has to be installed and no account is required.

Paste the text into the tool above and download the .srt. The result is much better when the source is already broken into phrases, one per line, with the punctuation left in place. The converter treats periods, question marks and exclamation marks as split points, so a wall of text without punctuation gets cut purely by character count, at 42 unless you say otherwise.

In Word, save the document as plain text first with File > Save As > Plain Text (*.txt), then load that .txt here. Copy and paste works as well. Formatting and tables are dropped either way, because an .srt file holds only text and timecodes.

Short answer: load the text above and press the download button. That is the whole text to SRT job. Long answer: the timecodes are spread evenly and are not synced to the voice, so alignment is the last step and it stays on you. Open the .srt in a subtitle editor or in a player with a timing panel, shift the whole track with the offset if the start is off, then fix the few cues that drifted. Still faster than typing 300 timecodes from zero.

Drop the script into the box above and press download. You can also make an SRT file from text you type straight into the box, with no file involved at all. The index numbers, the arrows and the millisecond commas are written for you, and that is the part people mistype when they build the file by hand. If you want to inspect the finished blocks afterwards, open the file in our online SRT viewer.

This converter goes one way only, TXT in and SRT out. If what you hold is another subtitle format such as .ass, .sbv or .vtt, that swap belongs to our subtitle format converter. Audio and video need transcription first, and when the video itself has to be cut or resized, look at our set of video utilities.
YouTube Video to Text Converter - Chrome extension.Get YouTube Video to Text Converter

Free Chrome extension - no account, no upload.

Related subtitle tools