Back to YouTube in Excel
SheetXAI logo
YouTube logo
YouTube · Excel Guide

Export All Items From a YouTube Playlist Into a Excel

2026-05-14
5 min read

The Scenario

You built a 45-lesson YouTube course playlist and your LMS team needs the complete lesson list — position numbers, video IDs, titles, and publish dates — to cross-reference against the course modules in their system. A new-hire on your team was supposed to put this together. She left the company after two weeks. The spreadsheet she started has 12 rows and some of the video IDs are wrong.

The bad version:

  • Open the YouTube playlist in a browser, start reading video titles, look up the video ID by clicking into each video and reading the URL
  • After 15 videos, realize the playlist order in YouTube doesn't sort by publish date — it's manually curated — so you can't reconstruct position from publish date
  • Go to YouTube Studio, find the playlist, try to export the playlist — there's no export option
  • Hand the partial spreadsheet back to the LMS team and tell them you'll get the rest to them "by Friday" which becomes the following Monday

A 45-lesson course with 12 accurate rows and 33 placeholders doesn't pass an LMS cross-reference check.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent inside your Google Sheet. It reads the playlist ID from your sheet and pulls the full playlist contents from the YouTube API in playlist order, including position numbers.

List all videos in the playlist ID in cell A1 and write them into this sheet with position, video ID, title, and published date in playlist order

What You Get

  • 45 rows, one per lesson, in exact playlist order
  • Column A: playlist position (1-indexed)
  • Column B: YouTube video ID
  • Column C: video title
  • Column D: published date in YYYY-MM-DD format
  • Results in the order the playlist curator arranged them, not chronological

What If the Data Is Not Quite Ready

The LMS team also needs the video duration for time estimates

List all videos in the playlist ID in cell A1 — write position, video ID, title, published date, and duration (in mm:ss format) into this sheet in playlist order

You need to pull items from three playlists into separate tabs

For each playlist ID in column A of the Playlists tab, export all videos into a new tab named after the playlist title — include position, video ID, title, and published date on each tab

The LMS module map has a different sort order and you need to match by title

List all videos in the playlist ID in cell A1 — write position, video ID, and title into this sheet — then in column D, look up each title against the LMS module list in the Modules tab and write the matching module ID, flagging any titles with no match as "Unmatched"

You want to detect if any video in the playlist is private or unlisted

List all videos in the playlist ID in cell A1 — write position, video ID, title, and published date — then for each video, check its privacy status and add a column E flagging any video that is private or unlisted as "Restricted"

One prompt catches the course content audit and the access issue in the same pass.

Try It

Get the 7-day free trial of SheetXAI and open a Google Sheet with your playlist ID in cell A1 — ask SheetXAI to export the full ordered video list and your LMS team has what they need. See also auditing all channel playlists or the YouTube hub.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more