Google Photos does it for you. Very handy a few years ago, I took a picture of the private wifi password backstage at a bar I used to work at, lost the saved login when I swapped phones. Searched my photos for "Thunderbird" and boom... a picture of text saying "Thunderbird private WIFI password".