who does Hermione end up with?
Hermione ends up with Ron Weasley. They marry, and in the epilogue they are seeing their daughter Rose off to Hogwarts. Wizarding World says they "seem very much in love," bickering all the way.
Harry marries Ron's sister Ginny. The only people Harry ever shows romantic interest in are Cho Chang and Ginny.
why do fans think Harry and Hermione could be a couple?
Other characters assumed it. In Goblet of Fire, Rita Skeeter writes a gossip story about Harry and Hermione, and Ron is upset. Harry barely reacts. He is more worried that Ron won't talk to him.
In Deathly Hallows, the locket Horcrux works on Ron's worries about the two of them. The tent scenes also give fans something to read into. In the first Deathly Hallows film, Harry and Hermione dance to "O Children."
what did J.K. Rowling say?
In a 2014 interview with Wonderland magazine, Rowling said she wrote the Hermione and Ron relationship as wish fulfilment. She also said she felt the pull of Harry and Hermione while writing the tent scene in Hallows. She said the attraction between Ron and Hermione was plausible, but she wasn't sure the fighting could survive an adult relationship, and that "in some ways" Harry and Hermione are a better fit.
She ended with a joke that Ron and Hermione might be fine with "a bit of counseling."
are Harry and Hermione still friends?
Yes. In the epilogue, Harry, Ron, Hermione and Ginny are all at King's Cross, seeing their kids off together. Hermione is the one who stuck with Harry through the last stretch of the Horcrux hunt.