Downloading Youtube videos for converting them into MP3 format does not come in illegal activity but using it for a commercial purpose is not legal. Because using copyright content without the permission of the concerned person is illegal according to the law.