A full-stack web app to convert YouTube videos to MP3 audio files. Built with React (frontend) and Node.js/Express (backend) using yt-dlp and ffmpeg for audio extraction.
git clone https://github.com/Jeffrin2005/Youtube_To_MP3_Downloader.gitnpm installcd server
npm install
cd ..- Recommended:
- Download the yt-dlp binary and place it in your PATH
- Or install via Python:
pip install -U yt-dlp
npm run server- Runs on http://localhost:8000
npm start- Runs on http://localhost:3000
v1.mp4
- Enter a YouTube video URL and click "Convert to MP3".
- Wait for the progress bar to complete.
- Download the MP3 file when ready.
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express, ytdl-core, youtube-dl-exec (yt-dlp), fluent-ffmpeg, ffmpeg-static, sanitize-filename
- Make sure
yt-dlpis installed and available in your system PATH for the backend to work. - FFmpeg is bundled via
ffmpeg-static.