Although the entire Harry Potter franchise is focused on the constant battle between its titular character and the darkest dark wizard of all time, Lord Voldemort, the story as a whole is very much about the philosophical and moral battle between good and evil. None of the characters in the series are absolutely good, and none of the characters are pure and unadulterated evil. Well, maybe only a few of them are pure and unadulterated evil.
But all of the characters in the series have their moral mettle tested over and over again, and throughout their journey in the Second Wizarding War their inherent moral natures seem to be revealed. Some of them are very good, some of them are very bad, and the vast majority of them are somewhere in the middle. So here are all of the main characters of Harry Potter, ranked in order of good to evil.
10 Rubeus Hagrid
If there was ever a completely unproblematic favorite character in the history of all fiction, then Rubeus Hagrid is that character. It's actually astounding that Hagrid was booted out of Hogwarts School of Witchcraft and Wizardry for suspicious behavior, because Hagrid doesn't have a bad or dishonest bone in his body and anyone who has known him for more than five minutes would know how consummately good and trustworthy he really is.
Hagrid is the definition of a gentle giant, and his love for absolutely everyone and everything is the kind of attitude that should inspire everyone and make them wish that they had a Hagrid in their lives.
9 Neville Longbottom
Rubeus Hagrid may be the sweetest man in the entire Harry Potter universe, but Neville Longbottom has undoubtedly given him a run for his money. Neville Longbottom ultimately proved himself to be a true Gryffindor and worthy of the Gryffindor sword. He truly embodies everything that is good about a genuine Gryffindor.
Neville is brave and courageous, but he is still unfailingly kind and wishes harm on no one. He will only fight when he knows he's fighting for what is right, and he will defend his friends until the very end. And even if someone he loves is gone, he tries to be his best self to honor their memory.
8 Harry Potter
Harry Potter is clearly a character with some flaws, but there is no denying that he is a much better person than the vast majority of people ever could hope of being.
When Harry was confronted with the fact that he alone was destined to fight the most powerful dark wizard of all time, and he very well may die in that fight, he didn't run away or try to deny that reality as most people would. And even after a childhood of being tortured and abused by his only family members and caretakers, Harry was still a kind boy who thought the good in the world was worth fighting for.
7 Hermione Granger
When most people think of the kind of best friend that they would like to have, a ride or die pal like Hermione Granger is undoubtedly what most people hope to have at least once in their lives. And Hermione is absolutely one of the kindest and most benevolent characters in the series, she is one of the few witches in the Wizarding World who cares for and fights for all sentient beings.
But Hermione also has a clear dark side. There is nothing truly bad or evil about her, but she will do whatever sneaky or wily things she must do in order to win the Wizarding War.
6 Ron Weasley
Ron Weasley and Harry Potter were great friends right off the bat, and not long after knowing one another they were more like brothers than best friends. And there is no denying that Ron would fight and die right alongside Harry, and he would probably die in Harry's place if he could.
But Ron is also someone who can sometimes waver in his feelings and emotions, so there were occasions that he would turn on the people around him when they didn't really deserve it. Ron is absolutely a heroic and brave wizard who ultimately does the right thing, but sometimes it takes him a bit longer to get to the right thing.
5 Luna Lovegood
This is hardly a criticism of Luna, because she is still braver and more heroic than 99% of the witches and wizards who ever lived, however, in comparison to her compatriots in the Harry Potter series, it would seem like the rest of the squad is just slightly more devoted to the downfall of Voldemort and of all dark wizards than Luna is.
She's a teenage girl, so it makes sense that she wouldn't just drop out of school so she could accompany the golden trio on the Horcrux hunt, but that still clearly demonstrates that her devotion to fighting for what's right is just a little less than a lot of the people she knows.
4 Albus Dumbledore
It's weird to say that Albus Dumbledore is on the darker side of the good vs. evil spectrum than a lot of the characters that came before him on this list, but, honestly, it seems like Dumbledore often times let his intellectual curiosity and desire to explore the world of magic get ahead of what he should have known was right.
Firstly with Grindelwald, he somehow managed to fall in love with one of the worst dark wizards who ever lived and he didn't step in to stop him when things got messy. And again, when he met young Tom Riddle, he seemed to have an inkling that the boy had some darkness in him but Tom's impressive power seemed to override that instinct.
3 Draco Malfoy
Calling Draco Malfoy evil seems like a bit of a stretch, but he hasn't really done enough good things in life to warrant calling him good either. Ultimately Draco just seems to be weak more than anything, and he was raised by two dark wizards who taught him all the wrong values. When he found himself way in over his head, he obviously felt like there was too little that he could do about it and it was too late anyway.
But, with that said, feeling trapped and being given orders by a superior to kill people isn't a very good excuse for attempting to murder your teachers and classmates.
2 Severus Snape
Severus Snape may have been one of the greatest heroes in the Second Wizarding War, but let's not forget that he was a literal Death Eater in the First Wizarding War, not to mention the fact that he only changed his mind on the good vs. evil debate when his evil ways got his best friend killed.
Severus Snape ultimately did the right thing in the end, but it wasn't for the sincere reasons that many of the other characters were driven to fight for. Severus paid penance for all of the horrible things that he had done in the past, but the very fact that he had something to make up for says a lot about his character.
1 Lord Voldemort
Honestly, who else could be the most evil character in the entire Harry Potter franchise? Frankly, Lord Voldemort himself would be personally offended if he wasn't considered the evilest man in the history of the wizarding world, and his evil deeds are a point of pride for him.
One of the main themes of Harry Potter is that love is the most powerful magic of all. And Tom Riddle was conceived by his mother and father when his father was under the influence of a love potion, which in turn seems to have given Voldemort an inability to love. There is nothing more pure evil in the HP world than a complete absence of love.