Harry Potter series:
* Harry Potter and the Philosopher's Stone (1997)
* Harry Potter and the Chamber of Secrets (1998)
* Harry Potter and the Prisoner of Azkaban (1999)
* Harry Potter and the Goblet of Fire (2000)
* Harry Potter and the Order of the Phoenix (2003)
* Harry Potter and the Half-Blood Prince (2005)
* Harry Potter and the Deathly Hallows (2007)
Other books written under J.K. Rowling:
* The Casual Vacancy (2012) - a novel for adults
* Fantastic Beasts and Where to Find Them (2001) - originally published as a textbook within the Harry Potter universe, later expanded into a standalone novel.
* Quidditch Through the Ages (2001) - another textbook within the Harry Potter universe, later expanded into a standalone novel.
* The Tales of Beedle the Bard (2008) - a collection of fairy tales within the Harry Potter universe.
* The Cuckoo's Calling (2013) - a crime novel written under the pseudonym Robert Galbraith.
* The Silkworm (2014) - a crime novel written under the pseudonym Robert Galbraith.
* Career of Evil (2015) - a crime novel written under the pseudonym Robert Galbraith.
* Lethal White (2018) - a crime novel written under the pseudonym Robert Galbraith.
* Troubled Blood (2020) - a crime novel written under the pseudonym Robert Galbraith.
* The Ink Black Heart (2022) - a crime novel written under the pseudonym Robert Galbraith.
Other works:
* The Christmas Pig (2021) - a children's novel
* The Ickabog (2020) - a children's novel
* Several screenplays for the "Fantastic Beasts" film series.
Please note that this list includes all the books published under J.K. Rowling's name, including her pseudonym Robert Galbraith.