You do not necessarily need an attorney to write a will, but it is recommended. A will, or last will and testament, dictates how your property, finances, and custody of children is handled after you die. An attorney charges roughly the same as online will-writing software for simple wills and provides more peace of mind.
Writing a will yourself costs $0 to $20 for simple online forms or $100 to $250 for will-writing software. This option is best for basic wills with no minor children or complex assets. DIY wills carry the risk of not conforming to local probate laws, which may result in a loss of assets for your beneficiaries.