Youtube To Mp3 Script

High quality youtube to mp3 conversion script integration without a hassle.

Script integration API integration
* details generated by random-name-generator.com


Youtube Download Button Generator
(youtube url or id, make sure it is urlencoded)
This text will be appended to the file name of the song
Recordmp3.co does not have predefined languages, but it allows to change some texts.
Show available translations
Copy This code to your website:

How to integrate a Popup?
<head>
    ...
    <script src="//www.youtubemp3script.com/api/youtubemp3script-v2.js"></script>
</head>
First of all you need to include javascript file in your page header. This library was made as small as possible and it will not impact your page load time.
Optional: You can download script from the following location https://www.youtubemp3script.com/api/youtubemp3script-v2.js and store it on your own server.

Usage
<a href="//recordmp3.co/#/watch?v=YOUTUBE_ID"
   onClick="return YoutubeMp3Script(this)">
    Download MP3
</a>

When script is added, you can add as many youtube to mp3 download links as you want. You only need to edit following attribute:
YOUTUBE_ID - set youtube video id or encoded youtube url.

<a href="//recordmp3.co/#/watch?v=WQlIi1y1Ngs" onClick="return YoutubeMp3Script(this)">Download MP3</a>

Example with encoded youtube url:

<a href="//recordmp3.co/#/watch?v=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWQlIi1y1Ngs"
   onClick="return YoutubeMp3Script(this)">
    Download MP3
</a>

Try it: Download MP3

Note - https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWQlIi1y1Ngs is encoded youtube url of https://www.youtube.com/watch?v=WQlIi1y1Ngs.
You can use this tool, to encode url online: https://meyerweb.com/eric/tools/dencoder/
Or use php urlencode function on serverside https://www.php.net/urlencode/

Can I integrate it simpler?

Yes! You can skip all the scripts and let users download with a simple link.

<a href="//recordmp3.co/#/watch?v=YOUTUBE_ID">Download MP3</a>

YOUTUBE_ID - set youtube video id or encoded youtube url here

You can also open link in a new tab by adding target="_blank" attribute.

<a href="//recordmp3.co/#/watch?v=WQlIi1y1Ngs" target="_blank">Download MP3</a>

Can I use Youtube To MP3 API?

API allows you to check, if specific youtube video was converted on our servers. You can also schedule video for a conversion.
Calling api is as simple as sending GET request.
It can provide details such as:

{
    "status": "ok",
    "id": "7N8b3NZSJoY",
    "title": "Steve Jobs FUNNIEST moments (1978-2011)",
    "thumbnail": "https:\/\/i.ytimg.com\/vi\/7N8b3NZSJoY\/hqdefault.jpg",
    "length": 457,
    "artist": "EverySteveJobsVideo",
    "categories": "People & Blogs",
    "bitrate": "148",
    "average_rating": "4.917",
    "view_count": "539540",
    "progress": 100,
    "ready": true,
    "expires": 1468761047,
    "url": "\/\/example.com\/download\/steve-jobs-funniest-moments-1978-2011.mp3?id=7N8b3NZSJoY&title=Steve+Jobs+FUNNIEST+moments+%281978-2011%29&t=1468746647&extra=a&h=2be5e2dc...",
    "video_url": "\/\/example.com\/download\/video\/steve-jobs-funniest-moments-1978-2011.mp3?id=WQlIi1y1Ngs&title=Steve+Jobs+FUNNIEST+moments+%281978-2011%29&t=1468746647&extra=a&h=2be5e2dc..."
}
                

See our list of available youtube to mp3 api integrations we found on the internet: Youtube to mp3 api


Any questions?

Don't want ads? Or you don't like waiting in a queue for a video to be converted? Please contact recordmp3.co. youtubemp3script.com is not related with this site in any way.

Please contact us at info@youtubemp3script.com if:

  • You want your script featured here.
  • You have any questions or you have troubles while trying to integrate any of these scripts