MYFRESHTOOLS
50% OFF
YouTube › Playlist Builder

How to Create a YouTube Playlist From a Text File

A plain .txt file of links is the simplest list there is. Here's how to turn it into a playlist without adding each video by hand.

Published 30 September 2026 · 7 min read
Quick answer
YouTube can't import a file of links, but a YouTube playlist builder can. Save one YouTube link or video ID per line in a .txt file, upload it, connect your channel and confirm. The playlist is created in the order of your lines, as a new playlist or added to one you own.

Text files are where lists of links end up. A note you kept while researching, a chat you exported, the output of a script, a list a friend pasted into an email and you saved. They all end up as lines of text, and then you hit the wall: YouTube's playlist editor wants each video added one at a time.

This guide shows what a text file needs to look like, what the manual alternatives cost you, and how to go from a .txt file to a finished playlist in one pass. It should be useful even if you never touch a tool, because most failures come from how the file is written.

The file

What a good text file looks like

The rule is one video per line. Everything else is forgiving. The builder scans each line for a YouTube video link or a bare video ID and ignores the rest, so you don't have to clean the file first.

Line in the fileWhat happens
https://www.youtube.com/watch?v=dQw4w9WgXcQRead as a video.
https://youtu.be/dQw4w9WgXcQRead as a video (short link).
https://www.youtube.com/shorts/aBcDeFgHiJkRead as a video (Shorts link).
dQw4w9WgXcQRead as a video (bare 11-character ID).
Lecture 3 - https://youtu.be/dQw4w9WgXcQRead as a video. The label is ignored.
https://www.youtube.com/playlist?list=PL...Skipped. It's a playlist link, not a video.
Remember to check the last oneSkipped. No video link on the line.

Order is the file's order

Videos are added top to bottom. If order matters, such as a course syllabus or a set list, arrange the lines first. The playlist follows them exactly.

Blank lines are ignored, and a repeat of the same video is kept in the list so you decide what to do with it: leave the repeats out or switch on the "allow duplicates" option when you build.

Doing it by hand

The manual ways, and where they break

MethodWhat it doesWhere it breaks
Save each video by handOpen the link, click Save, pick the playlist.Fine for five videos. Painful for fifty, and it's easy to skip or repeat one.
Add to queueBuilds a temporary queue you can play right away.It isn't a saved playlist. Close the tab and it's gone unless you save it.
The watch_videos URL trickA URL with video IDs separated by commas opens a temporary list you can save as a playlist.Undocumented by YouTube, so it can stop working, and you have to hand-edit the IDs into a URL.

All three treat your text file as something to read by eye. None of them can take the file itself. That's the gap a builder fills.

The fast way

How to upload it and build the playlist

Check the file

Open the .txt file and confirm each video sits on its own line, in the order you want. Save it as plain text with a .txt extension.

Open the builder and upload

Go to YouTube Playlist Builder and use the upload button, or drop the file onto the text box. The links appear in the box and you see how many were loaded. If the count is wrong, use Undo and fix the file.

Review the list

The tool checks each line and shows a row per video, with a flag on anything it couldn't read. You can also edit the text box directly to remove or reorder lines before you build.

Connect YouTube with write access

Building a playlist means creating or editing one on your channel, so the tool asks for read and write permission. Nothing changes until you confirm.

Choose the destination and confirm

Create a new private, unlisted or public playlist, or add to one you own. Confirm, and you get a link to the result. Skipped videos are listed and never charged.

A private playlist only opens for the right account

If you build a private playlist, open it while signed into YouTube as the same account you connected. Other accounts see "The playlist does not exist."

The tool

How MyFreshTools helps

What the tool does

Playlist Builder turns a list of YouTube links, Shorts links or video IDs into a real playlist. It accepts a pasted list or an uploaded file, builds a new playlist or adds to one you own, and keeps your order.

Who it's for

  • Anyone whose list of links lives in a notes app, a chat export or a script's output.
  • Teachers and course builders who keep a syllabus as a plain list.
  • People who want to rebuild a trimmed version of a playlist they exported earlier.

How to use it

Upload the file (or paste the text), connect YouTube, choose a destination, confirm. Signed out, you see a short preview of your list and are taken to sign up, then brought back with your list restored.

Requirements and limits

  • It needs a free account and a YouTube connection with edit (read + write) permission on the channel the playlist goes to.
  • File uploads accept CSV, TSV, Excel (.xlsx / .xls), ODS, TXT, JSON and HTML, up to 5 MB and 300 links per file. The file is read in your browser and never uploaded — only the links reach the tool.
  • The free plan builds as many videos as your free credits cover (2 videos per credit); the rest stay saved and can be added to the same playlist later. Paid plans build up to 200 videos per run.
  • Cost is 1 credit per 2 videos actually added. Deleted or private videos are skipped and reported, and you are never charged for them.
  • The destination must be a playlist you own. Liked videos, Watch Later and auto-generated Mixes can't be edited by any app.
  • It uses public video data, so it doesn't check that you own the videos you add — only the destination playlist.
Real examples

Where the text file comes from

  • Notes and research. Links you dropped into a notes file while researching become one playlist you can play through.
  • Chat and email exports. A long thread of "watch this" links, saved as text, turns into something you can actually press play on.
  • Script output. If a script or a scraper writes links to a file, uploading it is quicker than wiring up the API yourself. See API vs online tool for bulk playlists for when to script it instead.
  • A trimmed export. Export a playlist to text with the text export, delete the lines you don't want, and upload what's left.

If your list is in a spreadsheet instead, see creating a playlist from a CSV file. For a list you'd rather paste than upload, the paste-a-list guide covers it.

Watch out

Common mistakes and fixes

SymptomCauseFix
The file loads 0 linksThe lines hold titles or playlist links, not video links or IDs.Put a video link or 11-character ID on each line.
Fewer links than expectedSome lines had no video link, or the file has more than 300 links.Check the count shown after upload; split a long file into batches.
File type not supportedThe file isn't .txt, .csv, .tsv, .xlsx, .xls, .ods, .json or .html.Save it as plain text and upload again.
Some videos were skippedThey're deleted or private, so YouTube can't add them.Check the skipped list at the end and replace or drop those links.
A word was mistaken for an IDBare IDs are only trusted when a whole line is exactly 11 valid characters.Keep notes on the same line as a full link, or on their own line without an ID-like word.

Frequently asked questions

No. The builder looks for YouTube video links on each line, so a line like "Lecture 3 - https://youtu.be/dQw4w9WgXcQ" still works and the label is ignored. A line that is only an 11-character video ID works too. Lines with no video link or ID are left out.

Both are picked up. If you'd rather keep one video per line so the order is obvious, split them before uploading.

Yes. Videos are added top to bottom, exactly as they appear in the file.

No. The file is read in your browser, and only the extracted video links are sent to the tool to be checked and built. The file itself never leaves your device.

A single upload uses up to 300 links, and a paid run adds up to 200 videos. For a longer list, split the file and build in batches, adding each batch to the same playlist.

Yes. A playlist exported to text carries a link on every line, so you can trim the lines you don't want and upload the result to build a new playlist from it.

The takeaway

A text file is the easiest list to turn into a playlist, because one video per line is all the tool needs. Arrange the lines in the order you want, upload the file, check the count, and open the result from the right account.

Related MyFreshTools tools