In 2024 youYou can do this 3 viable ways:
Export with the built-in glTF addon bundled with Blender and then use a WebGL library which can load such assets, Three.js for example. This option requires some JavaScript coding skills to setup a web application and write basic logic to control the camera, setup lighting, etc. Tedious but completely free.
Use Verge3D addon for Blender. This won't require any coding but will cost you $290. It implements various extensions to glTF standard which include more native information about Blender's datablocks, such as materials, cameras, lights, HDRIs, animations, etc. This tool is around since 2017 and keeps compatibility with latest Blender versions.
If you just want to check out a model quickly and not anything else, there are bunch of drag-and-drop glTF viewers out there (e.g Google's Model Viewer). Basically once you upload a glTF asset, it will generate a code for embedding into a web page. Of course this is just a viewer, so no interactivity other than 360 rotating by mouse and basic animation playback.