How to Extract a WAV File From an HTML File

by Tammy Clevenger

In order for a WAV file to be played or downloaded from a website, the WAV file must be referenced in the HTML code of the web page. With a few steps, the WAV file reference link may be easily extracted from the source code (HTML) of the web page. Using the reference link and navigating to the WAV file in a web browser will enable the user to download and save the WAV file.

Open a web browser, and enter the URL for the web page with the embedded WAV file you wish to extract. (See References for a sample web page with an embedded WAV file.)

View the HTML source code for the web page. To do this in Firefox, click "View" from the top navigation menu, and then click "Page Source" from the context menu. In Internet Explorer, click "Page" from the top navigation menu, and then click "View Source" from the context menu. For both browsers, an instance of Notepad will be initiated and the HTML source code for the page will be viewable.

In the source code file, click "Edit" and then "Find."

Enter ".wav" in the Find box to locate the reference for the embedded WAV file in the HTML source code.

Click "Next" until the desired WAV file reference is highlighted.

Copy the reference to the Clipboard by highlighting the reference text, right-clicking it and then clicking "Copy" from the context menu.

Append the WAV reference partial URL to the main URL of the site in the browser address bar. For example, one of the WAV files referenced in the sample file is "<a href="/1109/coloniesareburning.wav">". First, copy the "/1109/coloniesareburing.wav" text from the source code file. Next, append this text to the main URL, http://www.dailywav.com/, in the browser address bar. The resulting URL will be http://www.dailywav.com/1109/coloniesareburning.wav. Navigate to this URL for the extracted WAV file, and play it in a compatible WAV player.

Items you will need

About the Author

Tammy Clevenger works in the I.T. industry while maintaining creative outlets through film making, writing and audio production. She is a published academic author and is an accomplished and certified Project Management Professional.