Extract audio from YouTube videos. Paste a URL, download the audio in YouTube's native format (Opus/AAC).
Built with Nuxt 4, Vue 3, TypeScript, and NuxtUI v4.
- Paste a YouTube URL (watch, embed, shorts, youtu.be) or a bare video ID
- Click Extract — the server fetches video metadata and stream URLs
- Review the video info and click Download Audio
- Audio is saved in YouTube's native format (no MP3 transcoding)
pnpm install
pnpm dev| Command | Action |
|---|---|
pnpm dev |
Start dev server at localhost:3000 |
pnpm build |
Production build (Vercel preset) |
pnpm lint |
Run ESLint |
pnpm typecheck |
Run TypeScript checks |
vercel --prebuilt- The server creates an Android InnerTube session via
youtubei.js(cached withUniversalCache) - When a URL is submitted, it calls YouTube's private
/playerAPI endpoint (retries across 5 client types across 3 rounds with session resets) - Audio stream URLs are extracted and returned to the client
- Clicking Download Audio sends the CDN URL back to the server, which proxies the audio with proper Android User-Agent headers (exponential backoff on 429)
- If the CDN URL has expired or YouTube rejects it, the server re-extracts a fresh URL automatically