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: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25).