Converting YouTube to mp3 in itself will not be unlawful. Having said that In case the YouTube file consists of substance that has copyrights, and you also are redistributing it with out consent it could be illegal and is your decision to be answerable for managing the rights around the https://www.diigo.com/item/note/a5xhu/9vwg?k=3201fba7963cfeb1e10123b331d16ee6