When a WAV file plays as noise, refuses to open, or throws a header error, Audacity’s Import Raw Data feature recovers the audio. It skips the broken header and lets you set the correct parameters so Audacity can read the raw samples. Go to File > Import > Raw Data. After importing, export a fresh WAV with a proper header. This gives you the exact values for common WAV files, and it costs nothing.

When to Use Raw Import

Reach for this method when a WAV file has a bad header but the audio data itself is intact. The header sits at the front of the file and holds the sample rate, bit depth, and channel count. If it corrupts, players refuse to open the file. The Import Raw Data command ignores the header entirely and reads the file as raw audio. This also lets you audacity recover corrupted wav files from a recording that cut out mid-write or a transfer that failed partway through.

The method works for any WAV that uses uncompressed PCM audio, which is the standard. If the audio inside is compressed (MP3 or ADPCM, for instance), raw import will not work.

Step-by-Step Import Raw Data in Audacity

Open Audacity and follow these steps to import a WAV with a bad header:

  1. Go to File > Import > Raw Data.
  2. Select the broken WAV file and click Open.
  3. A dialog box appears with fields for Encoding, Byte order, Channels, Start offset, and Sample rate.
  4. Set each field to match the original recording (see the next section for common values).
  5. Click Import. Audacity reads the file and shows the waveform.
  6. If the audio sounds correct, go to File > Export > Export Audio (or Export as WAV) to save a new file with a correct header.

If the waveform is silent or sounds like noise, change the values and try again.

The Correct Values for a Standard WAV

Encoding, Byte Order and Channels

  • Encoding: Signed 16-bit PCM (most common) or Signed 24-bit PCM (for higher quality).
  • Byte order: Little-endian. WAV files store bytes in little-endian order.
  • Channels: Mono (1 channel) or Stereo (2 channels). Match the original recording.

Start Offset and Sample Rate

  • Start offset: A standard WAV header is exactly a few dozen bytes. Setting the offset to that length skips the header and starts reading at the audio data.
  • Sample rate: Common values are 44100 Hz or 48000 Hz. If the audio plays at the wrong speed, try the other rate.

If you know the recorder’s original configuration, use those numbers. Many portable recorders default to 44100 Hz and 16-bit. When in doubt, start there.

How to Fix Noise and Speed Problems

If the imported audio sounds like loud static or white noise, the values are wrong. The most common cause is a bad start offset. For 16-bit audio, an offset that is off by an odd number of bytes misaligns the samples and produces loud noise. Try offsets of a few different values for stereo files. For mono files, the standard offset is almost always correct.

If the audio plays at the wrong speed (too fast or too slow), the sample rate is wrong. A file recorded at 48000 Hz played at 44100 Hz will sound slightly slowed down. Try the other common rate. If the audio is reversed or channels are swapped, change the Channels value from Stereo to Mono or vice versa.

To open wav with bad header successfully, you may need to try a few combinations. Keep a note of the values that produce clear audio.

What If You Don’t Know the Original Values?

If you have no information about the recording, start with these defaults:

  • Encoding: Signed 16-bit PCM
  • Byte order: Little-endian
  • Channels: Stereo
  • Start offset: A standard offset
  • Sample rate: 44100 Hz

If the waveform looks flat or silent, try Mono. If the audio is clearly noise, increase the start offset by a few bytes. You can also try 48000 Hz for the sample rate. The goal is clean, recognizable audio. Once you hear the correct sound, export the file immediately.

This manual method reliably lets you recover audio without header information. It is free and works entirely within Audacity.

Exporting the Recovered Audio

After you have imported the raw data and the waveform looks and sounds correct, export it to create a new WAV file with a proper header. Go to File > Export > Export Audio and choose WAV as the format. You can also use Export as WAV if that option appears. Name the file and save it. The exported file will have a correct header and will open in any audio player or editor.

If the recovered audio runs long, trim silence at the beginning or end before exporting. Use the selection tool to highlight the unwanted parts and press Delete.

When Automatic Header Repair is Faster

The manual method gives you full control over the import values. For an automatic approach, use a tool like wav.repair, which rebuilds the header without asking for parameters. That site works online and is free, with no watermark. The manual Audacity method is your fallback if the automatic tool does not recognize the file’s format.

Both methods are free. Choose the one that fits your situation.