Open Safari (or another app; see below) and take one screenshot of any screen, then immediately tap on the thumbnail preview. Above the screenshot will be two options: "Screen" and "Full Page".
Selecting "Full Page" will turn the entire document you are viewing into a PDF file that you can then save and manipulate in the Files app.
Note 1: The feature works in Safari, Pages, Numbers, Keynote, Mail, or Apple Maps. Note 2: Works on iPhone and iPad, iOS 13 and later.
My latest blog post: Ask Doctor Google: Do I not trust doctors? Well, to some extent I do, but I would prefer an AI any day! (posted 2026-05-06).