Member-only story

Export Google Colab Notebook as HTML Webpage

Export HTML from Colab without additional tools.

Joe T. Santhanavanich
3 min readFeb 13, 2022
images by Author

Google Colab (Collaboratory)[1] is a (Swiss Army Knife) Jupyter Notebook IDE that most data scientists or Python users know of. It comes with free access to GPU and TPU. All you need is a Google Account to get started with. I usually recommend people to get started and learn Python by using the Jupyter Notebook with Colab. After you are done with the Colab project, it is nice to share your awesome work and your research finding with people. In this article, I would like to recommend one way to share Colab's work on your own web page as an HTML file. This method also works with any IPYNB file even if you did not use the Colab to write the script.

Step 1: Locate the IPYNB file and Copy Path

In the Colab, just browse the file panel. If you already sync the G-Drive to your Colab, usually the IPYNB directory is located in content/drive/MyDrive/Colab Nodebooks/... After finding the IPYNB file, right-click on it, and click “Copy path” as shown in fig 1.

fig 1: Locate the IPYNB file and Copy Path. (by Author)

--

--

Joe T. Santhanavanich
Joe T. Santhanavanich

No responses yet