HarperCollins has secured worldwide rights to release Tolkien's major works as electronic texts (eBooks).

The books are available from Amazon for the Kindle. All of the eBooks have Digital Rights Managment (DRM) associated with them, so they have limitations on what devices you can download them to, how many pages you can print, etc. All in all, though, this is a welcome way to have access to the books! (As Aelfwine mentioned, now you can legally search the text!)

https://www.tolkienguide.com/store/#ukebooks