In AdventureQuest Worlds, there isn't a built-in option to change your character's name.
In the original AdventureQuest, though, there's a workaround: after your character dies, click the hourglass near the "Death" prompt. That kicks off a quest, and completing it can reward you with a name change. It's an unusual route, but it's how many players managed to rebrand their hero.