# Audio Codec Swap

Change the codec of an audio file within a chosen output format

> Canonical page: https://elysiatools.com/en/tools/audio-codec-swap

- **Category:** Media

- **Keywords:** audio, codec, convert, mp3, aac, ogg, opus, flac, wav

## Overview

Audio Codec Swap converts a supported audio file to a selected output format such as MP3, AAC, M4A, OGG, Opus, FLAC, or WAV, with controls for bitrate, sample rate, channels, and metadata.

## Inputs

- **Audio File** (file): Select an audio file
- **Output Format** (select)
- **Target Bitrate** (select)
- **Sample Rate** (select)
- **Audio Channels** (select)
- **Keep Metadata** (checkbox)

## When to use

- Convert an audio file to a format supported by a specific player or workflow.
- Choose a target bitrate to balance audio quality and file size.
- Change sample rate, channel layout, or metadata handling during conversion.

## How it works

- Upload one supported audio file in MP3, AAC, M4A, OGG, Opus, FLAC, or WAV format.
- Select an output format, such as MP3, AAC, M4A, OGG Vorbis, Opus, FLAC, or WAV.
- Choose the target bitrate, sample rate, and audio channels, or keep the original settings where available.
- Keep metadata enabled or disable it, then generate the converted audio file.

## Use cases

- Prepare a WAV or FLAC recording as an MP3 for general playback.
- Convert audio to AAC or M4A for a workflow that requires those formats.
- Create mono audio at a selected bitrate for voice recordings or other single-channel content.

## Frequently asked questions

### Which input audio formats are supported?

You can upload MP3, AAC, M4A, OGG, Opus, FLAC, or WAV files.

### Which output formats are available?

The available outputs are MP3, AAC, M4A, OGG Vorbis, Opus, FLAC, and WAV.

### Can I choose the audio bitrate?

Yes. Select 96, 128, 160, 192, 256, or 320 kbps.

### Can I change the sample rate and channels?

Yes. You can keep the original sample rate and channels or choose 44.1 kHz or 48 kHz and mono or stereo.

### Can metadata be retained?

Yes. The Keep Metadata option is enabled by default and can be turned off.

## Related tools

- [Batch Audio Converter](https://elysiatools.com/en/tools/audio-batch-converter): Convert multiple audio files between different formats like MP3, WAV, FLAC, AAC, OGG, Opus with quality settings and batch processing
- [Audio Melody Contour Extractor](https://elysiatools.com/en/tools/audio-melody-contour-extractor): Extract a dominant melody path from audio and export MIDI, note events, a pitch contour, SVG, and JSON in one ZIP.
- [Audio to Multitrack MIDI (Draft)](https://elysiatools.com/en/tools/audio-to-multitrack-midi): Split a full mix into stems (drums/bass/other/vocals) and transcribe each to MIDI — a multi-track starting point for transcription
- [Audio Format Converter](https://elysiatools.com/en/tools/audio-converter): Convert audio files between different formats like MP3, WAV, FLAC, AAC, OGG with quality settings and volume adjustment
- [Audio Chord Progression Detector](https://elysiatools.com/en/tools/audio-chord-progression-detector): Estimate an audio file's chord sequence locally and download CSV, JSON, SVG, and method notes in one ZIP.
- [Audio Channel Resample](https://elysiatools.com/en/tools/audio-channel-resample): Change the number of channels (mono/stereo) while keeping the same format
- [Audio Resample](https://elysiatools.com/en/tools/audio-resample): Change the sample rate of an audio file (e.g., 44.1kHz to 22.05kHz)
- [Audio to Text Transcriber (AI)](https://elysiatools.com/en/tools/audio-to-text-transcriber): Transcribe speech from audio (wav/mp3/m4a/flac/ogg/webm/aac) to text, SRT, VTT or JSON using the grok-stt AI model. Up to 10 minutes.

## Samples

- [Copyright-Free FLAC Audio Samples](https://elysiatools.com/en/samples/flac-samples): Lossless FLAC audio samples for testing and development, mirrored from MP3 set with nature sounds and meditation music
- [Copyright-Free WAV Audio Samples](https://elysiatools.com/en/samples/wav-samples): Uncompressed PCM WAV audio samples for testing and development, mirrored from MP3 set with nature sounds and meditation music
- [Copyright-Free MP3 Audio Samples](https://elysiatools.com/en/samples/mp3-samples): Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio
- [Copyright-Free M4A Audio Samples](https://elysiatools.com/en/samples/m4a-samples): Apple iTunes compatible M4A audio samples with AAC encoding, optimized for quality and file size balance

## Related content

- [Audio Encoding and Format Conversion Tools](https://elysiatools.com/en/hubs/audio-convert): Compare audio format conversion, bitrate changes, sample-rate conversion, codec swaps, and export tools in one hub for delivery and archive workflows.
- [Audio Editing and Cleanup Tools](https://elysiatools.com/en/hubs/audio-utility): Compare audio trimming, silence removal, fades, mixing, and denoise tools in one hub for podcast, voiceover, and music cleanup workflows.
- [Audio Preview, Tone, and Effect Generator Tools](https://elysiatools.com/en/hubs/audio-generate): Compare audio preview generation, silence creation, ringtone building, fingerprinting, loudness reports, and effect-style audio generators in one hub.
- [Audio Measurement and Inspection Tools](https://elysiatools.com/en/hubs/audio-analyze): Compare loudness, dynamic range, peak, BPM, key detection, spectral inspection, and metadata review tools in one hub for audio analysis.
