About SRT to TXT
An SRT file is built for a video player. Every cue has a number, a timing line and text that is deliberately wrapped to two short lines, so reading one as a document is slow going. What most people actually want from it is the script: something to read, search, translate or quote.
This page turns the subtitle file into plain text. Older files open correctly too: many SRT files from the 2000s are saved as Windows-1252 or UTF-16 rather than UTF-8, and those are detected so that accents do not turn into junk characters.
You get a text file named after your original, so lecture.srt downloads as lecture.txt.
How it works
The parser looks for timing lines rather than blank lines, because hand-edited SRT files often have blank lines inside a cue or none between cues. Everything between one timing line and the next is the text of that cue, apart from the number directly above the next timing line.
Formatting is then removed: <i>, <b> and <font> tags, plus the {\an8} style codes used to position text at the top of the screen. The two wrapped lines of a cue are joined into one, except for dialogue lines beginning with a dash, which stay separate because they are two different people talking.
If most cues repeat a line from the cue before, which is how rolling auto-captions work, the repeats are collapsed so each line appears once, and a note tells you that it happened.
How to use SRT to TXT
- Click Select SRT file, drop the file on the page, or paste the subtitle text into the box.
- The text appears on the right straight away, with the number of cues and the running time underneath.
- Open Options and change Layout to Paragraphs or With start times if one line per cue is not what you need.
- Click Download TXT or Copy.
Tags, wrapped lines and dialogue
1
00:00:01,200 --> 00:00:03,800
<i>Previously, on the show...</i>
2
00:00:04,100 --> 00:00:07,000
We had no idea
where the map would lead us.
3
00:00:07,400 --> 00:00:09,900
{\an8}The door was already open.
4
00:00:10,000 --> 00:00:12,500
- Is anyone there?
- Keep your voice down.Previously, on the show...
We had no idea where the map would lead us.
The door was already open.
- Is anyone there?
- Keep your voice down.Cue 2 was wrapped for the screen and now reads as one line. Cue 4 stays on two lines, since each dash marks a different speaker.
When it helps
- Getting a script from a film or course so you can search it for a half-remembered line.
- Handing a translator the wording of a subtitle file without the timing clutter.
- Reviewing what a captioning vendor delivered by reading it through as prose.
- Pulling quotes from a recorded webinar for a blog post.
- Feeding subtitle text into a word counter to estimate translation cost.
Tips for a better result
- Choose With start times if you plan to go back to the video, since each line then starts with a time such as
[00:01:23]. - Paragraphs works best when the subtitles have sentence punctuation. Auto-generated files often have none, in which case paragraphs break at a set length.
- Sound descriptions such as
[door creaks]are left in because they are part of the file's text. Remove them by hand or with find and replace if you only want dialogue.
Good to know
- Only text comes out. Timing cannot be rebuilt from the result later, so keep the original SRT.
- Image-based subtitle formats such as SUP or IDX/SUB hold pictures of text and cannot be opened here.
- Song lyrics, sound effect descriptions and on-screen text notes stay in the output, because nothing marks them as different from speech.
- Files larger than 20 MB are refused, since a browser tab struggles beyond that size.
Questions people ask
My subtitles show strange characters like é when I open them. Will this help?
It usually does when you use the file button rather than pasting. Files that are not valid UTF-8 are read as Windows-1252, and the name of the encoding appears next to the file name so you can check it. Files in rarer encodings, such as Shift JIS or Windows-1251, are not detected and may still look wrong.
What is the difference between this and Remove Timestamps?
This page expects a complete SRT and reports an error if it finds no timing lines, and it offers layouts for the extracted text. Remove Timestamps accepts any text with time codes in it and leaves everything else as it found it.
Can I paste a VTT file here by mistake?
It will still work, because the parser recognizes the WEBVTT header and handles it correctly. For VTT-specific options such as keeping or removing speaker voice tags, use VTT to TXT.
Why are there fewer lines than cues?
Empty cues are skipped, and rolling captions that repeat earlier lines are collapsed. The stat card shows how many cues the file contains, so you can compare it with the output.
What to use next
- SRT to VTT: if you need the timings kept, in the format web video players use
- Transcript Paragraph Formatter: to reshape the extracted text into paragraphs of a size you choose
- Remove Filler Words: if the subtitles were transcribed word for word and include every um
Learn more
Last reviewed . Read our editorial policy.