The recently released version 3.3 of the open-source X3D editor X3D-Edit now supports exporting X3D scenes fto X3DOM/xhtml.
Get the latest version here:
https://savage.nps.edu/X3D-Edit/