{"id":122033,"date":"2021-09-06T09:47:39","date_gmt":"2021-09-06T09:47:39","guid":{"rendered":"https:\/\/www.leawo.org\/entips\/?p=122033"},"modified":"2025-07-07T08:18:15","modified_gmt":"2025-07-07T08:18:15","slug":"remove-dead-tracks-in-itunes-1114","status":"publish","type":"post","link":"https:\/\/www.leawo.org\/entips\/remove-dead-tracks-in-itunes-1114.html","title":{"rendered":"How to Remove Dead Tracks in iTunes"},"content":{"rendered":"<p>You moved your music files to different location and then  you notice that you had a long list of dead tracks in your iTunes library.  Surely, you can delete them one by one. However, don't you think it too  low-efficient? Who would like to spend a lot of time dealing with this trifling  thing? Isn't there any practical method to remove dead tracks iTunes? Today's  post will demonstrate you how to remove dead tracks in iTunes.<\/p>\n<div class=\"anchor-list-dark\">\n<ul class=\"pl40\">\n<li><strong><a href=\"#part1\">Solution 1: Remove Dead Tracks on Mac with Super Remove Dead Tracks<\/a><\/strong><\/li>\n<li><strong><a href=\"#part2\">Solution 2: Remove Dead Tracks on Windows with Notepad<\/a><\/strong><\/li>\n<li><a href=\"#part3\"><strong>Solution 3: Remove Dead Tracks with Leawo iTunes Cleaner <\/strong><\/a><\/li>\n<\/ul>\n<\/div>\n<h2 id=\"part1\" class=\"wp-part pl20 mt10\"><strong>Solution 1: Remove Dead Tracks on Mac with Super Remove Dead Tracks<\/strong><\/h2>\n<p>Super Remove Dead Tracks is an easy-to-use AppleScript that can remove dead tracks iTunes or remove duplicate tracks iTunes in an easy and fast way. You can get the tool at the Dougis AppleScripts Web Site. One thing interesting about the software is that Super Remove Dead Tracks is donationware, which means you can donate whatever money you'd like. Come on! Let's take a look how to use this software to remove dead tracks iTunes.<\/p>\n<p>Step 1: Open Mac Library Folder and iTunes Folder. <br \/>\n  Step 2: Find a folder called Scripts, if you don't have it, you can make one.<br \/>\n  Step 3: Open Apple Script Editor, copy and paste the script below, then save the script to &quot;Script&quot; folder, you can find &quot;Script&quot; by going to Library &gt; iTunes &gt; Script.<\/p>\n<ol class=\"pl40\">\n  Super Remove Tracks Script:<br \/>\n  *)<br \/>\n  -------------------------------------<br \/>\n  (* the number below is the number of tracks<br \/>\n  to count before reporting progress -<br \/>\n  you can change this number to a larger or smaller number.<br \/>\nIf you set it to zero, you will not see the progress message *)<\/p>\n<p>Please copy the following code to remove dead tracks iTunes:<\/p>\n<p>property progress_factor : 500<br \/>\n  tell application &quot;iTunes&quot;<br \/>\n  display dialog &quot;Super Remove Dead Tracks&quot; &amp; return &amp; return &amp; \u00ac<br \/>\n  &quot;Removes tracks whose files are missing or deleted, so-called&quot; &amp; \u00ac<br \/>\n  &quot;\\&quot;dead\\&quot; tracks designated with (!) next to the track name.&quot; buttons \u00ac<br \/>\n  {&quot;Cancel&quot;, &quot;Proceed...&quot;} default button 2<\/p>\n<p>set mainLibrary to library playlist 1<br \/>\n  set totalTracks to count of file tracks of mainLibrary<br \/>\n  set all_playlists to user playlists whose smart is false -- don't delete Smart Playlists later<\/p>\n<p>set deleted_tracks to 0<br \/>\n  set all_checked_tracks to 0<br \/>\n  set countem to &quot;&quot;<\/p>\n<p>set oldfi to fixed indexing<br \/>\n  set fixed indexing to true<\/p>\n<p>repeat with t from totalTracks to 1 by -1<\/p>\n<p>try<br \/>\n  set this_track to file track t of mainLibrary<\/p>\n<p>if this_track's location is missing value then<br \/>\n  delete this_track<br \/>\n  set deleted_tracks to deleted_tracks + 1<br \/>\n  end if<\/p>\n<p>set all_checked_tracks to all_checked_tracks + 1<\/p>\n<p>if frontmost then<br \/>\n  if (progress_factor is not 0) and (all_checked_tracks mod progress_factor) is 0 then<br \/>\n  if deleted_tracks is greater than 0 then \u00ac<br \/>\n  set countem to (deleted_tracks &amp; &quot; dead tracks removed so far...&quot;)<br \/>\n  if frontmost is true then display dialog (all_checked_tracks as string) &amp; \u00ac<br \/>\n  &quot; tracks checked...&quot; &amp; \u00ac<br \/>\n  return &amp; countem buttons {&quot;Cancel&quot;, \u00abdata utxt266B\u00bb} giving up after 1<br \/>\n  end if<br \/>\n  end if<br \/>\n  end try<\/p>\n<p>end repeat<\/p>\n<p>set fixed indexing to oldfi<\/p>\n<p>repeat with this_playlist in all_playlists<br \/>\n  if (get count of tracks of this_playlist) is 0 then<br \/>\n  try<br \/>\n  delete playlist this_playlist<br \/>\n  end try<br \/>\n  end if<br \/>\n  end repeat<\/p>\n<p>if deleted_tracks is greater than 0 then<br \/>\n  set ps to &quot; was&quot;<br \/>\n  if deleted_tracks is not 1 then set ps to &quot;s were&quot;<br \/>\n  display dialog &quot;Finished removing \\&quot;dead\\&quot; tracks.&quot; &amp; return &amp; \u00ac<br \/>\n  deleted_tracks &amp; &quot; track&quot; &amp; ps &amp; \u00ac<br \/>\n  &quot; removed.&quot; buttons {&quot;Thanks&quot;} default button 1 with icon 1<br \/>\n  else<br \/>\n  if gave up of (display dialog &quot;It was not necessary to remove any tracks.&quot; buttons {&quot;Thanks&quot;} \u00ac<br \/>\n  default button 1 with icon 1 giving up after 15) is true then error number -128<br \/>\n  end if<br \/>\nend tell<\/ol>\n<p>Step 4: Close and open iTunes again. Then you will see a script icon at the top, click it to activate Super Remove Tracks Script. <\/p>\n<h2 id=\"part2\" class=\"wp-part pl20 mt10\"><strong>Solution 2: Remove Dead Tracks on Windows with Notepad<\/strong><\/h2>\n<p>Notepad is a free and simple text editor for Windows and it facilitates you to create documents on Windows. It is commit to reducing the world carbon dioxide emissions by using less CPU power. The software is typical for no format tags or style so that it is suitable for editing system files used in a DOS environment. When it comes to remove dead tracks iTunes Windows, you can try this method. Notepad is also high efficient in removing dead tracks Windows.<\/p>\n<p>Step 1: Open Notepad and copy the code we've prepared for you: https:\/\/gist.github.com\/anonymous\/3267597<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-notepad1.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-notepad1.jpg\" title=\"how-to-remove-dead-tracks-itunes-with-notepad1\" alt=\"how-to-remove-dead-tracks-itunes-with-notepad1\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<p>Step 2: Save the file extension as &quot;.js&quot;, such as &quot;RemoveDeadTracksiTunes.js&quot;. Please make sure that your file is saved as &quot;RemoveDeadTracksiTunes.js.txt&quot;, or you can't get it work.<\/p>\n<p>Step 3: Double click it to run the file. After a while, it will show you how many dead tracks it remove. You can save the code to remove dead tracks iTunes Windows in future.\n<\/p>\n<h2 id=\"part3\" class=\"wp-part pl20 mt10\"><strong>Part 3: Solution 3: Remove Dead Tracks with Leawo iTunes Cleaner <\/strong><\/h2>\n<p><strong><a href=\"https:\/\/www.leawo.org\/tunes-cleaner\/\" title=\"Leawo Tunes Cleaner\" target=\"_blank\" rel=\"noopener\">Leawo Tunes Cleaner<\/a><\/strong> is an all-in-one dead tracks remover that can remove dead tracks iTunes in one click. It is much easier to operate than Super Remove Dead Tracks and Notepad, for you don't have to figure out the complicated script. Moreover, it can automatically detect duplicate dead tracks in two modes: Quick Scan and Deep Scan. The software can not only remove dead track iTunes, but also clean up local music files and add music tags for audio tracks. OK, now let's learn how to make iTunes remove dead tracks Windows.<\/p>\n<div class=\"container-fluid\">\n<div class=\"row\">\n<div class=\"jumbotron of myjumbotron-1\">\n<div class=\"container\">\n<div class=\"col-md-5\"> <img decoding=\"async\" data-src=\"\/images\/products-banner\/tunes-cleaner.png\" alt=\"tunes-cleaner\" width=\"100%\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/div>\n<div class=\"col-md-7\">\n<h2>Leawo Tunes Cleaner&nbsp;<span class=\"win_icon\"><\/span><\/h2>\n<p>\u2609 Clean up iTunes music library and other music libraries in clicks;<\/p>\n<p>\u2609 Automatically download and add music tags like artist, title, cover, album, etc.<\/p>\n<p>\u2609 One click duplicate removal to remove duplicate songs in music library;<\/p>\n<p>\u2609 Manually add and complete music tags like artist, album, cover, genre, etc. <\/p>\n<p class=\"mt10\"> <a href=\"https:\/\/www.leawo.org\/downloads\/tunes-cleaner.html\"><img decoding=\"async\" alt=\"\" data-src=\"https:\/\/www.leawo.org\/images\/icon\/Trial_win1.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a> <a href=\"https:\/\/www.leawo.org\/downloads\/tunes-cleaner-mac.html\"><img decoding=\"async\" alt=\"\" data-src=\"https:\/\/www.leawo.org\/images\/icon\/Trial_mac1.png\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<p>Generally speaking, dead tracks include two parts: duplicate tracks and tracks that are deleted or can't be found on iTunes.<\/p>\n<h3><strong>1. How to remove duplicate tracks iTunes<\/strong><\/h3>\n<h4><strong>Step 1: Open Leawo Tunes Cleaner<\/strong><\/h4>\n<p>Download and install Leawo iTunes Cleaner, then launch the software. You will see four options on the screen and choose &quot;Clean up Duplicates&quot;.<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-leaowo-itunes-cleaner1.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-leaowo-itunes-cleaner1.jpg\" title=\"Open Leawo Tunes Cleaner\" alt=\"Open Leawo Tunes Cleaner\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<h4><strong>Step 2: Scan iTunes<\/strong><\/h4>\n<p>You can set the scan mode in the left sidebar. Quick Scan is based on music tags like name, artist, album, album, file size. Deep Scan determines duplicated with acoustic fingerprint. You can choose one based on your need. Afterwards, click the search icon &quot;Scan iTunes&quot; at bottom left.<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-add-music-files-remove.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-add-music-files-remove.jpg\" title=\"select itunes music library\" alt=\"select itunes music library\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<h4><strong>Step 3: Make iTunes remove dead tracks or remove duplicate tracks iTunes<\/strong><\/h4>\n<p>When the result is shown on the screen, select the item you need to remove and click &quot;Remove&quot; to remove duplicate tracks iTunes. <\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-click-remove-button.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-click-remove-button.jpg\" title=\"preview and delete\" alt=\"preview and delete \" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<h3><strong>2. How to make iTunes remove dead tracks that are deleted or can't be found<\/strong><\/h3>\n<h4><strong>Step 1: Launch the software<\/strong><\/h4>\n<p>Install and open Leawo iTunes Cleaner and then choose &quot;Start to Clean iTunes&quot;.<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-start-to-clean-itunes.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-start-to-clean-itunes.jpg\" title=\"Start to Clean iTunes\" alt=\"Start to Clean iTunes\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<h4><strong>Step 2: Fix all tracks<\/strong><\/h4>\n<p>Song with the incomplete info or dead tracks will be shown. You can see those songs displayed in different categories like &quot;Songs without album artwork&quot;, &quot;Songs without artist&quot;, etc. Choose one category and click &quot;Fix All&quot; to download music tags for audio tracks.<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-fixing-pause.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-fixing-pause.jpg\" title=\"fix itunes music library\" alt=\"fix itunes music library\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<h4><strong>Step 3: Manually edit music tags<\/strong><\/h4>\n<p>Choose a music file and then click the &quot;Edit&quot; icon to manually adjust music tags like artist, title, album, cover, etc. You could get a preview here while editing. After manual editing, click the yellow &quot;Apply&quot; button to apply fixed results to iTunes music library. <\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-fix-music-tags-manually.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/images\/tutorial\/tunes-cleaner\/new\/tunes-cleaner-fix-music-tags-manually.jpg\" title=\"edit music tags\" alt=\"edit music tags\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<p align=\"left\">Now, all things are done.  If you are using a Mac computer, <strong><a href=\"https:\/\/www.leawo.org\/tunes-cleaner-mac\/\" title=\"Leawo Tunes Cleaner for Mac\" target=\"_blank\" rel=\"noopener\">Leawo Tunes Cleaner for Mac<\/a><\/strong> would be helpful.<\/p>\n<h4><strong>Step 4. Apply the fixes<\/strong><\/h4>\n<p>The results of fixes will show on the main interface, you can manually edit music tags like song name, artist. After adding music tags, click &quot;Apply&quot; at top right to apply fixes to audio tracks.In this way, you remove dead tracks iTunes.<\/p>\n<div class=\"tc\"><a href=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-leaowo-itunes-cleaner2-3.jpg\"  onclick=\"return hs.expand(this)\"><img decoding=\"async\" data-src=\"https:\/\/www.leawo.org\/tutorial\/wp-content\/uploads\/2017\/06\/how-to-remove-dead-tracks-itunes-with-leaowo-itunes-cleaner2-3.jpg\" title=\"apple fixes to itunes\" alt=\"apple fixes to itunes\" width=\"600\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/a><\/div>\n<p><strong>Note:<\/strong> The auto music tag adding feature of Leawo Tunes Cleaner has been discontinued. You could use it to add or edit music tags manually. <\/p>\n<h3><strong>Video Demo of How to Use Leawo Tunes Cleaner<\/strong><\/h3>\n<div class=\"tc\">\n<div class=\"lazyload smush-lazyload-video smush-lazyload-youtube\" style=\"--smush-video-aspect-ratio: 560\/315\" data-bg-image=\"url(https:\/\/i.ytimg.com\/vi\/lkV2bzyM1fg\/maxresdefault.jpg)\" ><iframe width=\"560\" height=\"315\" data-src=\"https:\/\/www.youtube.com\/embed\/lkV2bzyM1fg\" frameborder=\"0\" allowfullscreen src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\"><\/iframe><span class=\"smush-play-btn\" role=\"button\" aria-label=\"Play video\">\n\t\t\t\t<span tabindex=\"0\" class=\"smush-play-btn-inner\">\n\t\t\t\t\t<span>Play<\/span>\n\t\t\t\t<\/span>\n\t\t\t<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>You moved your music files to different location and then you notice that you had a long list of dead tracks in your iTunes library. Surely, you can delete them one by one. However, don't you think it too low-efficient? &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/www.leawo.org\/entips\/remove-dead-tracks-in-itunes-1114.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":30,"featured_media":105079,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[309,365,310],"tags":[24],"class_list":["post-122033","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-clean-up-itunes-music-libray","category-duplicate-removal","category-itunes-using-tips","tag-tunes-cleaner"],"acf":[],"aioseo_notices":[],"views":7363,"_links":{"self":[{"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/posts\/122033","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/comments?post=122033"}],"version-history":[{"count":2,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/posts\/122033\/revisions"}],"predecessor-version":[{"id":128521,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/posts\/122033\/revisions\/128521"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/media\/105079"}],"wp:attachment":[{"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/media?parent=122033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/categories?post=122033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leawo.org\/entips\/wp-json\/wp\/v2\/tags?post=122033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}