Drag an .html file anywhere on this page, or
No signup. No build step. The link works immediately.
Your HTML is hosted exactly as you wrote it — nothing is rewritten or restyled.
Double-clicking an HTML file opens it over file://, which is not the same thing as a real page on https://. Plenty of things quietly break there: loading external resources runs into cross-origin rules, fetch and some JavaScript fail outright, and fonts or images on relative paths tend to go missing. Phones are worse — most mobile browsers cannot open a local file at all. Publishing a link just puts the page back in the environment it was written for.
Want to send it to someone? Try HTML to URL — same tool, framed around sharing.