ASSETS & SCREENSHOTS

How to download audio from a website

To download audio from a website, paste the page’s link into a free asset extractor and open its Audio tab, or open DevTools, choose Network, filter by Media and play the sound to find the MP3 or M4A file. Music on Spotify, SoundCloud or YouTube and protected streams have no file to save.

“Save the sound a page plays.” An audio player on a web page leads out to intro.mp3, voice.m4a and stream.m3u8; a streaming app player beside it is crossed out as not a file.
A site’s own MP3, M4A and OGG files, not streaming apps.

In short

  • Most site audio is an MP3, M4A, OGG or WAV file the page loads
  • Players often load the file only when you press play
  • Streaming services and protected audio have no file to save
  • Music and recordings belong to their makers: ask before you reuse them
On this page7
  1. Step by step
  2. Which audio can you save?
  3. Find the audio file in DevTools
  4. What the asset extractor finds
  5. Get the audio out of a video
  6. Can you reuse downloaded audio?
  7. Questions

Step by step

  1. Paste the link

    Paste the page’s link into the free asset extractor. Sitepeel opens the page and lists the files it loads.

  2. Open the Audio tab

    Each file has a player. Listen to check it is the one you want.

  3. Download it

    Download one file, or press ZIP for all of them.

  4. Not listed? Use DevTools

    Play the sound, then find its request in the Network panel, as shown below.

Which audio can you save?

How websites play audio, and what you can save
KindHow it loadsCan you save it?
Sound on a pageAn <audio> tag with an MP3, M4A, OGG or WAV fileYes, as the file
Audio player widgetA script loads the file when you press playYes, once it has loaded
Podcast episodeAn MP3 listed in the show’s RSS feedYes, the feed links each file
Streamed audioAn .m3u8 playlist of short piecesPartly, join it with ffmpeg
Spotify, Apple Music, SoundCloud, YouTubeTheir own players and protected streamsNo, use the app’s offline option

Find the audio file in DevTools

  • Open DevTools (F12), go to Network and choose the Media filter.
  • Press play on the page. The audio file appears as a new row.
  • Not under Media? Choose All and type mp3, m4a, ogg or m3u8.
  • In Elements, search for <audio and check its src and <source> tags.
  • Right-click the request, choose Open in new tab, then save it from the player’s menu.

What the asset extractor finds

It lists the audio in <audio> tags and the audio files the page loads while it opens, each with a player. Sound that loads only after a click may not be there; use DevTools for that.

  • If a download fails, press Open original to get the file from the site itself.

Get the audio out of a video

If the sound you want is in a video, download the video first, then take out its audio with ffmpeg. -vn drops the picture.

extract-audio.shText
ffmpeg -i video.mp4 -vn -c:a copy audio.m4a

# or as MP3
ffmpeg -i video.mp4 -vn -q:a 2 audio.mp3

Can you reuse downloaded audio?

Music, voiceovers and sound effects belong to whoever made or licensed them. Use them for reference, check the license of free sound libraries, and ask before you reuse anything else.

Questions

How do I extract audio from a website?

Paste the page’s link into a free asset extractor and open the Audio tab, or play the sound with DevTools open and find the audio request under Network, Media. Then open it in a new tab and save it.

How do I download an MP3 from a website?

Right-click the player or link and choose Save audio as or Save link as, if offered. Otherwise find the .mp3 request in the DevTools Network panel, open it in a new tab and save it.

Can I download music from Spotify or SoundCloud this way?

No. They stream protected audio through their own players, so there is no file on the page. Use their offline or download options, which follow the artists’ licenses.

How do I download embedded audio?

If the site hosts the file, it shows in the Network panel when you press play, and in the asset extractor’s Audio tab if it loads with the page. Audio embedded from a platform stays on that platform.

Is it legal to download audio from a website?

Saving a file the site plays is easy; using it is what needs permission. Music and recordings are copyrighted, so reuse them only with a license or the owner’s OK.

TAKE A CLOSER LOOK

Your next starting point is already on the web.

Inspect it. Understand it. Build something of your own.

Add to ChromeFree installTry the free tools