OnlineTextLab
Esc

YouTube Transcript Cleaner

Built for what you get when you copy a YouTube transcript: time on one line, words on the next, and no punctuation.

Paste a transcript copied from YouTube

Options 3
Paragraph length

Runs on your device. Your files and text are not uploaded.

About YouTube Transcript Cleaner

Copying the transcript from under a YouTube video gives you a very particular kind of mess. Each time code has its own line, each caption fragment has another, chapter titles appear in between, and newer copies can include spoken durations such as 1 minute, 5 seconds as well. Auto-generated captions also have no punctuation or capitals, and [Music] appears wherever the speech stops.

This cleaner is written for those exact formats. Paste the text as you copied it, and you get paragraphs you can read. Chapter titles remain as headings of their own, which makes long videos easier to navigate.

Caption files work too. Whether you download .srt, .vtt or .sbv from YouTube Studio or use a download tool, each is recognized without you selecting anything, and the doubled lines in rolling auto-captions are collapsed.

How it works

Time-only lines, spoken-duration lines and timing lines are removed, and fragments are joined. In the copied format each timestamp owns one line, so a short extra line with no time is treated as a chapter title, as long as the text has at least three timestamps on lines of their own. Sound tags such as [Music], [Applause] and ♪ lyrics markers are stripped, along with the >> speaker-change markers.

Paragraphs close at a sentence end once they are around 70 percent of your chosen length, or at the length itself when there is no punctuation. Tidy capitals then capitalizes the first letter of each paragraph and the word "I" in forms like i'm and i've. It adds no punctuation and corrects no spelling, since doing that reliably needs more than a set of rules.

How to use YouTube Transcript Cleaner

  1. On YouTube, open the description, press Show transcript, select the text and copy it.
  2. Paste it here. You can also open a downloaded .srt, .vtt or .sbv file.
  3. Under Options, set Paragraph length, and turn on Keep a timestamp on each paragraph if you want to find your way back to the video.
  4. Press Copy or Download TXT.

Copied from a video with chapters

Input
Getting started
0:00
hey everyone welcome back to the channel
0:03
[Music]
0:06
so today i'm going to show you how i
0:09
sharpen a kitchen knife at home and i
0:12
think you'll be surprised how easy it is
The whetstone
0:15
first you'll want to soak the stone
0:18
for about ten minutes
Output
Getting started

Hey everyone welcome back to the channel so today I'm going to show you how I sharpen a kitchen knife at home and I think you'll be surprised how easy it is

The whetstone

First you'll want to soak the stone for about ten minutes

"Getting started" and "The whetstone" are chapter titles from the panel, and they now stand alone. Note that the text still has no full stops, because YouTube's auto-captions do not have any.

When it helps

  • Making notes from a long tutorial without watching it again.
  • Quoting a talk accurately, with a time on each paragraph so readers can check the source.
  • Reading a video in a quiet place, or faster than you could watch it.
  • Turning your own channel's captions into a text version for your website.

Tips for a better result

  • Videos with chapters give the best results, since titles break up the text for you.
  • If you own the video, try to edit the captions in YouTube Studio first. Corrections there carry through to everything you make afterwards.
  • Keep the timestamps on if you may need to check what was actually said. Auto-captions mishear names and technical words often enough to matter.

Good to know

  • It does not fetch anything from YouTube. You need to copy the text or download the file yourself, because a page like this cannot read another site's content from your browser.
  • Auto-captions stay unpunctuated, so read carefully before quoting.
  • It does not correct misheard words. YouTube's [ __ ] marker for a censored word stays as it is, since the original word is not in the text.
  • A short caption line with no time, in text with few timestamps, may be taken for a chapter title or missed as one.
  • Speakers are not identified, because YouTube's captions do not mark them apart from >>.

Questions people ask

Can I just paste a YouTube link?

No. Fetching captions requires a server to contact YouTube, and this site works entirely in your browser. Open the video, press Show transcript under the description, and copy from there. It takes a few seconds.

Why is there no punctuation in my result?

Auto-generated captions have none, and adding it correctly requires understanding the language. Videos with captions written by the creator usually have full punctuation, and this page keeps it, closing paragraphs at sentence ends.

What is this "1 minute, 5 seconds" text in my copy?

It is a label for screen readers that can come along when you select text in the transcript panel. Lines like that are removed when they come straight after a timestamp.

Why should I use this rather than Remove Timestamps?

Remove Timestamps deletes the codes and leaves the short lines as they were. This page also joins lines, removes sound tags, finds chapter titles and builds paragraphs, since a YouTube transcript needs all of that.

What to use next

Learn more

Last reviewed . Read our editorial policy.