A bit late, but in case there are others that is concerned and do not know: Pathfinder(2), including absolutely all official rules content is completely free to play! The book contains a lot of pretty art, better layouting, examples and such. But all the important text, including the "educational" bits are available online.I just checked out the costs of the Pathfinder Core Rulebook

(Dungeons & Dragons)
Rulebook featuring "high magic" options, including a host of new spells.