YouTube Tools

Export YouTube Playlist to XML

Paste a playlist link to download its videos as a well-formed XML document, ready for imports, XSLT or any tool that reads XML.

How to export a YouTube playlist to XML

  1. 01

    Paste the playlist link

    Copy the link of any public or unlisted playlist and press Export. Every video is read, however long the playlist is.

  2. 02

    XML is already ticked

    Pick the elements each video holds: title, video ID, durations, views, likes, description, tags and more.

  3. 03

    Download

    Press Download to get an .xml file, or tick more formats to get them together in a ZIP.

How the XML is structured

The root <playlist> element holds the playlist's id, title, channel, url, videoCount and exportedAt, followed by a <videos> element with one <video> per video in playlist order. Each picked column becomes a child element named after it, such as <videoId> or <durationText>.

Lists like tags become nested <item> elements, and missing values are empty elements, so every <video> has the same shape. Special characters are escaped and characters XML 1.0 can't hold are removed, so the file always parses.

Frequently asked questions

Can Excel open the XML file?

Yes. In Excel choose Data, Get Data, From File, From XML and expand the videos table. For a ready-made sheet, the Excel (.xlsx) download is simpler.

Is there a schema?

There's no XSD file, but the structure is fixed: the same elements appear in the same order for every video, based on the columns you pick.

What encoding does the file use?

UTF-8, declared in the XML header, so titles in any language and emoji come through unchanged.

Is there a limit on playlist length?

No. Playlists with thousands of videos are read in full, page by page, and you can export only a range with the From and To video numbers.

Export a YouTube playlist to other formats

More YouTube tools

See all tools