Changing YouTube to mp3 in itself just isn't illegal. On the other hand if the YouTube file has product which includes copyrights, and you also are redistributing it with no consent it might be unlawful and is particularly up to you to get responsible for handling the rights about the https://www.diigo.com/item/note/a5xhu/9vwg?k=3201fba7963cfeb1e10123b331d16ee6