Skip to content

Web application that allows users to extract audio from YouTube videos and download it directly to their device in MP3 format using React,Tailwind,Nodejs,Express

Notifications You must be signed in to change notification settings

Jeffrin2005/Youtube-To-MP3-Downloader

Repository files navigation

YouTube to MP3 Downloader

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.

Getting Started

1. Clone the repository

git clone https://github.com/Jeffrin2005/Youtube_To_MP3_Downloader.git

2. Install dependencies (root directory)

npm install

3. Install backend dependencies (if not already)

cd server
npm install
cd ..

4. Install yt-dlp (required for backend)

  • Recommended:
    • Download the yt-dlp binary and place it in your PATH
    • Or install via Python:
      pip install -U yt-dlp

5. Start the backend server

npm run server

6. Start the frontend React app (in a new terminal)

npm start

v1.mp4

Usage

  • Enter a YouTube video URL and click "Convert to MP3".
  • Wait for the progress bar to complete.
  • Download the MP3 file when ready.

Tech Stack

  • Frontend: React, Tailwind CSS
  • Backend: Node.js, Express, ytdl-core, youtube-dl-exec (yt-dlp), fluent-ffmpeg, ffmpeg-static, sanitize-filename

Notes

  • Make sure yt-dlp is installed and available in your system PATH for the backend to work.
  • FFmpeg is bundled via ffmpeg-static.

About

Web application that allows users to extract audio from YouTube videos and download it directly to their device in MP3 format using React,Tailwind,Nodejs,Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published