A fast and beautiful YouTube to MP3 converter web application built with Next.js 14, Tailwind CSS, and RapidAPI.
Before running the application, make sure you have your RapidAPI credentials ready.
- Subscribe to YouTube to MP3 API on RapidAPI Hub.
- Create a
.env.localfile in the root directory. - Add your API key and host:
RAPIDAPI_KEY=your_key_here
RAPIDAPI_HOST=youtube-mp36.p.rapidapi.com- Install dependencies:
npm install- Start the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
- Dark theme inspired by YouTube
- Center hero section with title and subtitle
- Input field with auto-trim on paste and blur, URL validation, and glowing focus borders
- Modern animated Loading and Converting states
- Full success view with video thumbnail, title, rounded file size, and primary download button
- Proper error handling with descriptive states
- Backend running RapidAPI conversion for high reliability and speed.
- Small footprint with no local binary dependencies.