This article provides a comprehensive guide on downloading music from virtually any website. If the music is available as a video on platforms like YouTube, Facebook, or similar online music streaming sites, you can use the free 4K Video Downloader application to extract the audio from the video. Additionally, this tool allows you to directly download music files from SoundCloud. For downloading music from any website on your computer, you can experiment with a feedback loop in Audacity to record, edit, and export the audio as an MP3 file without external noise interference. Lastly, you can download background music from suitable websites by utilizing the browser's source code.
Steps
Identify the platforms where this method is applicable. The application used for this method enables you to download music from videos hosted on any of the following sites:
- YouTube
- Facebook
- SoundCloud
- Vimeo
- Flickr
- Dailymotion
- Although the 4K Video Downloader FAQ mentions support for Metacafe videos, currently, you cannot download music from Metacafe using 4K Video Downloader.

Download the 4K Video Downloader application. This free application is available for both Windows and Mac computers, enabling you to extract music from videos on the aforementioned platforms. To download the installer, follow these steps:
- Visit https://www.4kdownload.com/download using your computer's web browser.
- Click on 4K Video Downloader.
- Select the Download button corresponding to your operating system.
- Choose a save location and/or confirm the download when prompted.

Install 4K Video Downloader. Once the installer is downloaded, double-click the file and follow the on-screen instructions to install the 4K Video Downloader application on your computer.
- For Mac users, you may need to drag the 4K Video Downloader icon into the "Applications" folder and verify the installation before proceeding.

Navigate to the desired website. Open the website containing the video from which you want to extract music. Note that SoundCloud tracks are not in video format.
- For example, if you want to download music from a VEVO video, visit YouTube.

Access the selected video. Open the video containing the music you wish to download.
- If downloading from SoundCloud, locate the desired track, click on its title, and open the track's page.

the video's URL. For most websites, click the address in the browser's address bar at the top of the window, then press
Ctrl+C (Windows) or
⌘ Command+C (Mac).
- For Facebook, right-click the video, select Show video URL, and copy the displayed link. Note that 4K Video Downloader cannot download private videos.

Launch 4K Video Downloader. Click or double-click the 4K Video Downloader application, recognizable by its white cloud icon on a green background.
- Skip this step if the program opens automatically after installation.

Click on Paste Link in the top-left corner of the 4K Video Downloader window. The application will begin searching for your video.

Click the "Download Video" dropdown menu. Once 4K Video Downloader locates your video, this option will appear in the top-left corner of the window. Click it to view the available options.
- Skip this step and the next if you are downloading music from SoundCloud.

Click Extract Audio from the dropdown menu.

Select the quality, if prompted. Check the box next to one of the quality options (such as "High Quality") to make your selection.

Select your preferred format. The default format (MP3) in 4K Video Downloader is one of the most widely used, but you can choose a different format by clicking the "Format" dropdown menu in the top-right corner of the window and selecting the desired format.

Choose the download folder. Click
Browse next to the current download path at the bottom of the window, then select the folder you want to use (e.g.,
Desktop) and click
Save.
- On Mac, click ⋯ next to the download path instead of Browse.

Click Extract at the bottom of the window. This will prompt 4K Video Downloader to begin extracting music from the selected video. Once the extraction is complete, you can find the audio file in the designated folder.
- If 4K Video Downloader reports an inability to download the file, try downloading it again or selecting a different file. If the issue persists, wait a day—4K Video Downloader typically resolves issues related to downloading copyrighted music within a few hours to a day.
Using Audacity
Install SoundFlower if you are using a Mac.https://github.com/mattingalls/Soundflower/releases/tag/2.0b2Click the link for Soundflower-2.0b2.dmg.Double-click the downloaded file and follow the on-screen instructions, including verifying the software.Apple menu
System Preferences...Click on Sound, then select the Output tab in the open window.Choose Soundflower (2ch) and increase the volume, then repeat the same steps for Soundflower (2ch) under the Input tab.Navigate to the Sound Effects tab, click the dropdown menu labeled "Play sound effects through," and select Line Out (or Headphones or Internal speakers).
Install Audacity if you don’t already have it. You can download and install Audacity for free on both Windows and Mac computers:
- Visit https://www.audacityteam.org/download/ using your computer’s web browser.
- Select your operating system.
- Click on Audacity 2.2.2 installer (Windows) or Audacity 2.2.2 .dmg file (Mac).
- Double-click the downloaded installer file.
- Follow the on-screen installation instructions.

Launch Audacity. Click or double-click the Audacity application, identifiable by its blue headphones icon over an orange sound wave.

Enable Software Playthrough (Listen to the content being recorded) if you're using a Mac. Click on the Transport menu at the top of the screen, select Transport Options, and then click on Software Playthrough if it isn't already checked.

Click on the recording format selection box. This is the MME selection box located at the top left of the recording section. A list of options will appear on the screen.

Click on Windows WASAPI from the list of options.

Click on the source selection box located just to the right of the recording format selection box. Another menu will appear on the screen.

Click on Speakers from the list of options. You are now ready to start recording with Audacity.

Access the music you want to record by opening the webpage where the song is located. This can be any website that your computer recognizes as an audio source.

Start recording in Audacity. Click the circular "Record" button at the top of the Audacity window to begin the process.

Play the music by clicking the "Play" button on the song. Audacity will start capturing the audio from the open track.

Stop the recording once the music ends. Click the square "Stop" button at the top of the Audacity window to halt the recording.

Trim the audio if necessary. To remove dead air from the beginning of the recording, drag the track in Audacity back to the start (pull it to the left), click and drag over the section you want to delete, and then press the Del key.

Click on File located at the top-left corner of the Audacity window (or on the Mac screen). A list of options will appear on the screen.

Select Export from the File menu. This action will display an additional submenu.

Click on Export as MP3 from the submenu. A "Save As" window will appear on the screen.

Enter the song name. Assign any name to your recording in the "File name" or "Name" field.

Choose the save location. Click on the folder where you want to save the file (for example, select Desktop if you wish to save it on your computer's desktop).

Select the quality if desired. If you wish to enhance the song's quality, click on the "Quality" dropdown and choose a higher option that you haven't selected yet (such as Insane).

Click on Save at the bottom of the window.

Enter song details if you prefer. In the displayed window, input tags for the artist's name, album, and any other information you'd like to include.

Click on OK at the bottom of the window. This will export your recording as an MP3 file in the selected save folder.
Use the browser's source code

Understand when to apply this method. If you want to download background music from a website or audio from a video that plays automatically when the page loads, you can use this method to locate and download the audio file.

Visit the website you want to use. Open the webpage from which you wish to extract the audio, ensuring the page is fully loaded and the audio is playing before proceeding.

Open the browser's source code. This step varies slightly depending on your browser:

Click on the Elements tab if necessary. You'll need to do this at the top of the Developer window in Chrome and Edge.

Open the "Find" search box. Click inside the Developer window, then press Ctrl+F (Windows) or ⌘ Command+F (Mac) to do this.

Enter an audio format. The most common audio format is MP3, so you should type
mp3 into the "Find" window and press
↵ Enter to search.
- Other audio formats include M4A, AAC, OGG, and WAV.

Locate the audio file's address. Scroll through the highlighted results until you find an MP3 file with a complete web address, starting with
http:// or
ftp:// and ending with
.mp3. The address might be quite lengthy.
- If you don't see results with the .mp3 format, try another format. You can also attempt video formats like MP4. If no results appear, the song might be hidden under an encoded audio player or embedded code.

the audio file's URL. Double-click the URL of the audio file you want to download, then press
Ctrl+C (Windows) or
⌘ Command+C (Mac) to copy.
- Note, the website might contain multiple URLs for audio files, so you may need to return and copy a different URL if the first one doesn't work.

Paste the URL into the address bar. Click the address bar, then press
Ctrl+V or
⌘ Command+V to paste the song's URL and press
↵ Enter to access the song's page.
- If you encounter a 404 error, it means the song is no longer hosted at the provided URL. Return and copy a different URL, or use Audacity.

Download the music file. Once the song's page is open, right-click the song's box and select
Save as to download the MP3 or MP4 file.
- On Chrome, you can click ⋮ at the bottom right corner and choose Download.
- If the song downloads as an MP4, you'll need to convert the MP4 file to MP3 to complete the process.
Advice- Since Audacity records directly from your computer's sound card, you can listen to music without headphones or speak during recording without worrying about affecting the recording.
Warning- Downloading music for free instead of paying for it may violate copyright laws in your location.