• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Clear iTunes Library and Playlists

Clear iTunes Library and Playlists

By Mitch Bartlett 12 Comments

My Apple iTunes playlists were a rickety mess. I had links to songs that didn’t exist on my hard drive anymore, duplicates and a bunch of playlists that I didn’t need anymore. I wanted to start over. I could delete all of this data by individually selecting each item and deleting them, but that’s a pain. There is an easier way. Here’s what I did.

Option 1 – Select All then Delete

  1. Open the list of songs you wish to delete.
  2. Windows users, hold “Ctrl” and press “A“. Mac users hold “Command” and press “A“.  All songs in the list will be selected.
  3. Press the “Delete” key.
  4. Select the “Delete Items” button to confirm your selection.
  5. Repeat steps 1-4 for any other music lists.

The items are deleted from the list, but the actual music files are not deleted from the computer.


Option 2 – Clear Everything from iTunes

Warning: This method will reset everything in iTunes to a default state. All playlists, ratings, apps, and library lists will be obliterated. Music files should still be preserved on your hard drive.

  1. Close iTunes.
  2. Navigate to one of the following locations depending on your operating system:
    • MacOS: /Users/username/Music/iTunes/
    • Windows XP: C:\Documents and Settings\username\My Documents\My Music\iTunes\
    • Windows Vista: C:\Users\username\Music\iTunes\
    • Windows 7: C:\Users\username\My Music\iTunes\
    • Windows 8: C:\Users\username\My Music\iTunes\
    • Windows 10: C:\Users\username\Music\iTunes\
  3. Right-click “iTunes Music Library.xml” and select “Rename“. Give it a name of “iTunes Music Library.old“. Do the same thing for the “iTunes Library.itl” file.
  4. Open iTunes. The library, playlist, ratings will then be cleared out. New “iTunes Music Library.xml” and “iTunes Library.itl” files will be created.

Now if you wish, you can drag and drop your music files you want to get back to the main window of iTunes. The main folder for iTunes music is located at the path(s) above in the “iTunes Music“. It’s a good idea to organize your music files first before you re-add your music files back to iTunes to avoid duplicates and errant file names.

You Might Also Like

  • Clear Playlists and Library in Windows Media PlayerClear Playlists and Library in Windows Media Player
  • iTunes: How to Copy Playlists to iPhone, iPad, or iPodiTunes: How to Copy Playlists to iPhone, iPad, or iPod
  • Solve "The iTunes Library.itl file is locked" Error in iTunesSolve "The iTunes Library.itl file is locked" Error…
  • iTunes: 'The file "iTunes Library.itl" cannot be read' FixiTunes: 'The file "iTunes Library.itl" cannot be read' Fix
  • How to Organize Your iTunes Music LibraryHow to Organize Your iTunes Music Library
  • How To Organize Spotify Podcasts in PlaylistsHow To Organize Spotify Podcasts in Playlists
  • How to Add a New Steam Library FolderHow to Add a New Steam Library Folder
  • Outlook 2013: "Library Not Registered" ErrorOutlook 2013: "Library Not Registered" Error
  • Plex: There Was an Unexpected Error Loading This LibraryPlex: There Was an Unexpected Error Loading This Library

Filed Under: Software Tagged With: itunes

Reader Interactions

Comments

  1. Doug Swann says

    January 18, 2021 at 9:03 am

    Not really a comment, but a question. I have two versions of the same song in my Itunes playlist. One version of the song plays fine, but when I click on the other version, it skips the song and goes right to the next song in the overall playlist. I’ve tried to delete the version that doesn’t work, but I can’t seem to remove it from the playlist. Any thoughts.

  2. William Robertson says

    February 22, 2020 at 5:00 am

    Instructions for the new Music application in macOS Catalina would be great.

  3. ziv says

    January 9, 2020 at 11:46 pm

    its not working for me – halp .

  4. Emily Davila says

    September 29, 2019 at 5:47 pm

    I do not see the .xml file, only the .itl file, would you know why? I am on Windows 10.

  5. Harendra Kumar says

    July 28, 2019 at 1:14 am

    Great, it works for me!!

  6. Nile says

    November 23, 2018 at 4:29 pm

    Great thankss!

  7. Okey says

    November 17, 2018 at 4:34 pm

    I have tried EVERYTHING to delete old songs and play lists that occupy space and drive me crazy and nothing works! Even when I select the songs and use the ‘Song’ Menu, the Remove from Playlist and Delete from library options are disabled! Help!

  8. Mich says

    August 18, 2018 at 6:23 pm

    OMGURD! SO fantastic and simple. I hate managing my iTunes library – not intuitive and unwieldly… I had a bunch of files that couldn’t be located! ugh … this saved me HOURS, DAYS, maybe years!
    Thank you! Apple, take heed – fix the iTunes interface – blech!

  9. Roger says

    October 28, 2017 at 2:26 am

    Great Tip. Option 2 worked a treat for me on my Mac. Thanks *****

  10. Kier Dirlam says

    September 11, 2017 at 1:54 pm

    Option 2 worked great. I had doubles and triples in my library before I did this. Now I am clean with just what I actually have in ITunes. Apple really should make it easier to remove a folder or drive from the Library but your method worked.

  11. Robert says

    February 22, 2017 at 7:09 pm

    Thanks for the instructions. This is exactly what I was looking. I recently purchased my first iPhone (after about 12 years of Blackberry’s, then Androids). One of the first things I did upon creating my iTunes account was import all my music from my laptop (via Windows Media Player) to iTunes. Except my music in WMP was a mess with duplicate songs..duplicate songs with different names…incomplete reference info like genre, Album, Artist, etc.

    I suspect it will be easier to update that info in WMP, then re-import that music into to iTunes.

    So you’ve given me exactly what I was looking for, and for the same reason even. ha!.

  12. tim says

    February 3, 2017 at 8:51 pm

    you champion!!!!!

    i had a song that wouldnt deleated and it pissed me off bad and now you have saved me from going crazy

    THANK YOU!!!

Did this help? Let us know! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Spotify: How to Merge Playlists
  • Google Duo on Android: How To Add Automatic Captions To Video and Audio Messages
  • Slack: How To Disable Notifications for Threads You’re Following
  • Slack: How To Configure Your Status
  • Google Duo: How To Prevent Other People From Seeing Your Video Before They Pick up Your Call
  • Slack: How To Configure Notification Keywords
  • How to Tell If Your Phone Is Dual-SIM
  • Slack: How To Change Your Time Zone

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Top 8 Itunes Alternatives for Windows

© Copyright 2021 Technipages · All Rights Reserved · Privacy