YouTube to MP3 & M4A Audio Downloader avatar

YouTube to MP3 & M4A Audio Downloader

Pricing

from $0.50 / 1,000 audio minutes

Go to Apify Store
YouTube to MP3 & M4A Audio Downloader

YouTube to MP3 & M4A Audio Downloader

Turn YouTube videos, Shorts and music into MP3 (128-320 kbps) or M4A with title, artist and cover art. Cut any part, convert up to 1,000 links per run, get direct download links. Pay per minute of audio; failures are free.

Pricing

from $0.50 / 1,000 audio minutes

Rating

0.0

(0)

Developer

TTech

TTech

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

What is YouTube to MP3 & M4A Audio Downloader?

YouTube to MP3 & M4A Audio Downloader turns YouTube videos, Shorts and YouTube Music tracks into MP3 or M4A files. Paste links, click Start, and get a direct download link for every file, with the title, artist and cover art already in it.

No software to install, no browser extension, no ads. Convert one song or a thousand in one run, or call it from your own code, Make, Zapier or n8n. You pay only per minute of audio you get; anything that fails is free.

To try it, open the Actor, keep the example link and click Start.

Features

  • MP3 at 128, 192 or 320 kbps, or M4A (YouTube's own AAC audio, not re-encoded, so nothing is lost; the rare video without it is encoded to AAC at 128 kbps).
  • Tagged files. Each file carries the song's title, the artist and the video thumbnail as cover art, so it shows up properly in music players.
  • Direct download links. Every result has a link that works from any device or server for 6 hours. Optionally, the files are also saved in the run's storage.
  • Fast and reliable. Songs are usually ready in 15 to 40 seconds, many in under a second if someone converted them recently. If YouTube refuses one route, the Actor tries another by itself.
  • Cut any part. Keep only, say, minutes 10:00 to 16:00 of a podcast, and pay only for those 6 minutes.
  • Bulk conversion. Up to 1,000 links per run, 16 converted at once. Repeated links are converted once.
  • Videos up to 3 hours. Longer ones are skipped, free.
  • Fair billing. Per started minute of audio. Private, deleted or live videos, videos over 3 hours, and links that are not videos, cost nothing.

How to convert YouTube to MP3

  1. Paste one or more YouTube links (or video ids) into YouTube links, one per line.
  2. Choose MP3 or M4A, and for MP3 the bitrate. 192 kbps is the sweet spot.
  3. To keep only a part, fill in Start at and End at (for example 10:00 and 16:00).
  4. Click Start. Each file appears in the Output tab as soon as it is ready.
  5. Click a Download link, or export the list as JSON, CSV or Excel.

Accepted links: youtube.com/watch?v=…, youtu.be/…, youtube.com/shorts/…, youtube.com/live/… (after the stream has ended), music.youtube.com/watch?v=…, or the bare 11-character video id. Channel and playlist links are not supported yet.

Input

FieldWhat it doesDefault
YouTube linksVideos to convert, one per line (up to 1,000 per run)required
Formatmp3 or m4amp3
MP3 bitrate128, 192 or 320 kbps (MP3 only; the price is the same)192
Start atKeep the audio from this point: 10:00, 1:02:03 or seconds (600). Applies to every linkthe beginning
End atKeep the audio up to this pointthe end
Also save the files in the run's storageKeep a copy of each file (up to 50 MB) in the run's key-value storeoff
{
"urls": ["https://www.youtube.com/watch?v=K4DyBUG242c", "https://youtu.be/3nQNiWdeH2Q"],
"format": "mp3",
"bitrate": "192"
}

Output

One item per link, in the dataset (the Output tab):

{
"url": "https://www.youtube.com/watch?v=K4DyBUG242c",
"videoId": "K4DyBUG242c",
"status": "ok",
"title": "Cartoon, Jéja - On & On (feat. Daniel Levi) | Electronic Pop | NCS - Copyright Free Music",
"artist": "NoCopyrightSounds",
"durationSeconds": 208,
"billedMinutes": 0,
"format": "mp3",
"bitrate": 192,
"fileSizeBytes": 5012909,
"downloadUrl": "https://…/dl/pinned/K4DyBUG242c/192k.mp3?exp=…&sig=…",
"downloadUrlExpiresAt": "2026-11-21T03:00:00.000Z",
"storedFileUrl": null,
"thumbnailUrl": "https://i.ytimg.com/vi/K4DyBUG242c/hqdefault.jpg",
"errorCode": null,
"error": null
}

durationSeconds and billedMinutes are those of the file you get (of the cut, when you cut). The example video above (the input's prefill) is free in every format when not cut, so it shows billedMinutes 0; every other video is billed by its minutes.

A link that could not be converted has "status": "failed", an errorCode and a readable error, and is not charged:

errorCodeMeaning
PRIVATE, UNAVAILABLE, MEMBERS_ONLY, AGE_RESTRICTED, RESTRICTEDYouTube does not show the video to the public
LIVEA live stream or premiere that has not ended
TOO_LONGLonger than 3 hours (not supported)
REGIONBlocked in the countries we convert from
BAD_INPUTNot a YouTube video link or id, or Start at is past the end of the video
REFUSED, EXTRACT, DOWNLOAD, TIMEOUT, UNAVAILABLE_SERVICE, INTERNALTemporary; run the link again later

The download link works for 6 hours from any device. To get a fresh link later, run the same video again: within 7 days of the last conversion it is answered from cache in about a second.

How much does it cost?

You pay per started minute of audio delivered, whatever the format or bitrate.

EventPrice
Minute of audio (audio-minute)$0.0005
File saved in the run's storage (file-saved, only with the option on)$0.001
ExampleCost
One 4-minute song$0.002
1,000 songs of about 4 minutesabout $2
A 1-hour podcast$0.03
Minutes 10:00 to 16:00 of a 30-minute video$0.003
A private, deleted or too-long videofree

Set a maximum charge per run in the run options; the Actor stops cleanly when it is reached. On Apify's Free plan the Actor converts 25 files a month; any paid Apify plan has no limit.

Use it from code

Start a run and get the results in one call with the Apify API:

curl -X POST "https://api.apify.com/v2/acts/ttechx~youtube-to-mp3-downloader/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://www.youtube.com/watch?v=K4DyBUG242c"], "format": "mp3", "bitrate": "192"}'

The same works from the Apify Python and JavaScript clients, and from the Apify apps for Make, Zapier and n8n. Typical uses: podcast and lecture audio for offline listening, audio for transcription and AI pipelines, music libraries for apps, and voice-over or sample collection from your own channel.

FAQ

Is it legal to download audio from YouTube? Only download content you own or have permission to use, such as your own uploads, Creative Commons works or material whose owner allows it. YouTube's Terms of Service and copyright law apply to how you use the files; you are responsible for that use.

Why 192 kbps and not 320? YouTube streams audio at about 130 kbps. 192 kbps MP3 keeps all of it; 320 kbps only makes the file larger. For the best quality at the smallest size, choose M4A.

How long are files kept? The download link works for 6 hours. Our copy is kept for 7 days, so asking for the same video again within that time is instant. With Also save the files on, a copy also stays in the run's storage for as long as Apify keeps it.

What about long videos? Videos up to 3 hours are converted; longer ones are skipped for free. To get part of a long video, use Start at and End at.

Something failed or looks wrong? Temporary failures are free; run the link again a little later. For anything else, open an issue in the Issues tab or write to @ttech_support_official on Telegram.