Convert WAV to AC3 — Free Online Tool

Convert WAV audio files to AC3 (Dolby Digital) format using FFmpeg in your browser — no upload required. This tool transcodes uncompressed PCM audio from WAV into the AC3 codec at 192kbps, producing files ready for DVD authoring, Blu-ray workflows, and broadcast television pipelines.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

WAV files typically store raw, uncompressed PCM audio (most commonly 16-bit signed little-endian PCM), which contains the full fidelity of the original recording but produces large file sizes. During this conversion, FFmpeg decodes the PCM audio stream from the WAV container and re-encodes it using the AC3 encoder (Dolby Digital), applying perceptual lossy compression at 192kbps by default. The AC3 codec uses psychoacoustic modeling to discard audio information that human hearing is least sensitive to, significantly reducing file size while preserving perceived audio quality. The output is written to a raw .ac3 elementary stream — a bare audio file without a video container — making it suitable for direct muxing into VOB, MPEG-TS, or MKV files in post-production workflows.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool. In the browser version of this tool, FFmpeg.wasm runs the same underlying engine compiled to WebAssembly, executing this exact command locally in your browser without sending your audio file to any server.
-i input.wav Specifies the input file — your WAV audio file. FFmpeg will detect the WAV container and identify the audio stream's codec (typically PCM, such as pcm_s16le for standard 16-bit WAV files) and decode it for re-encoding.
-c:a ac3 Tells FFmpeg to encode the audio stream using the AC3 (Dolby Digital) codec. This triggers the lossy perceptual compression process that converts raw PCM samples from the WAV source into the transform-coded AC3 bitstream format used in DVDs, Blu-rays, and broadcast television.
-b:a 192k Sets the AC3 audio bitrate to 192 kilobits per second, which is the standard default for stereo Dolby Digital encoding used in many DVD productions. Increasing this value (e.g., to 384k or 640k) improves output audio quality at the cost of a larger file size.
output.ac3 Specifies the output filename with the .ac3 extension, which tells FFmpeg to write a raw AC3 elementary stream. This format is directly compatible with DVD authoring tools and video editors that accept AC3 audio tracks for muxing into video containers.

Common Use Cases

  • Preparing stereo or surround audio tracks for DVD authoring, where AC3 (Dolby Digital) is the mandatory or preferred audio format for MPEG-2 program streams
  • Creating compliant audio assets for broadcast television delivery, where AC3 is a standard elementary stream format in ATSC broadcast specifications
  • Reducing the file size of large uncompressed WAV masters from a recording session before embedding audio into a video project
  • Generating an AC3 audio track from a WAV stem mix to mux alongside a video stream in an MPEG-TS or Blu-ray structure
  • Converting WAV dialogue or effects tracks from a DAW export into Dolby Digital format for compatibility with set-top boxes and home theater receivers
  • Producing an AC3 elementary stream from uncompressed audio for use in professional video editors like Adobe Premiere or DaVinci Resolve that accept AC3 as an import format

Frequently Asked Questions

Yes — AC3 is a lossy codec, so converting from uncompressed WAV to AC3 permanently discards some audio data. At the default 192kbps bitrate, most listeners will not perceive significant degradation for typical speech or music content, but the loss is mathematically irreversible. If your WAV source is a final master, consider encoding at 320kbps or 640kbps using the custom bitrate option to preserve more fidelity, especially for high-dynamic-range audio.
The AC3 specification supports bitrates from 96kbps up to 640kbps. For stereo audio, 192kbps is a widely accepted standard that balances quality and file size — it is the default used in many DVD productions. For 5.1 surround sound content, 384kbps or 448kbps is recommended to give each channel sufficient bandwidth. If you are targeting Blu-ray delivery, 640kbps is the maximum allowed and will produce the highest quality AC3 output.
Replace the value after -b:a in the command with your desired bitrate. For example, to encode at 384kbps, use: ffmpeg -i input.wav -c:a ac3 -b:a 384k output.ac3. AC3 supports the following standard bitrates: 96k, 128k, 192k, 256k, 320k, 384k, 448k, and 640k. Using a non-standard value may cause FFmpeg to round to the nearest supported AC3 bitrate.
Yes, on the command line you can use a shell loop to process multiple files. On Linux or macOS, run: for f in *.wav; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.wav}.ac3"; done. On Windows Command Prompt, use: for %f in (*.wav) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". The browser-based tool processes one file at a time, so for batch operations the desktop FFmpeg command is the recommended approach.
WAV files can carry limited metadata such as artist, title, and comment fields in a LIST-INFO chunk. When FFmpeg converts WAV to a raw AC3 elementary stream, this metadata is generally not written to the output because AC3 is a bare audio bitstream format without a container metadata structure. If metadata preservation matters, consider muxing the AC3 output into a container like MKV or MP4 where metadata tags are supported.
Yes. WAV files sourced from professional recording equipment often use 24-bit (pcm_s24le) or 32-bit (pcm_s32le or pcm_f32le) audio. FFmpeg will decode these higher bit-depth streams correctly before passing them to the AC3 encoder. However, the AC3 codec internally operates at a fixed precision, so any bit-depth advantage of the source WAV beyond what AC3 can represent will be absorbed into the perceptual compression process — another reason to choose a higher bitrate when encoding from high-resolution WAV sources.

Technical Notes

The AC3 codec was developed by Dolby Laboratories and is formally known as Dolby Digital. It uses a transform-based perceptual coding algorithm (modified discrete cosine transform) with bit allocation guided by a psychoacoustic model. WAV sources encoded with PCM codecs (pcm_s16le, pcm_s24le, etc.) provide a perfect lossless input for this process, meaning any quality loss in the output is attributable entirely to AC3 compression rather than any prior lossy encoding step — which is the ideal starting point for a lossy transcode. The AC3 format natively supports up to 5.1 channels (six discrete channels), so if your WAV source contains a 5.1 mix, FFmpeg will encode all six channels into the AC3 stream correctly provided you use a sufficiently high bitrate (384kbps or above). For stereo WAV sources, the output will be a standard 2.0 AC3 stream. The output .ac3 file is a raw elementary stream, not wrapped in a container — it can be played back directly in VLC and most media players, but to use it in DVD or Blu-ray authoring it typically needs to be muxed into an MPEG-2 Program Stream or Transport Stream. Note that WAV files containing non-PCM codecs such as ADPCM or FLAC (inside a WAV container) are also supported as inputs; FFmpeg handles the intermediate decoding transparently before AC3 encoding.

Related Tools