Formal-Korean has many forms of verb.
maybe, no one can generalize all at once.
but most of situations '~요' is common.
ex.
verb -> informal -> formal
하다 -> 해 -> 해요
ex. 사랑해요
though there are many exceptions, you can do practice and get more information with italki.