Hi,
you can use the tensorflowjs_converter especially for that task.
  
      

      TensorFlow
  

  
    

Importing a TensorFlow GraphDef based Models into TensorFlow.js



  

  
    
    
  

  


Tipp: Try ServiceWorkers for your WebApp (PWA), they give the opportunity to preload models in the background and use them offline too …
  
      

      Google Developers
  

  
    

Service Workers: an Introduction  |  Web Fundamentals 1

  Rich offline experiences, periodic background syncs, push notifications—functionality that would normally require a native application—are coming to the web. Service workers provide the technical foundation that all these features rely on.