I’ve always considered that texting “hehe” is a light chuckle, a “heh heh” sound; “hehehe” is more of a giggle, whether coy or creepy; and any more “he”s than that delves into witchy cackling territory.
But “haha”, “hahaha”, and “hahahaha”, all “sound” the same to me and the meaning only varies in intensity but is more context dependent.


heh - slight laugh
hehe - mischieveous
hehehe - genuine laugh
hehehehe - Lois, this is Family Guy
“Hey Lois, I’m text based!”