Subtitle file to plain text

Paste or open an SRT or VTT file and get the words alone, without numbers, timestamps or tags, as paragraphs or one line per cue.

Example file: paste your own over it, or open one

Plain text

Read as SRT: 5 cues from 0:01 to 0:17, 46 words.

Need the transcript of a YouTube video? The YouTube Transcript API returns it as plain text in one request, no subtitle file needed.

Free, no sign-up. It runs in your browser: what you type is not sent anywhere.

Checked on 2026-11-19.

How to remove the timestamps

Paste an SRT or WebVTT file into the box, drop the file on it, or open it with the file button. The text appears underneath at once. Choose how it is laid out: Paragraphs joins the subtitles into running text, One line per cue keeps one line for each subtitle. Copy the result, or download it as a .txt file named after the file you opened.

The tool works out by itself whether the file is SRT or WebVTT. The file is read by the page, with your browser's own file reader, so it is not uploaded anywhere.

What is removed and what is kept

  • Removed: cue numbers and identifiers, time ranges, cue settings, the WEBVTT line, NOTE, STYLE and REGION blocks, and every tag, from <i> and <font> to WebVTT's class and timestamp tags. Codes in curly braces such as {\an8} go too.
  • Joined: the lines of a cue, with a space between them.
  • Decoded: character references such as &amp;, written as the character they stand for.
  • Kept: every word of the subtitles, including sound descriptions such as [music] or (laughs), which are part of the subtitle text.
  • Speakers: a WebVTT voice tag such as <v Ana> becomes "Ana: " where the speaker changes, the way a script names who speaks.
  • Repeats: a line that is the same as the line just before it is written once. This matters for files that repeat each line in the next cue, as captions that scroll up can; without it their text would say everything twice. The other side of it: a line someone really said twice in a row is written once too.

How the paragraphs are made

Subtitles have no paragraphs, only timed lines, so the tool makes them from the timing and the words. A new paragraph starts:

  • where the speaker named in a voice tag changes;
  • after a pause of 2 seconds or more between the end of one cue and the start of the next;
  • at the first sentence end (a full stop, question mark or exclamation mark) once a paragraph has 100 words;
  • at the next line once a paragraph has 250 words without a sentence end.

Nothing is added to the words: no punctuation and no capital letters. If the subtitles have no punctuation, the paragraphs break only at pauses, speaker changes and the 250-word limit. Choose one line per cue when you want the text split exactly as the subtitles split it, for example to compare it with the video.

Where it stops

  • No corrections. The text is what the subtitles say. Mistakes in them, such as misheard names, stay.
  • No times. The result has no timestamps at all. If you want the text with a timestamp at each line, the transcript endpoint below can return that for YouTube videos.
  • Other formats. It reads SRT and WebVTT only. An SSA or ASS file, an XML caption file or subtitles inside a video file get a message saying that this is not SRT or WebVTT, not a half-converted result.
  • Character sets. A WebVTT file is UTF-8 by its specification, while SRT files "do not have a character encoding standard"; the Library of Congress page adds that SubRip's own default output encoding is Windows-1252. The tool reads a file as UTF-8 and, when that fails, as Windows-1252, and says so. A file saved in another code page, such as a Cyrillic or Greek one, then shows the wrong letters: save it as UTF-8 in a text editor and open it again.
  • Size. It opens files up to 10 MB.

Get a YouTube transcript as text directly

For a YouTube video you do not need a subtitle file at all. The YouTube transcript endpoint returns the whole transcript as plain text in its text field, which is its default format, with a wordCount, and the timed segments (start, duration and text) alongside. Set format to timestamped for text with [0:12] timestamps.

Python
import os
import requests

res = requests.get(
    "https://pipefetch.com/v1/youtube/transcript",
    params={"video": "jNQXAC9IVRw"},
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print(res.json()["error"]["message"])  # no captions, or no such video: not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    print(data["wordCount"], "words")
    print(data["text"])

A request costs 1 credit, and a video without captions answers 404 no_transcript and costs nothing. The endpoint returns the captions YouTube has, uploaded or auto-generated, and isAutoGenerated says which. The Python transcript guide compares it with the free routes, which suit your own computer; if you saved captions with yt-dlp, paste the .vtt file here to get its text.

Questions

How do I remove timestamps from an SRT file?

Paste the file into the tool above or open it. The cue numbers and time ranges are removed at once, and you can copy the text or download it as a .txt file.

Does it work with VTT files too?

Yes. It reads SRT and WebVTT and works out by itself which one it was given. The WEBVTT line, comments, styles and cue settings are removed along with the times.

Why are some lines missing compared with the file?

A line that is the same as the line before it is written once, so a file that repeats each line in the next cue, as scrolling captions can, does not say everything twice. A line repeated on purpose is shortened the same way.

Can it add punctuation?

No. It keeps the words exactly as the subtitles have them. Without punctuation, paragraphs break at pauses of two seconds or more, at speaker changes, and after 250 words at the latest.

Is my subtitle file uploaded anywhere?

No. The file is read and converted by the page, in your browser. Nothing you paste or open is sent anywhere, and the tool keeps working if you go offline after the page has loaded.

Need this for many accounts, or in your code? The Pipefetch API returns the data as JSON, one GET request at a time. Get an API key with 100 free credits, no card needed.

APIs that return this data

Guides

Similar tools

More free tools

All free tools