EveryAIDay

GuidePublished November 13, 2026Updated November 14, 2026

How to Convert SRT to TXT

An SRT file is plain text wrapped in timing data. Converting it to TXT means unwrapping it: delete the cue numbers and timestamps, keep the words. Here are four free ways to do it — the fastest takes about 15 seconds.

Free · No sign-up · Nothing uploaded

Short answer: to convert SRT to TXT, remove the cue numbers and the timing lines (like 00:00:01,000 --> 00:00:03,000) and join the remaining lines into readable text. The fastest way is the free SRT to TXT Converter: paste the SRT text, pick a layout, then copy the plain text or download it as a .txt file. It runs entirely in your browser — nothing is uploaded. The same steps work for VTT files.

Which method should you use?

All four methods give you the same plain text. Pick by how many files you have and whether you want to install anything:

MethodSpeedInstall neededBatch filesBest for
Online converterAbout 15 secondsNoneNo — one file at a timeA single SRT, right now
Regex find-and-replaceMinutesText editor onlyNo — one file at a timeOne file, with no upload and no new software
Subtitle EditMinutesSubtitle Edit (free, Windows)Yes — batch convertFixing the subtitles as well as stripping them
PythonMinutes to set up, seconds per file after thatPython 3Yes — a whole folderRepeat jobs and large batches

Method 1: Use the free SRT to TXT converter (fastest)

No software to install, no account, no upload. The converter strips the scaffolding and hands you clean text.

1

Copy the SRT

Open your .srt or .vtt file in any text editor, select all, and copy — or paste a YouTube transcript with timestamps.

2

Paste it in

Open the SRT to TXT Converter and paste the text. The plain text appears instantly — the conversion runs as you type.

3

Pick the layout

One line per cue, blank lines between cues, or joined into flowing paragraphs — whichever fits what you need the text for.

4

Copy or download

Copy the plain text, or download it as a .txt file — ready for a blog post, a script, or a translation tool.

What the converter does for you

  • Removes sequence numbers and timestamps — in SRT (comma) and VTT (dot) form, plus the WEBVTT header.
  • Removes duplicate lines — a cue repeated right after itself, common in auto-generated captions. You can turn this off if you want every cue kept.
  • Strips formatting tags — <i>, <b>, <font> and similar inline tags inside captions.
  • Keeps every spoken word, in order. It never rewrites or summarises — it only deletes the scaffolding.

One thing to know: this tool always removes the timestamps, so the output is plain text only. Keep your original .srt file if you need the timings later.

What does an SRT file look like inside?

An SRT file is plain text made of numbered cues. Each cue has a number, a timing line, one or two lines of text, and a blank line:

Example SRT

Two cues from a video — number, timing, text, blank line, repeat.

1
00:00:00,000 --> 00:00:02,500
Welcome back to the channel.

2
00:00:02,500 --> 00:00:05,000
Today we are developing the very first
roll of film I ever shot.

That is all an SRT is — so converting it to TXT is mostly a deletion job. The only judgement calls are what to do with repeated lines (YouTube's auto-captions repeat them, see below) and whether to join the short caption lines into paragraphs, since subtitle lines are cut for timing, not for reading.

SRT vs TXT vs VTT — what is the difference?

The words are the same in all three files. What differs is whether the timing survives:

FormatWhat it containsTiming kept?Best for
SRTWords, cue numbers and timestampsYesCaptions — editors, players, upload forms
TXTWords onlyNoReading, blog posts, translation, AI summaries
VTTWords, timestamps and a WEBVTT header, plus optional stylingYesVideo on web pages (HTML <track>)

Converting SRT to TXT is one-way for the timing: once the timestamps are gone, the text cannot tell you when each line was spoken. Keep the original .srt file if you may need the timing again — you can always turn the plain text back into timed subtitles with the Text to SRT Converter, but the new timings will be estimated, not the original ones.

Method 2: Regex find-and-replace in a text editor

If you would rather do it by hand, any editor that supports regular expressions (Notepad++, VS Code, Sublime Text, BBEdit) can strip an SRT in a few passes. Run these in order, replacing each match with nothing — and test on a copy of the file first.

1 · Cue numbers

Find ^\d+\s*$ — a line that is only a number. Removes the 1, 2, 3… at the start of every cue.

2 · Timestamps

Find ^\d{2}:\d{2}:\d{2}[,.]\d{3} --> .*$ — the timing line, in SRT (comma) or VTT (dot) form.

3 · Formatting tags

Find <[^>]+> — tags like <i> and <b> inside captions.

4 · Override codes

Find \{\\[^}]*\} — codes like {\an8} that move a line to the top of the screen. Only needed if your file has them.

5 · Extra blank lines

Find \n{2,} and replace with \n — collapses the blank lines between cues into one.

That leaves one subtitle line per line. To make paragraphs, replace single line breaks with spaces (\n → space), then add breaks by hand where the topic changes. On a Mac or Linux command line, grep -vE '^[0-9]+$|-->' in.srt | grep -v '^$' > out.txt does steps 1, 2 and 5 at once.

Method 3: Subtitle Edit (free, Windows)

Subtitle Edit is a free subtitle editor for Windows. Open the SRT and use File > Export > Plain text, where you can choose to merge lines, remove formatting and add or skip time codes. It is the handy option if you are also fixing the subtitles themselves, rather than just stripping them once.

Method 4: Python (for batches of files)

If you have a folder of SRT files, a few lines of Python convert them all. This reads one file, keeps only the text lines, and writes plain text:

Convert one SRT file with Python

Run with Python 3. The utf-8-sig encoding skips the invisible byte-order mark some SRT files start with.

text = open('in.srt', encoding='utf-8-sig').read()
cues = text.strip().split('\n\n')
lines = [' '.join(c.splitlines()[2:]) for c in cues]
open('out.txt', 'w', encoding='utf-8').write(' '.join(lines))

That assumes each cue is number, timing, then text — the standard SRT shape. Add a regex to strip tags if your files have them, and a duplicate check if they came from YouTube's auto-captions.

Why does my transcript repeat every line?

Your transcript repeats every line because YouTube's automatic captions roll: each cue shows the previous line plus the new one, so each sentence appears twice in the file. Removing consecutive duplicate lines fixes it — the converter's Remove duplicate lines option does this automatically. In a text editor you can do it with a duplicate-line remover that keeps the original order.

Should you keep timestamps in the text?

It depends on what the text is for. Keep timestamps if you will quote the video, make chapters, or check a passage later; drop them for a blog post, an article or a translation. The converter on this site always removes them — the output is plain text only — so keep your original .srt file if you think you will need the timings again. And if you need the words timed again later, paste the plain text into the Text to SRT Converter, which turns it back into a timed .srt or .vtt file.

Frequently asked questions

How do I convert an SRT file to text?

Remove the cue numbers and the timing lines, then join the remaining text lines. The fastest way is a free converter: paste the SRT text into the SRT to TXT Converter, choose a layout, then copy the plain text or download it as a .txt file. By hand, a regex find-and-replace does the same thing.

Can I keep the timestamps?

Not with this converter — it always removes timestamps, so the output is plain text only. Keep your original .srt file if you need the timings later. If you need the words timed again, paste the plain text into the Text to SRT Converter, which turns it back into a timed .srt or .vtt file.

Does it work with VTT files too?

Yes. VTT has the same structure as SRT, with dots instead of commas in the times. The converter strips the WEBVTT header, sequence numbers and timestamps from either format, and the regex method works the same way.

Why are there repeated lines in my YouTube transcript?

YouTube's automatic captions roll: each cue shows the previous line plus the new one, so each sentence appears twice in the file. The converter's Remove duplicate lines option drops a cue whose text is identical to the one right before it.

Is my file uploaded anywhere?

No. The converter runs entirely in your browser. Nothing is sent to a server, stored or tracked.

Can I turn the text back into an SRT file?

Yes. Paste the plain text into the Text to SRT Converter, which turns it back into timed .srt or .vtt subtitles.

How do I convert SRT to TXT without timestamps?

Paste the SRT into the SRT to TXT Converter: it always removes the cue numbers and timestamps, leaving plain text only. By hand, delete the timing lines with the regex ^\d{2}:\d{2}:\d{2}[,.]\d{3} --> .*$ in a text editor.

How do I convert SRT to TXT on Windows?

Use the free converter on this site — it runs in your browser with nothing to install — or Subtitle Edit, a free Windows app: open the SRT and use File > Export > Plain text. The regex method in Notepad++ works too.

What is the difference between SRT and TXT?

An SRT file is plain text plus timing: cue numbers and timecodes that tell a player when each line shows. A TXT file is just the words, with no timing — which is why converting SRT to TXT means deleting the numbers and timestamps and keeping the text.

Can I convert several SRT files to TXT at once?

Yes, with the Python method in this guide: loop over the files in a folder and run the same few lines on each one. The online converter handles one file at a time, so it is the faster choice for a single SRT.

Related tools

Plain text is the starting point — clean it, time it, or convert it back.

Convert your SRT now — free

Free, no sign-up, no upload — paste the SRT and copy clean text in about 15 seconds.

Convert subtitles — free