Audio format converter MP3 WAV FLAC avatar
Audio format converter MP3 WAV FLAC

Pricing

$10.00 / 1,000 results

Go to Apify Store
Audio format converter MP3 WAV FLAC

Audio format converter MP3 WAV FLAC

Convert audio files between 10+ formats including messaging platform optimized formats. Supports Telegram (OGG), WhatsApp (AMR), Discord (OPUS), plus MP3, WAV, FLAC, AAC, M4A, 3GP, WebM. Perfect for voice messages, podcasts, and cross-platform audio compatibility.

Pricing

$10.00 / 1,000 results

Rating

5.0

(2)

Developer

Akash Kumar Naik

Akash Kumar Naik

Maintained by Community

Actor stats

1

Bookmarked

96

Total users

5

Monthly active users

7 days ago

Last modified

Share

🎵 Audio File Converter - 10+ Formats | Telegram • WhatsApp • Discord

Ultimate audio converter for messaging platforms! Convert MP3, WAV, FLAC, and more into formats optimized for Telegram (OGG), WhatsApp (AMR), Discord (OPUS), Apple (M4A), and web streaming. Perfect for voice messages, podcasts, and cross-platform compatibility with intelligent quality optimization.

Input Parameters

ParameterTypeRequiredDescriptionExample
file_urlstringYesDirect URL to your audio file. Supports MP3, WAV, FLAC, M4A, AAC, and most common formats.https://example.com/audio.mp3
target_formatstringYesChoose the output format based on your intended use. Each format is optimized for specific platforms and use cases.mp3
qualitystringNoSelect quality based on file size vs audio fidelity trade-off. Higher quality = larger file size.medium
sample_rateintegerNoOptional: Override the default sample rate. Use 48000 for OPUS, 44100 for general audio, 16000 for voice messages.44100

Target Format Options

  • mp3 - Universal compatibility (web, mobile, podcasts)
  • wav - Uncompressed studio quality (editing, mastering)
  • flac - Lossless compression (audiophile, archiving)
  • ogg - Telegram voice messages (small file size)
  • aac - High-quality mobile audio (iOS, Android streaming)
  • m4a - Apple ecosystem (iTunes, Apple Music, iOS)
  • opus - Discord voice (WebRTC, real-time communication)
  • amr - Modern WhatsApp voice (mono voice, tiny files)
  • 3gp - Legacy mobile phones (maximum compatibility)
  • webm - Modern web audio (HTML5, progressive streaming)

Quality Options

  • low - 128 kbps (fastest, smallest files)
  • medium - 192 kbps (balanced quality/size)
  • high - 256 kbps (excellent quality)
  • lossless - Original quality (largest files)

Output

The Actor returns a dataset item with the following fields:

FieldTypeDescription
successbooleanIndicates whether the audio conversion completed successfully.
original_filenamestringThe original filename as provided in the input URL.
output_filenamestringThe filename of the converted audio file.
input_formatstringThe original audio format of the input file.
output_formatstringThe target audio format after conversion.
file_size_mbnumberSize of the converted audio file in megabytes.
conversion_duration_secondsnumberTotal time taken for the conversion process in seconds.
download_urlstringDirect URL to download the converted audio file.
timestampstringISO 8601 timestamp when the conversion was completed.
errorstringError description if the conversion failed (null if successful).

Usage Examples

Basic Usage

{
"file_url": "https://example.com/audio.mp3",
"target_format": "ogg"
}

With Quality Setting

{
"file_url": "https://example.com/audio.wav",
"target_format": "mp3",
"quality": "high"
}

With Custom Sample Rate

{
"file_url": "https://example.com/audio.flac",
"target_format": "opus",
"sample_rate": 48000
}

API Usage

from apify_client import ApifyClient
client = ApifyClient('YOUR_API_TOKEN')
run = client.actor('audio-file-converter').call({
'file_url': 'https://example.com/audio.mp3',
'target_format': 'opus',
'quality': 'high'
})
# Get the conversion result
result = client.dataset(run['defaultDatasetId']).list_items().items[0]
print(result)