It is against YouTube's terms of service to download or convert videos without the owner's permission. However, for personal use only, it is generally considered legal.