Powered by WebAssembly

Convert MP4 to MP3 via API

Extract the audio track from any MP4 video and save it as a high-quality MP3 file. Perfect for creating podcasts from video content or extracting music.

Try it in your browser

Loading FFmpeg engine... (~31 MB)

Use the API

curl -X POST https://renderio.dev/v1/commands \
  -H "X-API-KEY: ffsk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "ffmpeg_command": "-i {in_video} -vn -c:a libmp3lame -q:a 2 {out_audio}",
  "input_files": {
    "in_video": "https://example.com/input.mp4"
  },
  "output_files": {
    "out_audio": "output.mp3"
  }
}'

Need an API key? Get your free API key to start processing files programmatically.

Common Variations

320kbps constant bitrate
-i input.mp4 -vn -c:a libmp3lame -b:a 320k output.mp3
128kbps for smaller file size
-i input.mp4 -vn -c:a libmp3lame -b:a 128k output.mp3
Extract specific time range
-i input.mp4 -ss 00:01:00 -t 00:02:00 -vn -c:a libmp3lame -q:a 2 output.mp3
Mono output for speech
-i input.mp4 -vn -ac 1 -c:a libmp3lame -q:a 4 output.mp3

Related Operations

Need to process at scale?

Automate this with the RenderIO FFmpeg API. Process thousands of files programmatically or through no-code video automation.