اقرأ هذه الصفحة بالعربيةLee esta página en españolLire cette page en français
Convert TXT to SRT
Turn your script or transcript into an SRT made of short, timed subtitles. Paste the text or add a .txt file. It is free and works inside your browser, so your words stay with you.
Your text
Your text stays on your device. The subtitles are made in your browser.
Subtitle file
How to convert TXT to SRT
Paste your text above or add a .txt file. The tool breaks it into subtitles of one or two lines, each line up to 42 characters, or 32 for vertical video, and gives every subtitle a number and a start and end time. Plain text carries no timing, so the times come from the reading speed you choose, or are stretched across your video if you type in its length. When a line already begins with a time, such as 0:05 or [00:01:12], that time is kept. Press Download .srt to save. You pay nothing, you do not sign up, and your text is never uploaded.
How it works
- Step 1
Add your text
Paste your script or transcript, or drag a .txt file into the box.
- Step 2
Set the timing
Choose Slow, Normal or Fast, set a start time, or type the video length so the subtitles fill it.
- Step 3
Check the subtitles
The numbered, timed subtitles appear in the result box. Change the line width or the lines per subtitle until they read well.
- Step 4
Download the file
Pick SRT, VTT or SBV and save it, then load it into your video editor or player.
How your text becomes subtitles
- By sentence breaks the text at the ends of sentences. One per line breaks it at the end of each line of your text. Either way, text too long for one subtitle is split to fit.
- Each line holds up to 42 characters for wide video or 32 for vertical video, with 1 or 2 lines per subtitle.
- Each subtitle stays up for as long as it takes to read at the speed you pick: 12, 15 or 18 characters a second for Slow, Normal or Fast, from 1 to 7 seconds. A video length stretches or squeezes these times to fill it.
- Subtitles follow one another from the Start at time. Enter the video length and they are spread over the whole video.
- A line that already starts with a time, such as 0:05 or [00:01:12], starts its subtitle at that time.
- Every subtitle is numbered and written with SRT times such as 00:00:01,000 --> 00:00:03,500.
TXT and SRT compared
| TXT | SRT | |
|---|---|---|
| Full name | Plain text | SubRip |
| Starts with | Your first line of words | The number 1 |
| Time format | None | 00:00:01,000 --> 00:00:03,000 |
| Text styling | None | Bold, italic and underline |
| Good for | Scripts, transcripts and show notes | Video editors, social platforms and most media players |
Which tool makes or edits a subtitle file?
| Tool | You have | You get | Use it when |
|---|---|---|---|
| Subtitle editor | A subtitle file, and your video if you like | The file with its words and times fixed | You fix lines while the video plays beside them |
| TXT to SRT | A script or transcript | Timed subtitles as SRT, VTT or SBV | You have the words but no times |
| MKV subtitle extractor | An MKV or WebM video | Its subtitle track as SRT, VTT, TXT or ASS | The subtitles are inside the video file |
| Add text to a GIF | An animated GIF | The GIF with top and bottom text | You caption a GIF in one of 28 caption styles |
| Caption editor | A video | The video with captions burned in | You have no subtitle file yet: it writes captions from the speech, free for videos up to 10 minutes at 480p with a vid-hub.com mark |
Want the captions burned into your video?
Upload your video and Vid Hub turns the speech into captions, then burns them into the picture in one of 28 caption styles and 14 animations. It is free for videos up to 10 minutes, and you need no account.
Upload your videoNo account needed.
Frequently asked questions
How do I turn a TXT file into an SRT?
Add the .txt file to the box at the top, or paste the words. The result box shows them split into numbered, timed subtitles, and Download .srt saves the file.
Where do the times come from?
Plain text has no timing, so every subtitle is given the time it takes to read at the speed you pick, from 1 up to 7 seconds, with each one following the last. You can choose when the first one starts, or type the video length so the subtitles stretch across it. Any time already written at the start of a line is used as it is.
Will the timing line up with what is said in my video?
Only roughly. The tool cannot listen to your video, so times worked out from text are estimates. For captions timed to the speech, upload the video to the Vid Hub caption editor. It writes the captions from what is said and lets you fix any word. Paid plans add the .srt, .vtt and .txt files.
Can I use a transcript that already has times?
Yes. When a line begins with a time such as 0:05 or [00:01:12], its subtitle starts at that time.
Can I make a VTT file from text?
Yes. Press VTT above the result and you get a WebVTT file, the format web players and course sites use. SBV is available too.
How long should each subtitle be?
Many style guides set a limit of 42 characters a line and two lines per subtitle, on screen for 1 to 7 seconds. Vertical video for TikTok or Instagram Reels is narrower, so lines of about 32 characters, or a single line at a time, are easier to read.
Is it free to convert text to SRT here?
Yes. It costs nothing, adds no watermark, and works on as much text as you want without an account.
Is my text uploaded?
No. The subtitles are built inside your browser, and your text is never sent to Vid Hub. That keeps private scripts and unreleased projects private.
More free tools
- Edit a subtitle file onlineFix the words and times in a subtitle file, with your video playing beside it.
- Fix out-of-sync subtitlesShift subtitles earlier or later, or correct a frame rate mismatch.
- Add text to a GIFWrite top and bottom text on an animated GIF in 28 caption styles.
- Convert a subtitle fileMove subtitles between SRT, VTT, SBV, TXT and ASS.
- Convert VTT to SRTGet an SRT from a WebVTT file, ready for video editors and social sites.
- Convert SRT to VTTMake a WebVTT file from an SRT for web players and course sites.
- Convert SRT to TXTStrip the numbers and times from an SRT and keep a clean transcript.
- Convert VTT to TXTPull plain text out of a VTT caption file or a Zoom or Teams meeting transcript.
- Convert ASS to SRTGet a plain SRT from an ASS or SSA file, and leave out signs or songs.
- Convert SBV to SRTTurn an .sbv caption file into an SRT for your editor or social posts.
- Convert SRT to ASSTurn an SRT file into an ASS file with one ready style.
- Convert SRT to SBVTurn an SRT file into an .sbv caption file, times and words intact.
- Extract subtitles from MKVSave a subtitle track from an MKV or WebM video as SRT, VTT, TXT or ASS.
- Fix Arabic and Hebrew subtitlesFix punctuation and numbers that land on the wrong side in Arabic or Hebrew.
- Subtitle cleanerTake sound descriptions, speaker names and tags out of a subtitle file.
- SRT validator and fixerFind what a player can fail on in an SRT file, and get it fixed.
- Merge subtitle filesJoin two subtitle files, or put two languages on one subtitle.