ChatGPT, Claude or Gemini writes you a landing page, a report or a small dashboard as one HTML file. You want to see it as a page before you trust it, and then often show it to someone who will not open a code block.
Here is how to do both, from the fastest local check to sending a link.
See it locally
Save the code as page.html and double-click it. Your browser opens it from disk at a file:// address. This is enough to check that it renders, and it is completely private.
Two limits: the page only exists on your machine, so you cannot send that address to anyone; and some features (fetching data, certain module scripts) behave differently from file:// than from a real web address.
See it without saving anything
If you do not want files piling up in Downloads, paste the code into an online HTML viewer.…