Is the transfer of creditor's rights of online loan companies legal?

Legal. According to the provisions of Article 84 of the Contract Law, as long as the online loan creditor's rights are legal and valid and can be transferred with the consent of the creditor, its transfer behavior is legal. Online lending is the abbreviation of online lending, including personal peer-to-peer lending and commercial peer-to-peer lending.